diff options
author | Marek Olšák <[email protected]> | 2016-10-07 17:37:04 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-10-31 11:53:38 +0100 |
commit | 2296bb09675e2031d75e11a96bf1ab0d0cc4bd38 (patch) | |
tree | 837cdc66b7dc15174e962822e5bbabc9f86fce0e /src/compiler/glsl/glsl_parser_extras.h | |
parent | 47e17586924f6858a29b1bf81cbcba0dd0b21617 (diff) |
glsl/lexer: use the linear allocator
Tested-by: Edmondo Tommasina <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.h')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index e50d08ad38c..53abbbc997f 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -333,6 +333,8 @@ struct _mesa_glsl_parse_state { exec_list translation_unit; glsl_symbol_table *symbols; + void *linalloc; + unsigned num_supported_versions; struct { unsigned ver; |