i965/fs: Optimize saturating SEL.G(E) with imm val <= 0.0f.
authorMatt Turner <mattst88@gmail.com>
Mon, 28 Oct 2013 04:26:36 +0000 (21:26 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 1 Nov 2013 22:21:07 +0000 (15:21 -0700)
commit3c28b2c09f491bfa55dc9e5d7858a8b900c25432
tree7c978542aa8a1029dd96959a57bf40b3cc9aa668
parentca675b73d3ac2e1b57ec385c2c80b05b6382f6b6
i965/fs: Optimize saturating SEL.G(E) with imm val <= 0.0f.

Only one program's instruction count is changed, but a shader in Tropics
is also affected.

instructions in affected programs:     326 -> 320 (-1.84%)

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp