mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
anv: print out the content of the printf buffer at vkDestroyDevice
In case the device wasn't waited on to be idle. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31384>
This commit is contained in:
parent
a8c7a25fb1
commit
b8f5b58bf1
1 changed files with 3 additions and 0 deletions
|
|
@ -1353,6 +1353,9 @@ void anv_DestroyDevice(
|
|||
if (!device)
|
||||
return;
|
||||
|
||||
if (anv_needs_printf_buffer())
|
||||
vk_check_printf_status(&device->vk, &device->printf);
|
||||
|
||||
anv_memory_trace_finish(device);
|
||||
|
||||
struct anv_physical_device *pdevice = device->physical;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue