i965: When producing a single channel swizzle, don't make a temporary.
authorEric Anholt <eric@anholt.net>
Fri, 1 Oct 2010 22:42:39 +0000 (15:42 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 2 Oct 2010 00:19:03 +0000 (17:19 -0700)
commit5ee09413162f4ec83cc7a738e807ffde8c89cca7
tree073135978b6e0cb2d379f8cd6ca53d60b3d7cf23
parenta0799725f52386cef911d3e104c5514a2811290b
i965: When producing a single channel swizzle, don't make a temporary.

This quickly cuts 8% of the instructions in my glsl demo.
src/mesa/drivers/dri/i965/brw_fs.cpp