glsl: Handle constant expressions involving ir_binop_equal/nequal.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Nov 2011 08:58:21 +0000 (00:58 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Nov 2011 06:51:20 +0000 (22:51 -0800)
commita17a78a212be10fe3a9a330f3861d771e92d9074
tree036a18004c1c3a15e65dae54f9fa10947ff3be4f
parent83d0514f1fc5f747a4bf4c900338a47a17f86e4a
glsl: Handle constant expressions involving ir_binop_equal/nequal.

Constant expressions which called GLSL's equal() and notEqual()
built-ins on bvecs would hit an assertion failure; we simply forgot to
implement them for booleans.

NOTE: This is a candidate for stable release branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/glsl/ir_constant_expression.cpp