diff options
author | Chia-I Wu <[email protected]> | 2013-08-20 11:40:49 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-08-20 13:54:39 +0800 |
commit | ce87c51e9ad131670fd8e4dcc0d023d0b057612b (patch) | |
tree | 4e6ff9fed3a0b47fc787dcbe8cb5cf2c2e4221e7 /src/gallium/drivers/ilo/ilo_screen.c | |
parent | 216a576e111b85662eabd8d4c398149818adbf39 (diff) |
ilo: add ILO_DEBUG=flush
When specified, ilo will print a line similar to
cp flushed for render with 949+888 DWords (22.4%) because of frame end
for every ilo_cp_flush() call.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_screen.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index 6d5b2ffbd97..3f8d4319c91 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -47,6 +47,7 @@ static const struct debug_named_value ilo_debug_flags[] = { { "fs", ILO_DEBUG_FS, "Dump fragment shaders" }, { "cs", ILO_DEBUG_CS, "Dump compute shaders" }, { "draw", ILO_DEBUG_DRAW, "Show draw information" }, + { "flush", ILO_DEBUG_FLUSH, "Show batch buffer flushes" }, { "nohw", ILO_DEBUG_NOHW, "Do not send commands to HW" }, { "nocache", ILO_DEBUG_NOCACHE, "Always invalidate HW caches" }, DEBUG_NAMED_VALUE_END |