vc4: Add support for swizzling of texture colors.
authorEric Anholt <eric@anholt.net>
Mon, 18 Aug 2014 18:07:31 +0000 (11:07 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 18 Aug 2014 22:27:43 +0000 (15:27 -0700)
commit76f687d5a5be9d3bce8d05bcfef97a3d74ca1f18
tree692d6e1d3e2e4209d66188aefeed93554965e416
parent489350e5701a4a0855e622fa12fbf3700101c5d7
vc4: Add support for swizzling of texture colors.

Fixes swapped colors on the copypix demo and some piglit tests like
pbo-teximage-tiling .
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_screen.c
src/gallium/drivers/vc4/vc4_screen.h