namespace Brutal.VulkanApi
{
///
/// VkDeviceFaultAddressInfoKHR - Structure specifying GPU virtual address information
///
///
///
/// The VkDeviceFaultAddressInfoKHR structure is defined as:
///
///
/// // Provided by VK_KHR_device_fault
/// typedef struct VkDeviceFaultAddressInfoKHR {
/// VkDeviceFaultAddressTypeKHR addressType;
/// VkDeviceAddress reportedAddress;
/// VkDeviceSize addressPrecision;
/// } VkDeviceFaultAddressInfoKHR;
///
///
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct VkDeviceFaultAddressInfoKHR()
{
///
/// AddressType is either the type of memory operation that triggered a page fault, or the type of association between an instruction pointer and a fault.
///
[FieldOffset(0)]
public VkDeviceFaultAddressTypeKHR AddressType;
///
/// ReportedAddress is the GPU virtual address recorded by the device.
///
[FieldOffset(8)]
public VkDeviceAddress ReportedAddress;
///
/// AddressPrecision is a power of two value that specifies how precisely the device can report the address.
///
[FieldOffset(16)]
public ByteSize64 AddressPrecision;
}
}