summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_screen.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-08-18 11:07:31 -0700
committerEric Anholt <eric@anholt.net>2014-08-18 15:27:43 -0700
commit76f687d5a5be9d3bce8d05bcfef97a3d74ca1f18 (patch)
tree692d6e1d3e2e4209d66188aefeed93554965e416 /src/gallium/drivers/vc4/vc4_screen.h
parent489350e5701a4a0855e622fa12fbf3700101c5d7 (diff)
downloadexternal_mesa3d-76f687d5a5be9d3bce8d05bcfef97a3d74ca1f18.zip
external_mesa3d-76f687d5a5be9d3bce8d05bcfef97a3d74ca1f18.tar.gz
external_mesa3d-76f687d5a5be9d3bce8d05bcfef97a3d74ca1f18.tar.bz2
vc4: Add support for swizzling of texture colors.
Fixes swapped colors on the copypix demo and some piglit tests like pbo-teximage-tiling .
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h
index 998bbac..5cfdcae 100644
--- a/src/gallium/drivers/vc4/vc4_screen.h
+++ b/src/gallium/drivers/vc4/vc4_screen.h
@@ -38,6 +38,7 @@ struct vc4_bo;
#define VC4_DEBUG_NORAST 0x0040
#define VC4_MAX_MIP_LEVELS 12
+#define VC4_MAX_TEXTURE_SAMPLERS 16
struct vc4_screen {
struct pipe_screen base;