glsl: Simplify symbol table version checking.
authorPaul Berry <stereotype441@gmail.com>
Thu, 2 Aug 2012 00:44:02 +0000 (17:44 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 6 Dec 2012 20:13:21 +0000 (12:13 -0800)
commit53e572f15cb394a8d4f2cd5856dd2a06b6ccd3f0
tree4ea5a88d76cc8fff693b00747c3f526d60cea23b
parent9a93ba306878693d9157d204743a82becbd5d53e
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 <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Carl Worth <cworth@cworth.org>
src/glsl/ast_function.cpp
src/glsl/ast_to_hir.cpp
src/glsl/builtins/tools/generate_builtins.py
src/glsl/glsl_symbol_table.cpp
src/glsl/glsl_symbol_table.h