glsl2: Move ir_expression_flattening to using the rvalue visitor class.
authorEric Anholt <eric@anholt.net>
Thu, 26 Aug 2010 07:07:58 +0000 (00:07 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 Aug 2010 07:15:18 +0000 (00:15 -0700)
commit9fd2a8d6923a8a7218a714622586bb1dbaaebad5
treea15cc9b03f830f542e13ff85c3ce7221892c936a
parentc735d85395f8f0c0a71b04ebc728390970271fe2
glsl2: Move ir_expression_flattening to using the rvalue visitor class.

The previous implementation was missing handling of some rvalues, such
as "if" conditions, leading to glsl-mat-int-from-ctor-* not getting
caught.
src/glsl/ir_expression_flattening.cpp