diff options
author | Ian Romanick <[email protected]> | 2016-08-09 14:31:49 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-08-10 16:42:02 -0700 |
commit | eda6349346616f3a45ca2d03e2c1a3da956df6b3 (patch) | |
tree | 18103a1baa3bac24fe35b75d722338bf7d670f3a /src/compiler/glsl/glcpp/glcpp.h | |
parent | 30e5ff706789823145c51313870c87bffab6943f (diff) |
glcpp: Track the actual version instead of just the version_resolved flag
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/compiler/glsl/glcpp/glcpp.h')
-rw-r--r-- | src/compiler/glsl/glcpp/glcpp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glcpp/glcpp.h b/src/compiler/glsl/glcpp/glcpp.h index 07eaf684bee..9f35b0556c3 100644 --- a/src/compiler/glsl/glcpp/glcpp.h +++ b/src/compiler/glsl/glcpp/glcpp.h @@ -206,7 +206,7 @@ struct glcpp_parser { glcpp_extension_iterator extensions; void *state; gl_api api; - bool version_resolved; + unsigned version; bool has_new_line_number; int new_line_number; bool has_new_source_number; |