glsl_to_tgsi: emit a MAD(b, -a, b) for !a && b
authorBryan Cain <bryancain3@gmail.com>
Sat, 20 Aug 2011 19:43:25 +0000 (14:43 -0500)
committerBryan Cain <bryancain3@gmail.com>
Sat, 20 Aug 2011 19:43:25 +0000 (14:43 -0500)
commit5379a70d3fabd9cf92a615647f81289d33ae9468
tree58e92526988532ceeb8acc3b1acc41b58dd2c7dc
parentc721d7b7bc70503d2ebb6c742be96371b68bd152
glsl_to_tgsi: emit a MAD(b, -a, b) for !a && b

This is a port of commit ff2cfb8989cd to glsl_to_tgsi.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp