summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-01-27 13:19:02 -0800
committerEric Anholt <[email protected]>2012-01-30 11:32:55 -0800
commit493faa010d338f68540238c20a74b3b101ca7ff5 (patch)
tree3f9cdf39c3bb9323908280213b790d4f27fb3d6d
parent9195191e50429d9cf25e6498f9fb108758ac2be6 (diff)
i965: Fix segfault with INTEL_DEBUG=batch on gen7 with samplers present.
This was a leftover from the conversion of this file for state streaming.
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_dump.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_dump.c b/src/mesa/drivers/dri/i965/brw_state_dump.c
index cb7a3ef73d3..7306ceb969d 100644
--- a/src/mesa/drivers/dri/i965/brw_state_dump.c
+++ b/src/mesa/drivers/dri/i965/brw_state_dump.c
@@ -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);
}