diff options
author | Ian Romanick <[email protected]> | 2010-03-29 15:20:42 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-03-29 15:20:42 -0700 |
commit | 5185a5f7d5654c9202c226015c4daeee43d9b897 (patch) | |
tree | 903ae4b09d0368ff77b2a2fee746bb813025ec08 /glsl_parser_extras.cpp | |
parent | 6e659caaa946339a2de3890a8bed091ccb65102a (diff) |
Add generate_temporary to generate an anonymous temporary
Diffstat (limited to 'glsl_parser_extras.cpp')
-rw-r--r-- | glsl_parser_extras.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp index d57a68efb75..1ddc2ee9ddd 100644 --- a/glsl_parser_extras.cpp +++ b/glsl_parser_extras.cpp @@ -634,6 +634,7 @@ main(int argc, char **argv) make_empty_list(& state.translation_unit); state.symbols = new glsl_symbol_table; state.error = false; + state.temp_index = 0; _mesa_glsl_lexer_ctor(& state, shader, shader_len); _mesa_glsl_parse(& state); |