summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-04-07 16:59:46 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-07 16:59:46 -0700
commitc77b257094b15e7c53b62cb50bfbcd7c5003f2a8 (patch)
tree84eb97b6fbdef4528a309c93ea95ad7f3c7eadcb /glsl_parser_extras.h
parent887a8b07deffa578b7d6540257a0c5f8c4d5d97c (diff)
Add support for GL_ARB_draw_buffers extension
Diffstat (limited to 'glsl_parser_extras.h')
-rw-r--r--glsl_parser_extras.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/glsl_parser_extras.h b/glsl_parser_extras.h
index 7759eda535..51e4eb89cc 100644
--- a/glsl_parser_extras.h
+++ b/glsl_parser_extras.h
@@ -59,6 +59,14 @@ struct _mesa_glsl_parse_state {
/** Loop or switch statement containing the current instructions. */
class ir_instruction *loop_or_switch_nesting;
+
+ /**
+ * \name Enable bits for GLSL extensions
+ */
+ /*@{*/
+ unsigned ARB_draw_buffers_enable:1;
+ unsigned ARB_draw_buffers_warn:1;
+ /*@}*/
};
typedef struct YYLTYPE {