llvmpipe: move some debug to DEBUG_SCENE
authorKeith Whitwell <keithw@vmware.com>
Wed, 8 Sep 2010 17:46:39 +0000 (18:46 +0100)
committerKeith Whitwell <keithw@vmware.com>
Sat, 11 Sep 2010 09:04:53 +0000 (10:04 +0100)
src/gallium/drivers/llvmpipe/lp_setup.c

index 28157bd6e9315839152c41b6d229c32e5f01bf9e..e6a8196761549bedd4ddf89575bb13909db3a491 100644 (file)
@@ -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