[965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915.

This commit is contained in:
Eric Anholt
2007-09-27 15:06:06 -07:00
parent b2c8b1385a
commit 35331a511f
11 changed files with 1001 additions and 851 deletions

View File

@@ -240,7 +240,8 @@ do_flush_locked(struct intel_batchbuffer *batch,
done:
if (INTEL_DEBUG & DEBUG_BATCH) {
dri_bo_map(batch->buf, GL_FALSE);
intel_decode(ptr, used / 4, batch->buf->offset);
intel_decode(ptr, used / 4, batch->buf->offset,
intel->intelScreen->deviceID);
dri_bo_unmap(batch->buf);
}
}