ir_constant_expression: Remove pointless use of variable_referenced.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Jul 2010 17:27:53 +0000 (10:27 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Jul 2010 00:10:05 +0000 (17:10 -0700)
commite4768eecd5da6f9e955aa7c3892810813623f0dc
tree436b3d5be642ac0cf03cf366f93e0177a7119d03
parent98f32a13bef1eef732304eb8e2781e08835ff69a
ir_constant_expression: Remove pointless use of variable_referenced.

ir_dereference_variable always references an ir_variable, so there's no
point in calling a function and NULL-checking the result.
src/glsl/ir_constant_expression.cpp