glsl2: Add a pass for converting if statements to conditional assignment.
authorEric Anholt <eric@anholt.net>
Mon, 19 Jul 2010 16:36:43 +0000 (09:36 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 19 Jul 2010 17:21:38 +0000 (10:21 -0700)
commit29ce44ad2b8d37ea54923f1d1856b44ef26903e5
tree1381ecdb583f49d372e2c040da7b24bf1b6c68e7
parentd16044ad4d6176fec6164f96450a25f76b7677f1
glsl2: Add a pass for converting if statements to conditional assignment.

This will be used on 915 and similar hardware of that generation.
src/glsl/Makefile
src/glsl/ir_if_to_cond_assign.cpp [new file with mode: 0644]
src/glsl/ir_optimization.h