C Specification
To retrieve a vendor-specific binary crash dump call:
// Provided by VK_KHR_device_fault
VkResult vkGetDeviceFaultDebugInfoKHR(
VkDevice device,
VkDeviceFaultDebugInfoKHR* pDebugInfo);
Parameters
-
deviceis the logical device from which to query the crash dump. -
pDebugInfois a pointer to aVkDeviceFaultDebugInfoKHRstructure which will be populated with the vendor binary data crash dump binary, as described below.
Description
If pDebugInfo->pVendorBinaryData is NULL, then the size of any
vendor-specific binary crash dump is returned in
pDebugInfo->vendorBinarySize.
If the pDebugInfo->pVendorBinaryData is not NULL then it must point
to a buffer of size pDebugInfo->vendorBinarySize bytes.
On return, pDebugInfo->vendorBinarySize will be overwritten with the
number of bytes actually written to the pDebugInfo->pVendorBinaryData.
If pDebugInfo->vendorBinaryData is not NULL, then subsequent calls
to vkGetDeviceFaultDebugInfoKHR for the same device must return
identical binary values in the pDebugInfo->pVendorBinaryData buffer up
to the limit defined by pDebugInfo->vendorBinarySize.
If the vendor-specific crash dumps
feature is not enabled, then implementations must set
pDebugInfo->vendorBinarySize to zero and must not modify
pDebugInfo->pVendorBinaryData.
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.