vulkan-3.27: src/Vulkan/Extensions/VK_EXT_device_fault.hs-boot
{-# language CPP #-}
-- | = Name
--
-- VK_EXT_device_fault - device extension
--
-- = VK_EXT_device_fault
--
-- [__Name String__]
-- @VK_EXT_device_fault@
--
-- [__Extension Type__]
-- Device extension
--
-- [__Registered Extension Number__]
-- 342
--
-- [__Revision__]
-- 2
--
-- [__Ratification Status__]
-- Ratified
--
-- [__Extension and Version Dependencies__]
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VK_KHR_get_physical_device_properties2 VK_KHR_get_physical_device_properties2>
-- or
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#versions-1.1 Vulkan Version 1.1>
--
-- [__Deprecation State__]
--
-- - /Promoted/ to
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VK_KHR_device_fault VK_KHR_device_fault>
-- extension
--
-- [__Contact__]
--
-- - Ralph Potter <<data:image/png;base64, GitLab>>r_potter
--
-- [__Extension Proposal__]
-- <https://github.com/KhronosGroup/Vulkan-Docs/tree/main/proposals/VK_EXT_device_fault.adoc VK_EXT_device_fault>
--
-- == Other Extension Metadata
--
-- [__Last Modified Date__]
-- 2021-03-10
--
-- [__IP Status__]
-- No known IP claims.
--
-- [__Contributors__]
--
-- - Ralph Potter, Samsung
--
-- - Stuart Smith, AMD
--
-- - Jan-Harald Fredriksen, ARM
--
-- - Mark Bellamy, ARM
--
-- - Andrew Ellem, Google
--
-- - Alex Walters, IMG
--
-- - Jeff Bolz, NVIDIA
--
-- - Baldur Karlsson, Valve
--
-- == Description
--
-- Device loss can be triggered by a variety of issues, including invalid
-- API usage, implementation errors, or hardware failures.
--
-- This extension introduces a new command: 'getDeviceFaultInfoEXT', which
-- may be called subsequent to a
-- 'Vulkan.Core10.Enums.Result.ERROR_DEVICE_LOST' error code having been
-- returned by the implementation. This command allows developers to query
-- for additional information on GPU faults which may have caused device
-- loss, and to generate binary crash dumps, which may be loaded into
-- external tools for further diagnosis.
--
-- == New Commands
--
-- - 'getDeviceFaultInfoEXT'
--
-- == New Structures
--
-- - 'DeviceFaultAddressInfoEXT'
--
-- - 'DeviceFaultCountsEXT'
--
-- - 'DeviceFaultInfoEXT'
--
-- - 'DeviceFaultVendorBinaryHeaderVersionOneEXT'
--
-- - 'DeviceFaultVendorInfoEXT'
--
-- - Extending
-- 'Vulkan.Core11.Promoted_From_VK_KHR_get_physical_device_properties2.PhysicalDeviceFeatures2',
-- 'Vulkan.Core10.Device.DeviceCreateInfo':
--
-- - 'PhysicalDeviceFaultFeaturesEXT'
--
-- == New Enums
--
-- - 'DeviceFaultAddressTypeEXT'
--
-- - 'DeviceFaultVendorBinaryHeaderVersionEXT'
--
-- == New Enum Constants
--
-- - 'EXT_DEVICE_FAULT_EXTENSION_NAME'
--
-- - 'EXT_DEVICE_FAULT_SPEC_VERSION'
--
-- - Extending
-- 'Vulkan.Extensions.VK_KHR_device_fault.DeviceFaultAddressTypeKHR':
--
-- - 'DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT'
--
-- - 'DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT'
--
-- - 'DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT'
--
-- - 'DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT'
--
-- - 'DEVICE_FAULT_ADDRESS_TYPE_NONE_EXT'
--
-- - 'DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT'
--
-- - 'DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT'
--
-- - Extending 'Vulkan.Core10.Enums.StructureType.StructureType':
--
-- - 'Vulkan.Core10.Enums.StructureType.STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT'
--
-- - 'Vulkan.Core10.Enums.StructureType.STRUCTURE_TYPE_DEVICE_FAULT_INFO_EXT'
--
-- - 'Vulkan.Core10.Enums.StructureType.STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT'
--
-- == Version History
--
-- - Revision 2, 2023-04-05 (Ralph Potter)
--
-- - Restored two missing members to the XML definition of
-- VkDeviceFaultVendorBinaryHeaderVersionOneEXT. No functional
-- change to the specification.
--
-- - Revision 1, 2020-10-19 (Ralph Potter)
--
-- - Initial revision
--
-- == See Also
--
-- No cross-references are available
--
-- == Document Notes
--
-- For more information, see the
-- <https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#VK_EXT_device_fault Vulkan Specification>.
--
-- This page is a generated document. Fixes and changes should be made to
-- the generator scripts, not directly.
module Vulkan.Extensions.VK_EXT_device_fault ( DeviceFaultCountsEXT
, DeviceFaultInfoEXT
, PhysicalDeviceFaultFeaturesEXT
) where
import Vulkan.CStruct (FromCStruct)
import Vulkan.CStruct (ToCStruct)
import Data.Kind (Type)
data DeviceFaultCountsEXT
instance ToCStruct DeviceFaultCountsEXT
instance Show DeviceFaultCountsEXT
instance FromCStruct DeviceFaultCountsEXT
data DeviceFaultInfoEXT
instance ToCStruct DeviceFaultInfoEXT
instance Show DeviceFaultInfoEXT
instance FromCStruct DeviceFaultInfoEXT
data PhysicalDeviceFaultFeaturesEXT
instance ToCStruct PhysicalDeviceFaultFeaturesEXT
instance Show PhysicalDeviceFaultFeaturesEXT
instance FromCStruct PhysicalDeviceFaultFeaturesEXT