Add support for GL_ARB_draw_buffers extension

This commit is contained in:
Ian Romanick
2010-04-07 16:59:46 -07:00
parent 887a8b07de
commit c77b257094
3 changed files with 54 additions and 6 deletions

View File

@@ -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 {