From b8f5b58bf1f1db4d9410e59d943e224f97914142 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 15 Apr 2026 14:11:11 +0300 Subject: [PATCH] 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 Acked-by: Alyssa Rosenzweig Part-of: --- src/intel/vulkan/anv_device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 3069656efb6..8b580e084ff 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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;