glsl: Fix assertion failure on handling switch on uint expressions.
authorEric Anholt <eric@anholt.net>
Mon, 14 May 2012 15:51:03 +0000 (08:51 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 17 May 2012 17:05:24 +0000 (10:05 -0700)
commit9c4e9ce051bb43861adb4f8cd8e88a733c2f3ed1
treeea43393406b7d73a2e02c448ab7fe35dc9c3749e
parentbbbc7c7d566905920967f56648fc26abcb37f4a1
glsl: Fix assertion failure on handling switch on uint expressions.

Fixes piglit glsl-1.30/execution/switch/fs-uint.

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