[965] Fix serious copy'n'paste failure in brw state dumping.
authorEric Anholt <eric@anholt.net>
Wed, 27 Feb 2008 19:01:28 +0000 (11:01 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 28 Feb 2008 21:18:48 +0000 (13:18 -0800)
src/mesa/drivers/dri/i965/brw_state_dump.c

index 319dac87498d68d897bc8b4705c41fd7d60eade3..3a93f9f732ea3766482b89172903ba9b7994bd3d 100644 (file)
@@ -193,8 +193,8 @@ void brw_debug_batch(struct intel_context *intel)
 
    state_struct_out("SF", brw->sf.state_bo, sizeof(struct brw_sf_unit_state));
    dump_sf_viewport_state(brw);
-   brw_debug_prog("SF prog", brw->vs.prog_bo);
+   brw_debug_prog("SF prog", brw->sf.prog_bo);
 
-   state_struct_out("WM", brw->sf.state_bo, sizeof(struct brw_wm_unit_state));
-   brw_debug_prog("WM prog", brw->vs.prog_bo);
+   state_struct_out("WM", brw->wm.state_bo, sizeof(struct brw_wm_unit_state));
+   brw_debug_prog("WM prog", brw->wm.prog_bo);
 }