From: Keith Whitwell Date: Wed, 8 Sep 2010 17:46:39 +0000 (+0100) Subject: llvmpipe: move some debug to DEBUG_SCENE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10d0a835bc3d8eb89637381be41ffd463f363b75;p=mesa.git llvmpipe: move some debug to DEBUG_SCENE --- diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 28157bd6e93..e6a81967615 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -272,7 +272,7 @@ set_scene_state( struct lp_setup_context *setup, if (old_state == new_state) return; - if (LP_DEBUG & DEBUG_SETUP) { + if (LP_DEBUG & DEBUG_SCENE) { debug_printf("%s old %s new %s%s%s\n", __FUNCTION__, states[old_state], @@ -281,7 +281,7 @@ set_scene_state( struct lp_setup_context *setup, (new_state == SETUP_FLUSHED) ? reason : ""); if (new_state == SETUP_FLUSHED && setup->scene) - lp_debug_draw_bins_by_coverage(setup->scene); + lp_debug_draw_bins_by_cmd_length(setup->scene); } /* wait for a free/empty scene