summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-08-27 19:24:51 +0100
committerKeith Whitwell <[email protected]>2010-09-07 14:02:29 +0100
commitf25836d7b2c21e046a725cf13c8649d3981693b7 (patch)
treefd0e6a664b460685b6afceac386dfe3a6d131ed9 /src/gallium/drivers/llvmpipe/lp_setup.c
parent9f6e8e1d6b8696a3ee96cba01b2466ba7a1a8ef6 (diff)
llvmpipe: rasterization debugging helpers
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index f653dd5f0bb..28157bd6e93 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -279,6 +279,9 @@ set_scene_state( struct lp_setup_context *setup,
states[new_state],
(new_state == SETUP_FLUSHED) ? ": " : "",
(new_state == SETUP_FLUSHED) ? reason : "");
+
+ if (new_state == SETUP_FLUSHED && setup->scene)
+ lp_debug_draw_bins_by_coverage(setup->scene);
}
/* wait for a free/empty scene