From: Eric Anholt Date: Wed, 27 Feb 2008 19:01:28 +0000 (-0800) Subject: [965] Fix serious copy'n'paste failure in brw state dumping. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f0301d7bc90b05914e201e366d7f3189d9248e3;p=mesa.git [965] Fix serious copy'n'paste failure in brw state dumping. --- diff --git a/src/mesa/drivers/dri/i965/brw_state_dump.c b/src/mesa/drivers/dri/i965/brw_state_dump.c index 319dac87498..3a93f9f732e 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); }