aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-04-24 19:57:33 -0700
committerEric Anholt <[email protected]>2011-04-29 15:26:50 -0700
commitbb7ff01deb5c1eb813b90da6f40d987a67e2793b (patch)
treec6ebbc15079f32ce7382256c56e2bfc25771b9fd /src/mesa/drivers/dri
parent588cebce2d5b6afd24b72603d744d390481310dd (diff)
i965: Fix up state dumping for SF state.
It was moved to state streaming a while back and this was left over. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_dump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_dump.c b/src/mesa/drivers/dri/i965/brw_state_dump.c
index 4313b2aaa98..ce3ca39cffe 100644
--- a/src/mesa/drivers/dri/i965/brw_state_dump.c
+++ b/src/mesa/drivers/dri/i965/brw_state_dump.c
@@ -397,8 +397,9 @@ void brw_debug_batch(struct intel_context *intel)
brw_debug_prog("GS prog", brw->gs.prog_bo);
if (intel->gen < 6) {
- state_struct_out("SF", brw->sf.state_bo, 0, sizeof(struct brw_sf_unit_state));
- brw_debug_prog("SF prog", brw->sf.prog_bo);
+ state_struct_out("SF", intel->batch.bo, brw->sf.state_offset,
+ sizeof(struct brw_sf_unit_state));
+ brw_debug_prog("SF prog", brw->sf.prog_bo);
}
dump_sf_viewport_state(brw);