Class VkDeviceFaultInfoEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDeviceFaultInfoEXT>
org.lwjgl.vulkan.VkDeviceFaultInfoEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkDeviceFaultInfoEXT extends org.lwjgl.system.Struct<VkDeviceFaultInfoEXT> implements org.lwjgl.system.NativeResource
Structure specifying device fault information.
Description

An implementation should populate as many members of VkDeviceFaultInfoEXT as possible, given the information available at the time of the fault and the constraints of the implementation itself.

Due to hardware limitations, pAddressInfos describes ranges of GPU virtual address space, rather than precise addresses. The precise memory address accessed or the precise value of the instruction pointer must lie within the region described.

Note

Each element of pAddressInfos describes either:

  • A memory access which may have triggered a page fault and may have contributed to device loss
  • The value of an active instruction pointer at the time a fault occurred. This value may be indicative of the active pipeline or shader at the time of device loss

Comparison of the GPU virtual addresses described by pAddressInfos to GPU virtual address ranges reported by the VK_EXT_device_address_binding_report extension may allow applications to correlate between these addresses and Vulkan objects. Applications should be aware that these addresses may also correspond to resources internal to an implementation, which will not be reported via the VK_EXT_device_address_binding_report extension.

Valid Usage (Implicit)
See Also

VkDeviceFaultAddressInfoEXT, VkDeviceFaultVendorInfoEXT, GetDeviceFaultInfoEXT

Layout


 struct VkDeviceFaultInfoEXT {
     VkStructureType sType();
     void * pNext();
     char description()[VK_MAX_DESCRIPTION_SIZE];
     VkDeviceFaultAddressInfoEXT * pAddressInfos();
     VkDeviceFaultVendorInfoEXT * pVendorInfos();
     void * pVendorBinaryData();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • DESCRIPTION

      public static final int DESCRIPTION
      The struct member offsets.
    • PADDRESSINFOS

      public static final int PADDRESSINFOS
      The struct member offsets.
    • PVENDORINFOS

      public static final int PVENDORINFOS
      The struct member offsets.
    • PVENDORBINARYDATA

      public static final int PVENDORBINARYDATA
      The struct member offsets.
  • Constructor Details

    • VkDeviceFaultInfoEXT

      public VkDeviceFaultInfoEXT(ByteBuffer container)
      Creates a VkDeviceFaultInfoEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details