This is not quite a strong enough point to be worth opening a bug on github, so I’m just noting it here.
From this blog post about VK_NV_device_diagnostic_checkpoints, vkGetQueueCheckpointDataNV can be used after
Here’s the relevant quote from the Vulkan spec:
If the device encounters an error during execution, the implementation will return a
VK_ERROR_DEVICE_LOSTerror to the application at a certain point during host execution. When this happens, the application can call vkGetQueueCheckpointDataNV to retrieve information on the most recent diagnostic checkpoints that were executed by the device.
If I’m reading the spec correctly, this is sort of analogous to VK_EXT_debug_utils and VkDebugUtilsLabelEXT. But a debug label is only reported to the app in a VkDebugUtilsMessengerCallbackDataEXT, which is only sent to the app when a log message is generated.
How much interest is there in a new extension to allow an app to request a VkDebugUtilsMessengerCallbackDataEXT from a VkQueue after VK_ERROR_DEVICE_LOST, the way NVidia devices can do now with a vendor extension?