diff options
author | Eric Anholt <[email protected]> | 2014-09-24 13:41:24 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-24 15:56:39 -0700 |
commit | 6abbdfe3dbe7d4372b30461e97b4ad557ff4e5d2 (patch) | |
tree | 331144476683477f3d7432db83efc56da57e29f3 /src/gallium/drivers/vc4/vc4_packet.h | |
parent | 8cd165051b52a9d70512fd138463aa165bea849a (diff) |
vc4: Fix swapped 565 dithering versus no-dithering render configs.
Fixes many 565 piglit tests (like fbo-generatemipmap-formats) that weren't
expecting dithering.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_packet.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_packet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_packet.h b/src/gallium/drivers/vc4/vc4_packet.h index a7de4e8ccc5..a8b3566c5c6 100644 --- a/src/gallium/drivers/vc4/vc4_packet.h +++ b/src/gallium/drivers/vc4/vc4_packet.h @@ -214,9 +214,9 @@ enum vc4_packet { #define VC4_RENDER_CONFIG_DECIMATE_MODE_4X (1 << 4) #define VC4_RENDER_CONFIG_DECIMATE_MODE_16X (2 << 4) -#define VC4_RENDER_CONFIG_FORMAT_BGR565 (0 << 2) +#define VC4_RENDER_CONFIG_FORMAT_BGR565_DITHERED (0 << 2) #define VC4_RENDER_CONFIG_FORMAT_RGBA8888 (1 << 2) -#define VC4_RENDER_CONFIG_FORMAT_BGR565_DITHERED (2 << 2) +#define VC4_RENDER_CONFIG_FORMAT_BGR565 (2 << 2) #define VC4_RENDER_CONFIG_FORMAT_MASK (3 << 2) #define VC4_RENDER_CONFIG_TILE_BUFFER_64BIT (1 << 1) |