From bb7ff01deb5c1eb813b90da6f40d987a67e2793b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sun, 24 Apr 2011 19:57:33 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/brw_state_dump.c | 5 +++-- 1 file 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); -- 2.30.2