diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-29 15:20:42 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-29 15:20:42 -0700 |
commit | 5185a5f7d5654c9202c226015c4daeee43d9b897 (patch) | |
tree | 903ae4b09d0368ff77b2a2fee746bb813025ec08 /glsl_parser_extras.h | |
parent | 6e659caaa946339a2de3890a8bed091ccb65102a (diff) |
Add generate_temporary to generate an anonymous temporary
Diffstat (limited to 'glsl_parser_extras.h')
-rw-r--r-- | glsl_parser_extras.h | 3 |
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 { |