summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.h
diff options
context:
space:
mode:
Diffstat (limited to 'glsl_parser_extras.h')
-rw-r--r--glsl_parser_extras.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/glsl_parser_extras.h b/glsl_parser_extras.h
index 55bcc72e94..125c675a92 100644
--- a/glsl_parser_extras.h
+++ b/glsl_parser_extras.h
@@ -61,6 +61,10 @@ struct _mesa_glsl_parse_state {
/** Loop or switch statement containing the current instructions. */
class ir_instruction *loop_or_switch_nesting;
+ /** List of structures defined in user code. */
+ const glsl_type **user_structures;
+ unsigned num_user_structures;
+
/**
* \name Enable bits for GLSL extensions
*/