mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
intel: Use the post-execution batchbuffer contents for dumping.
We were missing out on all the relocation changes by dumping what we subdata()ed in instead of what's there after the kernel finished with it.
This commit is contained in:
parent
f07221056e
commit
96cdbf4340
1 changed files with 3 additions and 1 deletions
|
|
@ -127,9 +127,11 @@ do_flush_locked(struct intel_context *intel)
|
|||
}
|
||||
|
||||
if (unlikely(INTEL_DEBUG & DEBUG_BATCH)) {
|
||||
intel_decode(batch->map, batch->used,
|
||||
drm_intel_bo_map(batch->bo, false);
|
||||
intel_decode(batch->bo->virtual, batch->used,
|
||||
batch->bo->offset,
|
||||
intel->intelScreen->deviceID, GL_TRUE);
|
||||
drm_intel_bo_unmap(batch->bo);
|
||||
|
||||
if (intel->vtbl.debug_batch != NULL)
|
||||
intel->vtbl.debug_batch(intel);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue