i965: Fold constants into the second arg of BRW_SEL as well.
authorEric Anholt <eric@anholt.net>
Thu, 18 Nov 2010 03:34:54 +0000 (11:34 +0800)
committerEric Anholt <eric@anholt.net>
Sat, 20 Nov 2010 01:42:07 +0000 (17:42 -0800)
commit602ae2441aaca6a652d3fc78114bb60852132f98
tree92efd71784b2255a739d90e35c5733f3587393c0
parentf9b420d3bda25ea517b66c5ee2c6bde4fdff3935
i965: Fold constants into the second arg of BRW_SEL as well.

This hits a common case with min/max operations.
src/mesa/drivers/dri/i965/brw_fs.cpp