diff options
author | Paul Berry <[email protected]> | 2012-08-01 17:44:02 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-12-06 12:13:21 -0800 |
commit | 53e572f15cb394a8d4f2cd5856dd2a06b6ccd3f0 (patch) | |
tree | 4ea5a88d76cc8fff693b00747c3f526d60cea23b /src/glsl/builtins/tools/generate_builtins.py | |
parent | 9a93ba306878693d9157d204743a82becbd5d53e (diff) |
glsl: Simplify symbol table version checking.
Previously, we stored the GLSL language version in the
glsl_symbol_table struct. But this was unnecessary--all
glsl_symbol_table needs to know is whether functions and variables
have separate namespaces (they do in GLSL 1.10 only).
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Carl Worth <[email protected]>
Diffstat (limited to 'src/glsl/builtins/tools/generate_builtins.py')
-rwxr-xr-x | src/glsl/builtins/tools/generate_builtins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index 14a72fc07a5..3e8d4485580 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -183,7 +183,7 @@ read_builtins(GLenum target, const char *protos, const char **functions, unsigne new(sh) _mesa_glsl_parse_state(&fakeCtx, target, sh); st->language_version = 140; - st->symbols->language_version = 140; + st->symbols->separate_function_namespace = false; st->ARB_texture_rectangle_enable = true; st->EXT_texture_array_enable = true; st->OES_EGL_image_external_enable = true; |