summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_screen.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-05 14:17:27 -0700
committerEric Anholt <[email protected]>2014-09-09 07:29:12 -0700
commita894898255c8e016d56afa08c26a4fc54d0eab13 (patch)
treea30b726a6ddb39a69bd736538628b5046b8f617d /src/gallium/drivers/vc4/vc4_screen.h
parent840f38112026e9f71edd3dba7f88e09dec57b960 (diff)
vc4: Add a debug flag for flushing after every draw.
It was useful on i965, but it's even more useful for debugging tiled renderers.
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 a45a6e7a365..470cb06e2bf 100644
--- a/src/gallium/drivers/vc4/vc4_screen.h
+++ b/src/gallium/drivers/vc4/vc4_screen.h
@@ -36,6 +36,7 @@ struct vc4_bo;
#define VC4_DEBUG_SHADERDB 0x0010
#define VC4_DEBUG_PERF 0x0020
#define VC4_DEBUG_NORAST 0x0040
+#define VC4_DEBUG_ALWAYS_FLUSH 0x0080
#define VC4_MAX_MIP_LEVELS 12
#define VC4_MAX_TEXTURE_SAMPLERS 16