glsl: Perform type checking on "^^" operands.
authorEric Anholt <eric@anholt.net>
Sun, 10 Apr 2011 00:57:17 +0000 (14:57 -1000)
committerEric Anholt <eric@anholt.net>
Thu, 14 Apr 2011 00:57:43 +0000 (17:57 -0700)
commit756c262756b2434efeb2c2a33a180fda0757a6e5
treebf74d1e011039afe73da3de0f8267b77778bfe5c
parent175829f1a8ab0df7594131cc569462e45c1974ec
glsl: Perform type checking on "^^" operands.

We were letting any old operand through, which generally resulted in
assertion failures later.

Fixes array-logical-xor.vert.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp