i965/fs: fix integer textures with swizzles
authorConnor Abbott <connor.abbott@intel.com>
Fri, 15 Aug 2014 17:22:20 +0000 (10:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 16 Oct 2014 00:05:16 +0000 (17:05 -0700)
commitcf94dfdb96287d1aa45851ba24762859f65a94ed
tree58bcec266c27e300f288bce650f95df7a4550365
parent7c8f0b7cd9a9a0484496c873390ed7c3c28d5a08
i965/fs: fix integer textures with swizzles

This happened to work before, but it would convert the output to a float
and then back to an integer which seems bad.

Signed-off-by: Connor Abbott <connor.abbott@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp