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:
Lionel Landwerlin 2026-04-15 14:11:11 +03:00 committed by Marge Bot
parent a8c7a25fb1
commit b8f5b58bf1

View file

@ -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;