From a894898255c8e016d56afa08c26a4fc54d0eab13 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 5 Sep 2014 14:17:27 -0700 Subject: 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. --- src/gallium/drivers/vc4/vc4_screen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/vc4/vc4_screen.h') 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 -- cgit v1.2.3