Mesa (master): i965: Fix segfault with INTEL_DEBUG= batch on gen7 with samplers present.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Jan 30 19:35:39 UTC 2012
Module: Mesa
Branch: master
Commit: 493faa010d338f68540238c20a74b3b101ca7ff5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=493faa010d338f68540238c20a74b3b101ca7ff5
Author: Eric Anholt <eric at anholt.net>
Date: Fri Jan 27 13:19:02 2012 -0800
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.
---
src/mesa/drivers/dri/i965/brw_state_dump.c | 1 -
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 cb7a3ef..7306ceb 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);
}
More information about the mesa-commit
mailing list