glsl: Make it possible to disable a variable in the symbol table.
authorPaul Berry <stereotype441@gmail.com>
Tue, 1 Oct 2013 23:33:56 +0000 (16:33 -0700)
committerPaul Berry <stereotype441@gmail.com>
Thu, 10 Oct 2013 21:27:27 +0000 (14:27 -0700)
commit3c83c96dcd1be26e24c07a3dff5df1ef84974901
treeff156706fe5b438dbc0a018d44e7e414cf0e3912
parent24b9bba19b6d1d48fd40ce6af537da806e45d53f
glsl: Make it possible to disable a variable in the symbol table.

In later patches, we'll use this in order to implement the required
behaviour that after the gl_PerVertex interface block has been
redeclared, only members of the redeclared interface block may be
used.

v2: Update the function name and comment to clarify that we aren't
actually removing the variable from the symbol table, just disabling
it.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glsl_symbol_table.cpp
src/glsl/glsl_symbol_table.h