glsl2: Perform algebraic simplifications on logical binary operators
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 1 Sep 2010 17:13:21 +0000 (10:13 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 1 Sep 2010 17:25:11 +0000 (10:25 -0700)
commita35faa6a41eb8a240f8e6086853653e9a21e75bd
tree769ddc591cb6f645449c2ac7334470b27d66902e
parenta4262874f84e25412cb9bc53b3f1771e4017e27c
glsl2: Perform algebraic simplifications on logical binary operators

Reduces glsl-vs-all-01 from 42 Mesa IR instructions (including the
END) to 17.
src/glsl/ir_algebraic.cpp