i965/fs: Preserve the source register type when doing color writes.
authorEric Anholt <eric@anholt.net>
Wed, 9 Nov 2011 03:26:39 +0000 (19:26 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 9 Nov 2011 20:59:20 +0000 (12:59 -0800)
commite988d816e16f9c0844424472d689486a833931c3
tree40c178822bfbea3c0ac627703c7a38ffcf38dc1e
parente19dfc75b67e263437bd08b161c15b34582ccb2f
i965/fs: Preserve the source register type when doing color writes.

When rendering to integer color buffers, we need to be careful to use
MRFs of the correct type when emitting color writes.

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