From ce87c51e9ad131670fd8e4dcc0d023d0b057612b Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 20 Aug 2013 11:40:49 +0800 Subject: 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. --- src/gallium/drivers/ilo/ilo_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/ilo/ilo_screen.c') 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 -- cgit v1.2.3