ir_constant_expression: Implement equal/notEqual for booleans.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 18 Aug 2010 19:06:25 +0000 (12:06 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 Aug 2010 19:08:19 +0000 (12:08 -0700)
commitd12cb77d85ec726a67c2099c4105df63829b45a4
treee59807ef95f717477e9c9c8f0fce065815693e2a
parentd442a01ac14382d83cdaac87d2832315ceb3e963
ir_constant_expression: Implement equal/notEqual for booleans.

Calls to equal(bvec, bvec) or notEqual(bvec, bvec) previously caused an
assertion.  Fixes piglit tests glsl-const-builtin-equal-bool and
glsl-const-builtin-notEqual-bool.
src/glsl/ir_constant_expression.cpp