summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_debug.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-18 13:10:10 -0700
committerBrian Paul <[email protected]>2010-01-18 13:10:14 -0700
commit62623c4dc5d8b646942bc65e8de350e812945ad1 (patch)
tree783845aaee1deab515f23727fa3c097ddf29354c /src/gallium/drivers/llvmpipe/lp_debug.h
parent591401ff05f878ff1607a1a34db1319103025d8f (diff)
llvmpipe: added show_tiles and show_subtiles debug options
These options draw lines over the tiles to show the 64x64 tile bounds and 16x16 sub-tile bounds. For debugging/visualization.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_debug.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_debug.h b/src/gallium/drivers/llvmpipe/lp_debug.h
index 74b27574942..7128e8eb4b7 100644
--- a/src/gallium/drivers/llvmpipe/lp_debug.h
+++ b/src/gallium/drivers/llvmpipe/lp_debug.h
@@ -45,6 +45,9 @@ st_print_current(void);
#define DEBUG_QUERY 0x40
#define DEBUG_SCREEN 0x80
#define DEBUG_JIT 0x100
+#define DEBUG_SHOW_TILES 0x200
+#define DEBUG_SHOW_SUBTILES 0x400
+
#ifdef DEBUG
extern int LP_DEBUG;