Enum

VkDeviceFaultAddressTypeKHR

Page fault access types

Possible values of VkDeviceFaultAddressInfoKHR::addressType are:

typedef enum VkDeviceFaultAddressTypeKHR {
    VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_KHR = 0,
    VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_KHR = 1,
    VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_KHR = 2,
    VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_KHR = 3,
    VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_KHR = 4,
    VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_KHR = 5,
    VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_KHR = 6,
} VkDeviceFaultAddressTypeKHR;
#define VkDeviceFaultAddressTypeEXT VkDeviceFaultAddressTypeKHR
  • VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_KHR specifies that VkDeviceFaultAddressInfoKHR does not describe a page fault, or an instruction address.
  • VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_KHR specifies that VkDeviceFaultAddressInfoKHR describes a page fault triggered by an invalid read operation.
  • VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_KHR specifies that VkDeviceFaultAddressInfoKHR describes a page fault triggered by an invalid write operation.
  • VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_KHR specifies that VkDeviceFaultAddressInfoKHR describes a page fault triggered by an attempt to execute non-executable memory.
  • VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_KHR specifies an instruction pointer value at the time the fault occurred. This may or may not be related to a fault.
  • VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_KHR specifies an instruction pointer value associated with an invalid instruction fault.
  • VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_KHR specifies an instruction pointer value associated with a fault.
The instruction pointer values recorded may not identify the specific instruction(s) that triggered the fault. The relationship between the instruction pointer reported and triggering instruction will be vendor-specific.