summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_screen.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-06-28 14:36:26 -0700
committerEric Anholt <[email protected]>2014-08-08 18:59:46 -0700
commit21db43021041e8dedc45bb232c10ece83fd09dd1 (patch)
tree692af36222549b888feb35b303848b4f23b1f2e9 /src/gallium/drivers/vc4/vc4_screen.h
parent2e35981d4d625d951328ef5b8f95798112997fb3 (diff)
vc4: Add VC4_DEBUG env option
v2: Fix an accidental deletion of some characters from the copyright message (caught by Ilia Mirkin)
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h
index 64bd2cf6510..1fe5ce14190 100644
--- a/src/gallium/drivers/vc4/vc4_screen.h
+++ b/src/gallium/drivers/vc4/vc4_screen.h
@@ -29,7 +29,13 @@
struct vc4_bo;
-#define VC4_DBG_CL 0x0001
+#define VC4_DEBUG_CL 0x0001
+#define VC4_DEBUG_QPU 0x0002
+#define VC4_DEBUG_QIR 0x0004
+#define VC4_DEBUG_TGSI 0x0008
+#define VC4_DEBUG_SHADERDB 0x0010
+#define VC4_DEBUG_PERF 0x0020
+#define VC4_DEBUG_NORAST 0x0040
#define VC4_MAX_MIP_LEVELS 11
@@ -60,4 +66,6 @@ vc4_screen_bo_from_handle(struct pipe_screen *pscreen,
uint8_t vc4_get_texture_format(enum pipe_format format);
+extern uint32_t vc4_debug;
+
#endif /* VC4_SCREEN_H */