glsl: Add the possibility for ir_variable to have a non-ralloced name
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 8 Jul 2014 23:57:33 +0000 (16:57 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Sep 2014 20:34:42 +0000 (13:34 -0700)
commit7625babfae6c5e86ab349c1a081816fbbcc48d17
treec7e04493ac25f718bbebab5f62d206c9841ab5c6
parent0e654ab1b9a20671f755cbe71fe51ff6ec849459
glsl: Add the possibility for ir_variable to have a non-ralloced name

Specifically, ir_var_temporary variables constructed with a NULL name
will all have the name "compiler_temp" in static storage.

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/ir.cpp
src/glsl/ir.h
src/glsl/ir_validate.cpp