summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_debug.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-21 14:59:01 -0700
committerBrian Paul <brianp@vmware.com>2010-01-21 15:39:57 -0700
commitcd9d9e2436a0815f6ed3a61d2cdf8fad53278506 (patch)
tree4361bb4916bf5e3148031fc6afe7bebf7fe3fc44 /src/gallium/drivers/llvmpipe/lp_debug.h
parent63f249bf909cab60635c2df9122db86eaab6c421 (diff)
llvmpipe: added simple perf/statistics counting facility
Currently counting number of tris, how many tiles of each size are fully covered, partially covered or empty, etc. Set LP_DEBUG=counters to enable. Results are printed upon context destruction.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_debug.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_debug.h b/src/gallium/drivers/llvmpipe/lp_debug.h
index 7128e8eb4b..7e04bd471e 100644
--- a/src/gallium/drivers/llvmpipe/lp_debug.h
+++ b/src/gallium/drivers/llvmpipe/lp_debug.h
@@ -47,6 +47,7 @@ st_print_current(void);
#define DEBUG_JIT 0x100
#define DEBUG_SHOW_TILES 0x200
#define DEBUG_SHOW_SUBTILES 0x400
+#define DEBUG_COUNTERS 0x800
#ifdef DEBUG