glsl2: Flatten out expressions that are the child of an assignment rhs.
authorEric Anholt <eric@anholt.net>
Mon, 12 Jul 2010 17:48:22 +0000 (10:48 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 12 Jul 2010 19:02:32 +0000 (12:02 -0700)
commit5723e5bb8b73cd2a3b77d750972e3d0b4d0d0ff8
tree686153f4fdf97b398ce1d443171a9995ea1c04ee
parentd2afc874452a84965ee71c96f80e1d124c211ff4
glsl2: Flatten out expressions that are the child of an assignment rhs.

This feels a little odd, but it will be useful for ir_mat_to_vec,
where I want to see a plain assignment of the expression to a
variable, not to a writemasked array dereference with a call as the
array index.
src/glsl/ir_expression_flattening.cpp