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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/glsl_parser_extras.h b/glsl_parser_extras.h
index dbe7c17302..96c975ba11 100644
--- a/glsl_parser_extras.h
+++ b/glsl_parser_extras.h
@@ -53,6 +53,9 @@ struct _mesa_glsl_parse_state {
/** Was there an error during compilation? */
bool error;
+
+ /** Index of last generated anonymous temporary. */
+ unsigned temp_index;
};
typedef struct YYLTYPE {