summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_dump.c b/src/mesa/drivers/dri/i965/brw_state_dump.c
index 319dac8749..3a93f9f732 100644
--- a/src/mesa/drivers/dri/i965/brw_state_dump.c
+++ b/src/mesa/drivers/dri/i965/brw_state_dump.c
@@ -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);
}