glsl: Never put ir_var_temporary variables in the symbol table
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 9 Jul 2014 01:53:09 +0000 (18:53 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Sep 2014 20:34:42 +0000 (13:34 -0700)
commita99482482d74ba654d8ec15d0a09e5b3cb0160e9
treed4723379eb3ae1fd4472c558031b2e302a15d7a9
parent7625babfae6c5e86ab349c1a081816fbbcc48d17
glsl: Never put ir_var_temporary variables in the symbol table

Later patches will give every ir_var_temporary the same name in release
builds.  Adding a bunch of variables named "compiler_temp" to the symbol
table can only cause problems.

No change Valgrind massif results for a trimmed apitrace of dota2.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ast_to_hir.cpp
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_symbol_table.cpp
src/glsl/linker.cpp
src/glsl/lower_packed_varyings.cpp