glsl: Add ir_variable::is_in_uniform_block predicate
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 14 Dec 2012 20:00:14 +0000 (12:00 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:34 +0000 (09:07 -0500)
commit13be1f4a103802ed936f2374d72b2f6979dafd58
tree636053ac19725220449afbcb65310ec99e1c1ddf
parent17e6f1904444be019cafa208495e3fe479cb86fd
glsl: Add ir_variable::is_in_uniform_block predicate

The way a variable is tested for this property is about to change, and
this makes the code easier to modify.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Carl Worth <cworth@cworth.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir.h
src/glsl/link_uniforms.cpp
src/glsl/linker.cpp
src/glsl/lower_ubo_reference.cpp
src/glsl/opt_dead_code.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/program/ir_to_mesa.cpp