i965/fs: Allow constant propagation into IF with embedded compare.
authorEric Anholt <eric@anholt.net>
Mon, 19 Dec 2011 17:20:57 +0000 (09:20 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 29 Dec 2011 17:33:56 +0000 (09:33 -0800)
commit069901e2f5a8f4a58047d25335f2526f1acc7234
treee6368b77a501aa49a05b5d6acbd928fc218ac2a6
parent6a1e19d0f63cb086e43505522cb72b0183da9b11
i965/fs: Allow constant propagation into IF with embedded compare.

This saves a couple of instructions on most programs with control
flow.  More interestingly, 6 shaders from unigine sanctuary now fit
into 16-wide without register spilling.
src/mesa/drivers/dri/i965/brw_fs.cpp