softpipe: fix texel fetch swizzles
authorDave Airlie <airlied@redhat.com>
Fri, 6 Jan 2012 16:28:32 +0000 (16:28 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Jan 2012 13:49:02 +0000 (13:49 +0000)
commite809b7a6787e40f974883104606550fb3d53ba47
tree105de7f4984337b0a18d40ba44f7f523cf63a7dd
parent3235435e801122fb6d28c0bcc232ddaeb6b9c568
softpipe: fix texel fetch swizzles

This fixes a number of texelFetch swizzle tests, and consoldiates
the swizzle handling in a new function.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_tex_sample.c