diff options
author | Eric Anholt <[email protected]> | 2014-08-18 11:07:31 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-18 15:27:43 -0700 |
commit | 76f687d5a5be9d3bce8d05bcfef97a3d74ca1f18 (patch) | |
tree | 692d6e1d3e2e4209d66188aefeed93554965e416 /src/gallium/drivers/vc4/vc4_screen.h | |
parent | 489350e5701a4a0855e622fa12fbf3700101c5d7 (diff) |
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.h | 1 |
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 998bbac0416..5cfdcaeed9f 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; |