glsl2: Validate that ir_if conditions are actually bool.
authorEric Anholt <eric@anholt.net>
Thu, 22 Jul 2010 23:24:49 +0000 (16:24 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 22 Jul 2010 23:24:49 +0000 (16:24 -0700)
commit432b787b29202301dbfc139c3289521b0bfc3dec
tree5c6e1dafcd892fb7cbfa48d3eff468e97080f575
parent85e93da18ca2c967ca12870b62ab1aac2f0b880c
glsl2: Validate that ir_if conditions are actually bool.
src/glsl/ir_validate.cpp