Enum
VkFaultType
The different fault types that can be returned
Possible values of VkFaultData::faultType, specifying the fault
type, are:
typedef enum VkFaultType {
VK_FAULT_TYPE_INVALID = 0,
VK_FAULT_TYPE_UNASSIGNED = 1,
VK_FAULT_TYPE_IMPLEMENTATION = 2,
VK_FAULT_TYPE_SYSTEM = 3,
VK_FAULT_TYPE_PHYSICAL_DEVICE = 4,
VK_FAULT_TYPE_COMMAND_BUFFER_FULL = 5,
VK_FAULT_TYPE_INVALID_API_USAGE = 6,
} VkFaultType;
pub struct FaultType(u32);
impl FaultType {
pub const INVALID: Self = 0;
pub const UNASSIGNED: Self = 1;
pub const IMPLEMENTATION: Self = 2;
pub const SYSTEM: Self = 3;
pub const PHYSICAL_DEVICE: Self = 4;
pub const COMMAND_BUFFER_FULL: Self = 5;
pub const INVALID_API_USAGE: Self = 6;
}
VK_FAULT_TYPE_INVALIDThe fault data does not contain a valid fault.VK_FAULT_TYPE_UNASSIGNEDA fault type has not been assigned.VK_FAULT_TYPE_IMPLEMENTATIONImplementation-defined fault.VK_FAULT_TYPE_SYSTEMA fault occurred in the system components.VK_FAULT_TYPE_PHYSICAL_DEVICEA fault occurred with the physical device.VK_FAULT_TYPE_COMMAND_BUFFER_FULLCommand buffer memory was exhausted before vkEndCommandBuffer was called.VK_FAULT_TYPE_INVALID_API_USAGEInvalid usage of the API was detected by the implementation.