vc4: Add support for swizzling of texture colors

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 18 August 2014 17:27 UTC

Fixes swapped colors on the copypix demo and some piglit tests like pbo-teximage-tiling .

76f687d vc4: Add support for swizzling of texture colors.
src/gallium/drivers/vc4/vc4_program.c | 40 ++++++++++++++++++++++++++++++---
src/gallium/drivers/vc4/vc4_screen.c | 2 +-
src/gallium/drivers/vc4/vc4_screen.h | 1 +
3 files changed, 39 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share