i965: Fix segfault with INTEL_DEBUG=batch on gen7 with samplers present.
authorEric Anholt <eric@anholt.net>
Fri, 27 Jan 2012 21:19:02 +0000 (13:19 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 30 Jan 2012 19:32:55 +0000 (11:32 -0800)
This was a leftover from the conversion of this file for state streaming.

src/mesa/drivers/dri/i965/brw_state_dump.c

index cb7a3ef73d3bca74c9c1c7ed6e37518ea6f9cd57..7306ceb969d1fa1f51db7b6c530084a274238114 100644 (file)
@@ -292,7 +292,6 @@ static void dump_gen7_sampler_state(struct brw_context *brw,
       samp++;
       offset += sizeof(*samp);
    }
-   drm_intel_bo_unmap(intel->batch.bo);
 }