i965/vs: Use the embedded-comparison SEL on gen6+, like the FS does.
authorEric Anholt <eric@anholt.net>
Wed, 18 Jan 2012 20:58:45 +0000 (12:58 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 23 Jan 2012 20:50:54 +0000 (12:50 -0800)
commit1fde76b8771350933d0a0b562ff1bd91e8340ac5
treeca9be4afbcff17089269d7a40c475fabec727941
parent06ad64ad29e7aa9e2d001f6bd1f8c1c1f77050b8
i965/vs: Use the embedded-comparison SEL on gen6+, like the FS does.

Shaves a few instructions off of the VS in Lightsmark, but no
statistically significant performance difference on gen7 (n=5).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp