From 52caeee7e78c2bed0329dcb7a5984826fa5960a6 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 13 Jan 2016 14:40:05 +1100 Subject: glsl: add transform feedback built-in constants These are new built-ins added by ARB_enhanced_layouts. Reviewed-by: Dave Airlie --- src/compiler/glsl/glsl_parser_extras.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler/glsl/glsl_parser_extras.h') diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index 24195f97f18..86008b48519 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -383,6 +383,10 @@ struct _mesa_glsl_parse_state { /* ARB_draw_buffers */ unsigned MaxDrawBuffers; + /* ARB_enhanced_layouts */ + unsigned MaxTransformFeedbackBuffers; + unsigned MaxTransformFeedbackInterleavedComponents; + /* ARB_blend_func_extended */ unsigned MaxDualSourceDrawBuffers; -- cgit v1.2.3