glsl: Make ir_variable::num_state_slots and ir_variable::state_slots private
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 15 May 2014 02:47:28 +0000 (19:47 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Sep 2014 20:34:42 +0000 (13:34 -0700)
commit5aa8d8194c4975876276a9c57cdd672978a491ad
tree700e5fdf988b1b1e0125c0ab2cc19da39e527db0
parent21df0169028d600b17ab73795da2838e92ba9038
glsl: Make ir_variable::num_state_slots and ir_variable::state_slots private

Also move num_state_slots inside ir_variable_data for better packing.

The payoff for this will come in a few more patches.

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>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/glsl/builtin_variables.cpp
src/glsl/ir.h
src/glsl/ir_clone.cpp
src/glsl/ir_validate.cpp
src/glsl/linker.cpp
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp