i965/fs: Optimize (gl_FrontFacing ? x : y) where x and y are ±1.0.
authorMatt Turner <mattst88@gmail.com>
Mon, 22 Dec 2014 03:50:03 +0000 (19:50 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 24 Feb 2015 22:08:04 +0000 (14:08 -0800)
commit467077b834eff4a38eb7a298826baddc44a298b8
tree321291fdc5cb0d2a7837c6d4aac3921e2c4c5ae0
parentb8582d18e6b0737c4a34777837c10898ed177e30
i965/fs: Optimize (gl_FrontFacing ? x : y) where x and y are ±1.0.

total instructions in shared programs: 5695356 -> 5689775 (-0.10%)
instructions in affected programs:     486231 -> 480650 (-1.15%)
helped:                                2604
LOST:                                  1
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp