summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_screen.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-06-28 17:39:34 -0700
committerEric Anholt <[email protected]>2017-07-12 10:58:33 -0700
commit111b6b77cb3147b12fd7907d75309e0bf023ced0 (patch)
treea1fba7d7699f0c307b99f640366c24093a3a6073 /src/gallium/drivers/vc4/vc4_screen.h
parenta2d87a00191a7cfecfea65185ff1eca3ca958160 (diff)
vc4: Make the miptree debug code available under VC4_DEBUG=surf
I kept flipping the bool on for debug, so let's just make it available. Reviewed-by: Daniel Stone <[email protected]>
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 295633db469..7887adee941 100644
--- a/src/gallium/drivers/vc4/vc4_screen.h
+++ b/src/gallium/drivers/vc4/vc4_screen.h
@@ -48,6 +48,7 @@ struct vc4_bo;
#define VC4_DEBUG_ALWAYS_SYNC 0x0100
#define VC4_DEBUG_NIR 0x0200
#define VC4_DEBUG_DUMP 0x0400
+#define VC4_DEBUG_SURFACE 0x0800
#define VC4_MAX_MIP_LEVELS 12
#define VC4_MAX_TEXTURE_SAMPLERS 16