summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-04-28 13:14:53 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-28 18:22:54 -0700
commita2c6df556655e3619f5a0cd82b0d11aac37c5692 (patch)
treeeab053c496c2fe13e1072b916bde8b7124eadee1 /glsl_parser_extras.h
parent36d8a64a95354d09685e65c5e721038ff81b6d1f (diff)
Track and print user defined structure types
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
*/