glsl: Fix assertion checking types of constant bitshift expressions.
authorEric Anholt <eric@anholt.net>
Tue, 27 Sep 2011 21:27:58 +0000 (14:27 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 28 Sep 2011 19:09:09 +0000 (12:09 -0700)
commit344f94bb006188931b09939aafc7cc96609c4f5a
tree9c6a97137b1369f5005233deaf1b3995d4dae22f
parent1d59de1456ba55d32bbe0c0ae45a9358e31e1cd2
glsl: Fix assertion checking types of constant bitshift expressions.

Bitshifts are one of the rare places that GLSL allows mixed base types
without an implicit conversion occurring.

Reviewed-by: Chad Versace <chad@chad-versace.us>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_constant_expression.cpp