From: Eric Anholt Date: Fri, 27 Jan 2012 21:19:02 +0000 (-0800) Subject: i965: Fix segfault with INTEL_DEBUG=batch on gen7 with samplers present. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=493faa010d338f68540238c20a74b3b101ca7ff5;p=mesa.git 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. --- 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); }