summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/glcpp.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-07 04:49:13 +0200
committerMarek Olšák <[email protected]>2016-10-31 11:53:38 +0100
commit47e17586924f6858a29b1bf81cbcba0dd0b21617 (patch)
treea78c197a85a2c05a558fc7e4b12d0f84f376c73d /src/compiler/glsl/glcpp/glcpp.h
parent6608dbf540c3724f8cc20619ef3ffb23257dc721 (diff)
glcpp: use the linear allocator for most objects
v2: cosmetic changes Tested-by: Edmondo Tommasina <[email protected]> (v1) Reviewed-by: Nicolai Hähnle <[email protected]> (v1)
Diffstat (limited to 'src/compiler/glsl/glcpp/glcpp.h')
-rw-r--r--src/compiler/glsl/glcpp/glcpp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/glcpp.h b/src/compiler/glsl/glcpp/glcpp.h
index cab4374c5e5..bb4ad67f28b 100644
--- a/src/compiler/glsl/glcpp/glcpp.h
+++ b/src/compiler/glsl/glcpp/glcpp.h
@@ -181,6 +181,7 @@ typedef void (*glcpp_extension_iterator)(
bool es);
struct glcpp_parser {
+ void *linalloc;
yyscan_t scanner;
struct hash_table *defines;
active_list_t *active;