summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_screen.c
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_screen.c
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_screen.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index a28f6935b68..72f2e8ebf80 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -52,6 +52,8 @@ static const struct debug_named_value lp_debug_flags[] = {
{ "query", DEBUG_QUERY },
{ "screen", DEBUG_SCREEN },
{ "jit", DEBUG_JIT },
+ { "show_tiles", DEBUG_SHOW_TILES },
+ { "show_subtiles", DEBUG_SHOW_SUBTILES },
{NULL, 0}
};
#endif