Enum
VkDeviceFaultFlagBitsKHR
Bits which may be set in a VkDeviceFaultFlagsKHR bitmask
Bits which can be set in VkDeviceFaultInfoKHR::flags providing
information of the status of the fault reported and which additional fields
have been populated by the driver, are:
typedef enum VkDeviceFaultFlagBitsKHR {
VK_DEVICE_FAULT_FLAG_DEVICE_LOST_KHR = 0x00000001,
VK_DEVICE_FAULT_FLAG_MEMORY_ADDRESS_KHR = 0x00000002,
VK_DEVICE_FAULT_FLAG_INSTRUCTION_ADDRESS_KHR = 0x00000004,
VK_DEVICE_FAULT_FLAG_VENDOR_KHR = 0x00000008,
VK_DEVICE_FAULT_FLAG_WATCHDOG_TIMEOUT_KHR = 0x00000010,
VK_DEVICE_FAULT_FLAG_OVERFLOW_KHR = 0x00000020,
} VkDeviceFaultFlagBitsKHR;
pub struct DeviceFaultFlagBitsKHR(u32);
impl DeviceFaultFlagBitsKHR {
pub const FLAG_DEVICE_LOST: Self = 0x00000001;
pub const FLAG_MEMORY_ADDRESS: Self = 0x00000002;
pub const FLAG_INSTRUCTION_ADDRESS: Self = 0x00000004;
pub const FLAG_VENDOR: Self = 0x00000008;
pub const FLAG_WATCHDOG_TIMEOUT: Self = 0x00000010;
pub const FLAG_OVERFLOW: Self = 0x00000020;
}
VK_DEVICE_FAULT_FLAG_DEVICE_LOST_KHRspecifies that the fault has resulted in a device lost condition. No subsequent entries will be returned for this device.VK_DEVICE_FAULT_FLAG_MEMORY_ADDRESS_KHRspecifies that the fault has associated memory access address information which is stored in the faultAddressInfo field (see VkDeviceFaultAddressInfoKHR).VK_DEVICE_FAULT_FLAG_INSTRUCTION_ADDRESS_KHRspecifies that the fault has an associated instruction address which is stored in the instructionAddressInfo field (see VkDeviceFaultAddressInfoKHR).VK_DEVICE_FAULT_FLAG_VENDOR_KHRspecifies that the fault has associated vendor information stored in the vendorInfo field (see VkDeviceFaultVendorInfoKHR).VK_DEVICE_FAULT_FLAG_WATCHDOG_TIMEOUT_KHRspecifies that the fault was the result of a GPU timeout. Further information may be made available using other platform specific extensions via the pNext chain of the VkDeviceFaultInfoKHR structure.VK_DEVICE_FAULT_FLAG_OVERFLOW_KHRspecifies that prior faults have occurred, but information about them is no longer available. This typically indicates that faults are occurring more rapidly than the calling application is able to read them back.
Parent
VK_KHR_device_faultType
Enum