diff options
author | Eric Anholt <[email protected]> | 2014-09-05 14:17:27 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-09 07:29:12 -0700 |
commit | a894898255c8e016d56afa08c26a4fc54d0eab13 (patch) | |
tree | a30b726a6ddb39a69bd736538628b5046b8f617d /src/gallium/drivers/vc4/vc4_screen.c | |
parent | 840f38112026e9f71edd3dba7f88e09dec57b960 (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.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index 793f8d39664..49f5228ab39 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -50,6 +50,8 @@ static const struct debug_named_value debug_options[] = { "Print during performance-related events" }, { "norast", VC4_DEBUG_NORAST, "Skip actual hardware execution of commands" }, + { "always_flush", VC4_DEBUG_ALWAYS_FLUSH, + "Flush after each draw call" }, { NULL } }; |