From: Eric Anholt Date: Thu, 25 Oct 2007 18:31:15 +0000 (-0700) Subject: [i915] Reenable batchbuffer debug under INTEL_DEBUG=bat. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7e0513d700167a7eff39e40c855027096f1db1d;p=mesa.git [i915] Reenable batchbuffer debug under INTEL_DEBUG=bat. --- diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c index 8ece6d2760c..9ec60fcff39 100644 --- a/src/mesa/drivers/dri/intel/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.c @@ -168,10 +168,10 @@ do_flush_locked(struct intel_batchbuffer *batch, } if (INTEL_DEBUG & DEBUG_BATCH) { - // dri_bo_map(batch->buf, GL_FALSE); - // intel_decode(ptr, used / 4, batch->buf->offset, - // intel->intelScreen->deviceID); - // dri_bo_unmap(batch->buf); + dri_bo_map(batch->buf, GL_FALSE); + intel_decode(batch->buf->virtual, used / 4, batch->buf->offset, + intel->intelScreen->deviceID); + dri_bo_unmap(batch->buf); } }