aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_packet.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-02 20:30:18 -0700
committerEric Anholt <[email protected]>2014-08-11 14:45:31 -0700
commit9f24e4e6ed1d5b6a6ea3358c51fe4fccfc860174 (patch)
tree5d5f36d19dcf79453d1f58aa2fc7c2490d6aa481 /src/gallium/drivers/vc4/vc4_packet.h
parentff4748491b27a0b52564e48788b70cd617ed0ff2 (diff)
vc4: Add a bunch of validation of render mode configuration.
v2: Fix a build break after some previous rebase.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_packet.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_packet.h b/src/gallium/drivers/vc4/vc4_packet.h
index 732463c22ab..e455c2fe76a 100644
--- a/src/gallium/drivers/vc4/vc4_packet.h
+++ b/src/gallium/drivers/vc4/vc4_packet.h
@@ -216,6 +216,7 @@ enum vc4_packet {
#define VC4_RENDER_CONFIG_FORMAT_BGR565 (0 << 2)
#define VC4_RENDER_CONFIG_FORMAT_RGBA8888 (1 << 2)
#define VC4_RENDER_CONFIG_FORMAT_BGR565_DITHERED (2 << 2)
+#define VC4_RENDER_CONFIG_FORMAT_MASK (3 << 2)
#define VC4_RENDER_CONFIG_TILE_BUFFER_64BIT (1 << 1)
#define VC4_RENDER_CONFIG_MS_MODE_4X (1 << 0)