module Graphics.Vulkan.Types.Struct.PhysicalDevice
(VkPhysicalDevice16BitStorageFeatures(..),
VkPhysicalDevice16BitStorageFeaturesKHR,
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(..),
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(..),
VkPhysicalDeviceConservativeRasterizationPropertiesEXT(..),
VkPhysicalDeviceDescriptorIndexingFeaturesEXT(..),
VkPhysicalDeviceDescriptorIndexingPropertiesEXT(..),
VkPhysicalDeviceDiscardRectanglePropertiesEXT(..),
VkPhysicalDeviceExternalBufferInfo(..),
VkPhysicalDeviceExternalBufferInfoKHR,
VkPhysicalDeviceExternalFenceInfo(..),
VkPhysicalDeviceExternalFenceInfoKHR,
VkPhysicalDeviceExternalImageFormatInfo(..),
VkPhysicalDeviceExternalImageFormatInfoKHR,
VkPhysicalDeviceExternalMemoryHostPropertiesEXT(..),
VkPhysicalDeviceExternalSemaphoreInfo(..),
VkPhysicalDeviceExternalSemaphoreInfoKHR,
VkPhysicalDeviceFeatures2(..), VkPhysicalDeviceFeatures2KHR,
VkPhysicalDeviceGroupProperties(..),
VkPhysicalDeviceGroupPropertiesKHR,
VkPhysicalDeviceIDProperties(..), VkPhysicalDeviceIDPropertiesKHR,
VkPhysicalDeviceImageFormatInfo2(..),
VkPhysicalDeviceImageFormatInfo2KHR, VkPhysicalDeviceLimits(..),
VkPhysicalDeviceMaintenance3Properties(..),
VkPhysicalDeviceMaintenance3PropertiesKHR,
VkPhysicalDeviceMemoryProperties(..),
VkPhysicalDeviceMemoryProperties2(..),
VkPhysicalDeviceMemoryProperties2KHR,
VkPhysicalDeviceMultiviewFeatures(..),
VkPhysicalDeviceMultiviewFeaturesKHR,
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(..),
VkPhysicalDeviceMultiviewProperties(..),
VkPhysicalDeviceMultiviewPropertiesKHR,
VkPhysicalDevicePointClippingProperties(..),
VkPhysicalDevicePointClippingPropertiesKHR,
VkPhysicalDeviceProperties(..), VkPhysicalDeviceProperties2(..),
VkPhysicalDeviceProperties2KHR,
VkPhysicalDeviceProtectedMemoryFeatures(..),
VkPhysicalDeviceProtectedMemoryProperties(..),
VkPhysicalDevicePushDescriptorPropertiesKHR(..),
VkPhysicalDeviceSampleLocationsPropertiesEXT(..),
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(..),
VkPhysicalDeviceSamplerYcbcrConversionFeatures(..),
VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR,
VkPhysicalDeviceShaderCorePropertiesAMD(..),
VkPhysicalDeviceShaderDrawParameterFeatures(..),
VkPhysicalDeviceSparseImageFormatInfo2(..),
VkPhysicalDeviceSparseImageFormatInfo2KHR,
VkPhysicalDeviceSparseProperties(..),
VkPhysicalDeviceSubgroupProperties(..),
VkPhysicalDeviceSurfaceInfo2KHR(..),
VkPhysicalDeviceVariablePointerFeatures(..),
VkPhysicalDeviceVariablePointerFeaturesKHR,
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(..))
where
import Foreign.Storable (Storable (..))
import GHC.Base (Addr#,
ByteArray#,
Proxy#,
byteArrayContents#,
plusAddr#,
proxy#)
import GHC.TypeLits (KnownNat,
natVal')
import Graphics.Vulkan.Constants (VK_LUID_SIZE,
pattern VK_LUID_SIZE,
VK_MAX_DEVICE_GROUP_SIZE,
pattern VK_MAX_DEVICE_GROUP_SIZE,
VK_MAX_MEMORY_HEAPS,
pattern VK_MAX_MEMORY_HEAPS,
VK_MAX_MEMORY_TYPES,
pattern VK_MAX_MEMORY_TYPES,
VK_MAX_PHYSICAL_DEVICE_NAME_SIZE,
pattern VK_MAX_PHYSICAL_DEVICE_NAME_SIZE,
VK_UUID_SIZE,
pattern VK_UUID_SIZE)
import Graphics.Vulkan.Marshal
import Graphics.Vulkan.Marshal.Internal
import Graphics.Vulkan.Types.BaseTypes (VkBool32, VkDeviceSize)
import Graphics.Vulkan.Types.Enum.Buffer (VkBufferCreateFlags,
VkBufferUsageFlags)
import Graphics.Vulkan.Types.Enum.External (VkExternalFenceHandleTypeFlagBits,
VkExternalMemoryHandleTypeFlagBits,
VkExternalSemaphoreHandleTypeFlagBits)
import Graphics.Vulkan.Types.Enum.Format (VkFormat)
import Graphics.Vulkan.Types.Enum.Image (VkImageCreateFlags,
VkImageTiling,
VkImageType,
VkImageUsageFlags)
import Graphics.Vulkan.Types.Enum.PhysicalDeviceType (VkPhysicalDeviceType)
import Graphics.Vulkan.Types.Enum.PointClippingBehavior (VkPointClippingBehavior)
import Graphics.Vulkan.Types.Enum.SampleCountFlags (VkSampleCountFlagBits,
VkSampleCountFlags)
import Graphics.Vulkan.Types.Enum.Shader (VkShaderStageFlags)
import Graphics.Vulkan.Types.Enum.StructureType (VkStructureType)
import Graphics.Vulkan.Types.Enum.SubgroupFeatureFlags (VkSubgroupFeatureFlags)
import Graphics.Vulkan.Types.Handles (VkPhysicalDevice,
VkSurfaceKHR)
import Graphics.Vulkan.Types.Struct.Device (VkDeviceCreateInfo)
import Graphics.Vulkan.Types.Struct.Extent (VkExtent2D)
import Graphics.Vulkan.Types.Struct.Memory (VkMemoryHeap,
VkMemoryType)
import Graphics.Vulkan.Types.Struct.PhysicalDeviceFeatures (VkPhysicalDeviceFeatures)
import System.IO.Unsafe (unsafeDupablePerformIO)
data VkPhysicalDevice16BitStorageFeatures = VkPhysicalDevice16BitStorageFeatures# Addr#
ByteArray#
instance Eq VkPhysicalDevice16BitStorageFeatures where
(VkPhysicalDevice16BitStorageFeatures# a _) ==
x@(VkPhysicalDevice16BitStorageFeatures# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDevice16BitStorageFeatures where
(VkPhysicalDevice16BitStorageFeatures# a _) `compare`
x@(VkPhysicalDevice16BitStorageFeatures# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDevice16BitStorageFeatures where
sizeOf ~_
= (32)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDevice16BitStorageFeatures
where
unsafeAddr (VkPhysicalDevice16BitStorageFeatures# a _) = a
unsafeByteArray (VkPhysicalDevice16BitStorageFeatures# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDevice16BitStorageFeatures#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDevice16BitStorageFeatures where
type StructFields VkPhysicalDevice16BitStorageFeatures =
'["sType", "pNext", "storageBuffer16BitAccess",
"uniformAndStorageBuffer16BitAccess", "storagePushConstant16",
"storageInputOutput16"]
type CUnionType VkPhysicalDevice16BitStorageFeatures = 'False
type ReturnedOnly VkPhysicalDevice16BitStorageFeatures = 'False
type StructExtends VkPhysicalDevice16BitStorageFeatures =
'[VkPhysicalDeviceFeatures2, VkDeviceCreateInfo]
instance
HasField "sType" VkPhysicalDevice16BitStorageFeatures where
type FieldType "sType" VkPhysicalDevice16BitStorageFeatures =
VkStructureType
type FieldOptional "sType" VkPhysicalDevice16BitStorageFeatures =
'False
type FieldOffset "sType" VkPhysicalDevice16BitStorageFeatures =
(0)
type FieldIsArray "sType" VkPhysicalDevice16BitStorageFeatures =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDevice16BitStorageFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDevice16BitStorageFeatures where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDevice16BitStorageFeatures where
type FieldType "pNext" VkPhysicalDevice16BitStorageFeatures =
Ptr Void
type FieldOptional "pNext" VkPhysicalDevice16BitStorageFeatures =
'False
type FieldOffset "pNext" VkPhysicalDevice16BitStorageFeatures =
(8)
type FieldIsArray "pNext" VkPhysicalDevice16BitStorageFeatures =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDevice16BitStorageFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDevice16BitStorageFeatures where
writeField p
= pokeByteOff p (8)
instance
HasField "storageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
where
type FieldType "storageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
= VkBool32
type FieldOptional "storageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
= 'False
type FieldOffset "storageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
=
(16)
type FieldIsArray "storageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "storageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "storageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
where
writeField p
= pokeByteOff p (16)
instance
HasField "uniformAndStorageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
where
type FieldType "uniformAndStorageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
= VkBool32
type FieldOptional "uniformAndStorageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
= 'False
type FieldOffset "uniformAndStorageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
=
(20)
type FieldIsArray "uniformAndStorageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "uniformAndStorageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "uniformAndStorageBuffer16BitAccess"
VkPhysicalDevice16BitStorageFeatures
where
writeField p
= pokeByteOff p (20)
instance
HasField "storagePushConstant16"
VkPhysicalDevice16BitStorageFeatures
where
type FieldType "storagePushConstant16"
VkPhysicalDevice16BitStorageFeatures
= VkBool32
type FieldOptional "storagePushConstant16"
VkPhysicalDevice16BitStorageFeatures
= 'False
type FieldOffset "storagePushConstant16"
VkPhysicalDevice16BitStorageFeatures
=
(24)
type FieldIsArray "storagePushConstant16"
VkPhysicalDevice16BitStorageFeatures
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "storagePushConstant16"
VkPhysicalDevice16BitStorageFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "storagePushConstant16"
VkPhysicalDevice16BitStorageFeatures
where
writeField p
= pokeByteOff p (24)
instance
HasField "storageInputOutput16"
VkPhysicalDevice16BitStorageFeatures
where
type FieldType "storageInputOutput16"
VkPhysicalDevice16BitStorageFeatures
= VkBool32
type FieldOptional "storageInputOutput16"
VkPhysicalDevice16BitStorageFeatures
= 'False
type FieldOffset "storageInputOutput16"
VkPhysicalDevice16BitStorageFeatures
=
(28)
type FieldIsArray "storageInputOutput16"
VkPhysicalDevice16BitStorageFeatures
= 'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "storageInputOutput16"
VkPhysicalDevice16BitStorageFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "storageInputOutput16"
VkPhysicalDevice16BitStorageFeatures
where
writeField p
= pokeByteOff p (28)
instance Show VkPhysicalDevice16BitStorageFeatures where
showsPrec d x
= showString "VkPhysicalDevice16BitStorageFeatures {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "storageBuffer16BitAccess = " .
showsPrec d (getField @"storageBuffer16BitAccess" x) .
showString ", " .
showString "uniformAndStorageBuffer16BitAccess = " .
showsPrec d (getField @"uniformAndStorageBuffer16BitAccess" x) .
showString ", " .
showString "storagePushConstant16 = " .
showsPrec d (getField @"storagePushConstant16" x) .
showString ", " .
showString "storageInputOutput16 = " .
showsPrec d (getField @"storageInputOutput16" x) .
showChar '}'
type VkPhysicalDevice16BitStorageFeaturesKHR =
VkPhysicalDevice16BitStorageFeatures
data VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT = VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT where
(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT# a _) ==
x@(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT# a _) `compare`
x@(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
unsafeAddr (VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT# a _)
= a
unsafeByteArray
(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
type StructFields VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= '["sType", "pNext", "advancedBlendCoherentOperations"]
type CUnionType VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT =
'False
type ReturnedOnly VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= 'False
type StructExtends
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= '[VkPhysicalDeviceFeatures2]
instance
HasField "sType" VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
type FieldType "sType"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
type FieldType "pNext"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "advancedBlendCoherentOperations"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
type FieldType "advancedBlendCoherentOperations"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= VkBool32
type FieldOptional "advancedBlendCoherentOperations"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= 'False
type FieldOffset "advancedBlendCoherentOperations"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
=
(16)
type FieldIsArray "advancedBlendCoherentOperations"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "advancedBlendCoherentOperations"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "advancedBlendCoherentOperations"
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
where
showsPrec d x
= showString "VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT {"
.
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "advancedBlendCoherentOperations = " .
showsPrec d (getField @"advancedBlendCoherentOperations" x) .
showChar '}'
data VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT = VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT# a _) ==
x@(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT# a _)
`compare`
x@(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
sizeOf ~_
= (40)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
unsafeAddr
(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT# a _) = a
unsafeByteArray
(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type StructFields
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
'["sType", "pNext", "advancedBlendMaxColorAttachments",
"advancedBlendIndependentBlend",
"advancedBlendNonPremultipliedSrcColor",
"advancedBlendNonPremultipliedDstColor",
"advancedBlendCorrelatedOverlap", "advancedBlendAllOperations"]
type CUnionType VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type ReturnedOnly
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'True
type StructExtends
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= '[VkPhysicalDeviceProperties2]
instance
HasField "sType"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type FieldType "sType"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type FieldType "pNext"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "advancedBlendMaxColorAttachments"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type FieldType "advancedBlendMaxColorAttachments"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= Word32
type FieldOptional "advancedBlendMaxColorAttachments"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type FieldOffset "advancedBlendMaxColorAttachments"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
(16)
type FieldIsArray "advancedBlendMaxColorAttachments"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "advancedBlendMaxColorAttachments"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "advancedBlendMaxColorAttachments"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
writeField p
= pokeByteOff p (16)
instance
HasField "advancedBlendIndependentBlend"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type FieldType "advancedBlendIndependentBlend"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= VkBool32
type FieldOptional "advancedBlendIndependentBlend"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type FieldOffset "advancedBlendIndependentBlend"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
(20)
type FieldIsArray "advancedBlendIndependentBlend"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "advancedBlendIndependentBlend"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "advancedBlendIndependentBlend"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
writeField p
= pokeByteOff p (20)
instance
HasField "advancedBlendNonPremultipliedSrcColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type FieldType "advancedBlendNonPremultipliedSrcColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= VkBool32
type FieldOptional "advancedBlendNonPremultipliedSrcColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type FieldOffset "advancedBlendNonPremultipliedSrcColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
(24)
type FieldIsArray "advancedBlendNonPremultipliedSrcColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "advancedBlendNonPremultipliedSrcColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "advancedBlendNonPremultipliedSrcColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
writeField p
= pokeByteOff p (24)
instance
HasField "advancedBlendNonPremultipliedDstColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type FieldType "advancedBlendNonPremultipliedDstColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= VkBool32
type FieldOptional "advancedBlendNonPremultipliedDstColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type FieldOffset "advancedBlendNonPremultipliedDstColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
(28)
type FieldIsArray "advancedBlendNonPremultipliedDstColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "advancedBlendNonPremultipliedDstColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "advancedBlendNonPremultipliedDstColor"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
writeField p
= pokeByteOff p (28)
instance
HasField "advancedBlendCorrelatedOverlap"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type FieldType "advancedBlendCorrelatedOverlap"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= VkBool32
type FieldOptional "advancedBlendCorrelatedOverlap"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type FieldOffset "advancedBlendCorrelatedOverlap"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
(32)
type FieldIsArray "advancedBlendCorrelatedOverlap"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (32)
instance
CanReadField "advancedBlendCorrelatedOverlap"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (32))
readField p
= peekByteOff p (32)
instance
CanWriteField "advancedBlendCorrelatedOverlap"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
writeField p
= pokeByteOff p (32)
instance
HasField "advancedBlendAllOperations"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
type FieldType "advancedBlendAllOperations"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= VkBool32
type FieldOptional "advancedBlendAllOperations"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
type FieldOffset "advancedBlendAllOperations"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
=
(36)
type FieldIsArray "advancedBlendAllOperations"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (36)
instance
CanReadField "advancedBlendAllOperations"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (36))
readField p
= peekByteOff p (36)
instance
CanWriteField "advancedBlendAllOperations"
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
writeField p
= pokeByteOff p (36)
instance Show VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
where
showsPrec d x
= showString
"VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT {"
.
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "advancedBlendMaxColorAttachments = " .
showsPrec d (getField @"advancedBlendMaxColorAttachments" x) .
showString ", " .
showString "advancedBlendIndependentBlend = " .
showsPrec d (getField @"advancedBlendIndependentBlend" x) .
showString ", " .
showString "advancedBlendNonPremultipliedSrcColor = " .
showsPrec d
(getField @"advancedBlendNonPremultipliedSrcColor" x)
.
showString ", " .
showString "advancedBlendNonPremultipliedDstColor = " .
showsPrec d
(getField @"advancedBlendNonPremultipliedDstColor"
x)
.
showString ", " .
showString "advancedBlendCorrelatedOverlap = " .
showsPrec d
(getField @"advancedBlendCorrelatedOverlap" x)
.
showString ", " .
showString "advancedBlendAllOperations = " .
showsPrec d
(getField @"advancedBlendAllOperations"
x)
. showChar '}'
data VkPhysicalDeviceConservativeRasterizationPropertiesEXT = VkPhysicalDeviceConservativeRasterizationPropertiesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
(VkPhysicalDeviceConservativeRasterizationPropertiesEXT# a _) ==
x@(VkPhysicalDeviceConservativeRasterizationPropertiesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
(VkPhysicalDeviceConservativeRasterizationPropertiesEXT# a _)
`compare`
x@(VkPhysicalDeviceConservativeRasterizationPropertiesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
sizeOf ~_
= (56)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
unsafeAddr
(VkPhysicalDeviceConservativeRasterizationPropertiesEXT# a _) = a
unsafeByteArray
(VkPhysicalDeviceConservativeRasterizationPropertiesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceConservativeRasterizationPropertiesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type StructFields
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
'["sType", "pNext", "primitiveOverestimationSize",
"maxExtraPrimitiveOverestimationSize",
"extraPrimitiveOverestimationSizeGranularity",
"primitiveUnderestimation",
"conservativePointAndLineRasterization",
"degenerateTrianglesRasterized", "degenerateLinesRasterized",
"fullyCoveredFragmentShaderInputVariable",
"conservativeRasterizationPostDepthCoverage"]
type CUnionType
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type ReturnedOnly
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type StructExtends
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= '[VkPhysicalDeviceProperties2]
instance
HasField "sType"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "sType"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "pNext"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "primitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "primitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= Float
type FieldOptional "primitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "primitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(16)
type FieldIsArray "primitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "primitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "primitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (16)
instance
HasField "maxExtraPrimitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "maxExtraPrimitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= Float
type FieldOptional "maxExtraPrimitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "maxExtraPrimitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(20)
type FieldIsArray "maxExtraPrimitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "maxExtraPrimitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "maxExtraPrimitiveOverestimationSize"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (20)
instance
HasField "extraPrimitiveOverestimationSizeGranularity"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "extraPrimitiveOverestimationSizeGranularity"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= Float
type FieldOptional "extraPrimitiveOverestimationSizeGranularity"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "extraPrimitiveOverestimationSizeGranularity"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(24)
type FieldIsArray "extraPrimitiveOverestimationSizeGranularity"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "extraPrimitiveOverestimationSizeGranularity"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "extraPrimitiveOverestimationSizeGranularity"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (24)
instance
HasField "primitiveUnderestimation"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "primitiveUnderestimation"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= VkBool32
type FieldOptional "primitiveUnderestimation"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "primitiveUnderestimation"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(28)
type FieldIsArray "primitiveUnderestimation"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "primitiveUnderestimation"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "primitiveUnderestimation"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (28)
instance
HasField "conservativePointAndLineRasterization"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "conservativePointAndLineRasterization"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= VkBool32
type FieldOptional "conservativePointAndLineRasterization"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "conservativePointAndLineRasterization"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(32)
type FieldIsArray "conservativePointAndLineRasterization"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (32)
instance
CanReadField "conservativePointAndLineRasterization"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (32))
readField p
= peekByteOff p (32)
instance
CanWriteField "conservativePointAndLineRasterization"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (32)
instance
HasField "degenerateTrianglesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "degenerateTrianglesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= VkBool32
type FieldOptional "degenerateTrianglesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "degenerateTrianglesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(36)
type FieldIsArray "degenerateTrianglesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (36)
instance
CanReadField "degenerateTrianglesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (36))
readField p
= peekByteOff p (36)
instance
CanWriteField "degenerateTrianglesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (36)
instance
HasField "degenerateLinesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "degenerateLinesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= VkBool32
type FieldOptional "degenerateLinesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "degenerateLinesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(40)
type FieldIsArray "degenerateLinesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (40)
instance
CanReadField "degenerateLinesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (40))
readField p
= peekByteOff p (40)
instance
CanWriteField "degenerateLinesRasterized"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (40)
instance
HasField "fullyCoveredFragmentShaderInputVariable"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "fullyCoveredFragmentShaderInputVariable"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= VkBool32
type FieldOptional "fullyCoveredFragmentShaderInputVariable"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "fullyCoveredFragmentShaderInputVariable"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(44)
type FieldIsArray "fullyCoveredFragmentShaderInputVariable"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (44)
instance
CanReadField "fullyCoveredFragmentShaderInputVariable"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (44))
readField p
= peekByteOff p (44)
instance
CanWriteField "fullyCoveredFragmentShaderInputVariable"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (44)
instance
HasField "conservativeRasterizationPostDepthCoverage"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
type FieldType "conservativeRasterizationPostDepthCoverage"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= VkBool32
type FieldOptional "conservativeRasterizationPostDepthCoverage"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
type FieldOffset "conservativeRasterizationPostDepthCoverage"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
=
(48)
type FieldIsArray "conservativeRasterizationPostDepthCoverage"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (48)
instance
CanReadField "conservativeRasterizationPostDepthCoverage"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (48))
readField p
= peekByteOff p (48)
instance
CanWriteField "conservativeRasterizationPostDepthCoverage"
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
writeField p
= pokeByteOff p (48)
instance Show
VkPhysicalDeviceConservativeRasterizationPropertiesEXT
where
showsPrec d x
= showString
"VkPhysicalDeviceConservativeRasterizationPropertiesEXT {"
.
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "primitiveOverestimationSize = " .
showsPrec d (getField @"primitiveOverestimationSize" x) .
showString ", " .
showString "maxExtraPrimitiveOverestimationSize = " .
showsPrec d (getField @"maxExtraPrimitiveOverestimationSize" x) .
showString ", " .
showString "extraPrimitiveOverestimationSizeGranularity = " .
showsPrec d
(getField @"extraPrimitiveOverestimationSizeGranularity"
x)
.
showString ", " .
showString "primitiveUnderestimation = " .
showsPrec d (getField @"primitiveUnderestimation" x) .
showString ", " .
showString
"conservativePointAndLineRasterization = "
.
showsPrec d
(getField
@"conservativePointAndLineRasterization"
x)
.
showString ", " .
showString
"degenerateTrianglesRasterized = "
.
showsPrec d
(getField
@"degenerateTrianglesRasterized"
x)
.
showString ", " .
showString
"degenerateLinesRasterized = "
.
showsPrec d
(getField
@"degenerateLinesRasterized"
x)
.
showString ", " .
showString
"fullyCoveredFragmentShaderInputVariable = "
.
showsPrec d
(getField
@"fullyCoveredFragmentShaderInputVariable"
x)
.
showString ", " .
showString
"conservativeRasterizationPostDepthCoverage = "
.
showsPrec d
(getField
@"conservativeRasterizationPostDepthCoverage"
x)
. showChar '}'
data VkPhysicalDeviceDescriptorIndexingFeaturesEXT = VkPhysicalDeviceDescriptorIndexingFeaturesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceDescriptorIndexingFeaturesEXT where
(VkPhysicalDeviceDescriptorIndexingFeaturesEXT# a _) ==
x@(VkPhysicalDeviceDescriptorIndexingFeaturesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceDescriptorIndexingFeaturesEXT where
(VkPhysicalDeviceDescriptorIndexingFeaturesEXT# a _) `compare`
x@(VkPhysicalDeviceDescriptorIndexingFeaturesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
sizeOf ~_
= (96)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
unsafeAddr (VkPhysicalDeviceDescriptorIndexingFeaturesEXT# a _) = a
unsafeByteArray
(VkPhysicalDeviceDescriptorIndexingFeaturesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceDescriptorIndexingFeaturesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type StructFields VkPhysicalDeviceDescriptorIndexingFeaturesEXT =
'["sType", "pNext", "shaderInputAttachmentArrayDynamicIndexing",
"shaderUniformTexelBufferArrayDynamicIndexing",
"shaderStorageTexelBufferArrayDynamicIndexing",
"shaderUniformBufferArrayNonUniformIndexing",
"shaderSampledImageArrayNonUniformIndexing",
"shaderStorageBufferArrayNonUniformIndexing",
"shaderStorageImageArrayNonUniformIndexing",
"shaderInputAttachmentArrayNonUniformIndexing",
"shaderUniformTexelBufferArrayNonUniformIndexing",
"shaderStorageTexelBufferArrayNonUniformIndexing",
"descriptorBindingUniformBufferUpdateAfterBind",
"descriptorBindingSampledImageUpdateAfterBind",
"descriptorBindingStorageImageUpdateAfterBind",
"descriptorBindingStorageBufferUpdateAfterBind",
"descriptorBindingUniformTexelBufferUpdateAfterBind",
"descriptorBindingStorageTexelBufferUpdateAfterBind",
"descriptorBindingUpdateUnusedWhilePending",
"descriptorBindingPartiallyBound",
"descriptorBindingVariableDescriptorCount",
"runtimeDescriptorArray"]
type CUnionType VkPhysicalDeviceDescriptorIndexingFeaturesEXT =
'False
type ReturnedOnly VkPhysicalDeviceDescriptorIndexingFeaturesEXT =
'False
type StructExtends VkPhysicalDeviceDescriptorIndexingFeaturesEXT =
'[VkPhysicalDeviceFeatures2, VkDeviceCreateInfo]
instance
HasField "sType" VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "sType"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "pNext"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "shaderInputAttachmentArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderInputAttachmentArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "shaderInputAttachmentArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderInputAttachmentArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(16)
type FieldIsArray "shaderInputAttachmentArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "shaderInputAttachmentArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "shaderInputAttachmentArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (16)
instance
HasField "shaderUniformTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderUniformTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "shaderUniformTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderUniformTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(20)
type FieldIsArray "shaderUniformTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "shaderUniformTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "shaderUniformTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (20)
instance
HasField "shaderStorageTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderStorageTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "shaderStorageTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderStorageTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(24)
type FieldIsArray "shaderStorageTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "shaderStorageTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "shaderStorageTexelBufferArrayDynamicIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (24)
instance
HasField "shaderUniformBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderUniformBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "shaderUniformBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderUniformBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(28)
type FieldIsArray "shaderUniformBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "shaderUniformBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "shaderUniformBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (28)
instance
HasField "shaderSampledImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderSampledImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "shaderSampledImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderSampledImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(32)
type FieldIsArray "shaderSampledImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (32)
instance
CanReadField "shaderSampledImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (32))
readField p
= peekByteOff p (32)
instance
CanWriteField "shaderSampledImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (32)
instance
HasField "shaderStorageBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderStorageBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "shaderStorageBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderStorageBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(36)
type FieldIsArray "shaderStorageBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (36)
instance
CanReadField "shaderStorageBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (36))
readField p
= peekByteOff p (36)
instance
CanWriteField "shaderStorageBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (36)
instance
HasField "shaderStorageImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderStorageImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "shaderStorageImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderStorageImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(40)
type FieldIsArray "shaderStorageImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (40)
instance
CanReadField "shaderStorageImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (40))
readField p
= peekByteOff p (40)
instance
CanWriteField "shaderStorageImageArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (40)
instance
HasField "shaderInputAttachmentArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderInputAttachmentArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "shaderInputAttachmentArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderInputAttachmentArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(44)
type FieldIsArray "shaderInputAttachmentArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (44)
instance
CanReadField "shaderInputAttachmentArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (44))
readField p
= peekByteOff p (44)
instance
CanWriteField "shaderInputAttachmentArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (44)
instance
HasField "shaderUniformTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderUniformTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional
"shaderUniformTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderUniformTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(48)
type FieldIsArray "shaderUniformTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (48)
instance
CanReadField "shaderUniformTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (48))
readField p
= peekByteOff p (48)
instance
CanWriteField "shaderUniformTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (48)
instance
HasField "shaderStorageTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "shaderStorageTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional
"shaderStorageTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "shaderStorageTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(52)
type FieldIsArray "shaderStorageTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (52)
instance
CanReadField "shaderStorageTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (52))
readField p
= peekByteOff p (52)
instance
CanWriteField "shaderStorageTexelBufferArrayNonUniformIndexing"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (52)
instance
HasField "descriptorBindingUniformBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingUniformBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "descriptorBindingUniformBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "descriptorBindingUniformBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(56)
type FieldIsArray "descriptorBindingUniformBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (56)
instance
CanReadField "descriptorBindingUniformBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (56))
readField p
= peekByteOff p (56)
instance
CanWriteField "descriptorBindingUniformBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (56)
instance
HasField "descriptorBindingSampledImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingSampledImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "descriptorBindingSampledImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "descriptorBindingSampledImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(60)
type FieldIsArray "descriptorBindingSampledImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (60)
instance
CanReadField "descriptorBindingSampledImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (60))
readField p
= peekByteOff p (60)
instance
CanWriteField "descriptorBindingSampledImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (60)
instance
HasField "descriptorBindingStorageImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingStorageImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "descriptorBindingStorageImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "descriptorBindingStorageImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(64)
type FieldIsArray "descriptorBindingStorageImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (64)
instance
CanReadField "descriptorBindingStorageImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (64))
readField p
= peekByteOff p (64)
instance
CanWriteField "descriptorBindingStorageImageUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (64)
instance
HasField "descriptorBindingStorageBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingStorageBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "descriptorBindingStorageBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "descriptorBindingStorageBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(68)
type FieldIsArray "descriptorBindingStorageBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (68)
instance
CanReadField "descriptorBindingStorageBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (68))
readField p
= peekByteOff p (68)
instance
CanWriteField "descriptorBindingStorageBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (68)
instance
HasField "descriptorBindingUniformTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingUniformTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional
"descriptorBindingUniformTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset
"descriptorBindingUniformTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(72)
type FieldIsArray
"descriptorBindingUniformTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (72)
instance
CanReadField "descriptorBindingUniformTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (72))
readField p
= peekByteOff p (72)
instance
CanWriteField "descriptorBindingUniformTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (72)
instance
HasField "descriptorBindingStorageTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingStorageTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional
"descriptorBindingStorageTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset
"descriptorBindingStorageTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(76)
type FieldIsArray
"descriptorBindingStorageTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (76)
instance
CanReadField "descriptorBindingStorageTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (76))
readField p
= peekByteOff p (76)
instance
CanWriteField "descriptorBindingStorageTexelBufferUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (76)
instance
HasField "descriptorBindingUpdateUnusedWhilePending"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingUpdateUnusedWhilePending"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "descriptorBindingUpdateUnusedWhilePending"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "descriptorBindingUpdateUnusedWhilePending"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(80)
type FieldIsArray "descriptorBindingUpdateUnusedWhilePending"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (80)
instance
CanReadField "descriptorBindingUpdateUnusedWhilePending"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (80))
readField p
= peekByteOff p (80)
instance
CanWriteField "descriptorBindingUpdateUnusedWhilePending"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (80)
instance
HasField "descriptorBindingPartiallyBound"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingPartiallyBound"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "descriptorBindingPartiallyBound"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "descriptorBindingPartiallyBound"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(84)
type FieldIsArray "descriptorBindingPartiallyBound"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (84)
instance
CanReadField "descriptorBindingPartiallyBound"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (84))
readField p
= peekByteOff p (84)
instance
CanWriteField "descriptorBindingPartiallyBound"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (84)
instance
HasField "descriptorBindingVariableDescriptorCount"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "descriptorBindingVariableDescriptorCount"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "descriptorBindingVariableDescriptorCount"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "descriptorBindingVariableDescriptorCount"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(88)
type FieldIsArray "descriptorBindingVariableDescriptorCount"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (88)
instance
CanReadField "descriptorBindingVariableDescriptorCount"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (88))
readField p
= peekByteOff p (88)
instance
CanWriteField "descriptorBindingVariableDescriptorCount"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (88)
instance
HasField "runtimeDescriptorArray"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
type FieldType "runtimeDescriptorArray"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= VkBool32
type FieldOptional "runtimeDescriptorArray"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
type FieldOffset "runtimeDescriptorArray"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
=
(92)
type FieldIsArray "runtimeDescriptorArray"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
= 'False
fieldOptional = False
fieldOffset
= (92)
instance
CanReadField "runtimeDescriptorArray"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (92))
readField p
= peekByteOff p (92)
instance
CanWriteField "runtimeDescriptorArray"
VkPhysicalDeviceDescriptorIndexingFeaturesEXT
where
writeField p
= pokeByteOff p (92)
instance Show VkPhysicalDeviceDescriptorIndexingFeaturesEXT where
showsPrec d x
= showString "VkPhysicalDeviceDescriptorIndexingFeaturesEXT {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "shaderInputAttachmentArrayDynamicIndexing = " .
showsPrec d
(getField @"shaderInputAttachmentArrayDynamicIndexing" x)
.
showString ", " .
showString "shaderUniformTexelBufferArrayDynamicIndexing = " .
showsPrec d
(getField @"shaderUniformTexelBufferArrayDynamicIndexing" x)
.
showString ", " .
showString "shaderStorageTexelBufferArrayDynamicIndexing = " .
showsPrec d
(getField @"shaderStorageTexelBufferArrayDynamicIndexing"
x)
.
showString ", " .
showString
"shaderUniformBufferArrayNonUniformIndexing = "
.
showsPrec d
(getField
@"shaderUniformBufferArrayNonUniformIndexing"
x)
.
showString ", " .
showString
"shaderSampledImageArrayNonUniformIndexing = "
.
showsPrec d
(getField
@"shaderSampledImageArrayNonUniformIndexing"
x)
.
showString ", " .
showString
"shaderStorageBufferArrayNonUniformIndexing = "
.
showsPrec d
(getField
@"shaderStorageBufferArrayNonUniformIndexing"
x)
.
showString ", " .
showString
"shaderStorageImageArrayNonUniformIndexing = "
.
showsPrec d
(getField
@"shaderStorageImageArrayNonUniformIndexing"
x)
.
showString ", " .
showString
"shaderInputAttachmentArrayNonUniformIndexing = "
.
showsPrec d
(getField
@"shaderInputAttachmentArrayNonUniformIndexing"
x)
.
showString ", " .
showString
"shaderUniformTexelBufferArrayNonUniformIndexing = "
.
showsPrec d
(getField
@"shaderUniformTexelBufferArrayNonUniformIndexing"
x)
.
showString ", " .
showString
"shaderStorageTexelBufferArrayNonUniformIndexing = "
.
showsPrec d
(getField
@"shaderStorageTexelBufferArrayNonUniformIndexing"
x)
.
showString ", "
.
showString
"descriptorBindingUniformBufferUpdateAfterBind = "
.
showsPrec d
(getField
@"descriptorBindingUniformBufferUpdateAfterBind"
x)
.
showString
", "
.
showString
"descriptorBindingSampledImageUpdateAfterBind = "
.
showsPrec
d
(getField
@"descriptorBindingSampledImageUpdateAfterBind"
x)
.
showString
", "
.
showString
"descriptorBindingStorageImageUpdateAfterBind = "
.
showsPrec
d
(getField
@"descriptorBindingStorageImageUpdateAfterBind"
x)
.
showString
", "
.
showString
"descriptorBindingStorageBufferUpdateAfterBind = "
.
showsPrec
d
(getField
@"descriptorBindingStorageBufferUpdateAfterBind"
x)
.
showString
", "
.
showString
"descriptorBindingUniformTexelBufferUpdateAfterBind = "
.
showsPrec
d
(getField
@"descriptorBindingUniformTexelBufferUpdateAfterBind"
x)
.
showString
", "
.
showString
"descriptorBindingStorageTexelBufferUpdateAfterBind = "
.
showsPrec
d
(getField
@"descriptorBindingStorageTexelBufferUpdateAfterBind"
x)
.
showString
", "
.
showString
"descriptorBindingUpdateUnusedWhilePending = "
.
showsPrec
d
(getField
@"descriptorBindingUpdateUnusedWhilePending"
x)
.
showString
", "
.
showString
"descriptorBindingPartiallyBound = "
.
showsPrec
d
(getField
@"descriptorBindingPartiallyBound"
x)
.
showString
", "
.
showString
"descriptorBindingVariableDescriptorCount = "
.
showsPrec
d
(getField
@"descriptorBindingVariableDescriptorCount"
x)
.
showString
", "
.
showString
"runtimeDescriptorArray = "
.
showsPrec
d
(getField
@"runtimeDescriptorArray"
x)
.
showChar
'}'
data VkPhysicalDeviceDescriptorIndexingPropertiesEXT = VkPhysicalDeviceDescriptorIndexingPropertiesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceDescriptorIndexingPropertiesEXT where
(VkPhysicalDeviceDescriptorIndexingPropertiesEXT# a _) ==
x@(VkPhysicalDeviceDescriptorIndexingPropertiesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceDescriptorIndexingPropertiesEXT where
(VkPhysicalDeviceDescriptorIndexingPropertiesEXT# a _) `compare`
x@(VkPhysicalDeviceDescriptorIndexingPropertiesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
sizeOf ~_
= (112)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
unsafeAddr (VkPhysicalDeviceDescriptorIndexingPropertiesEXT# a _)
= a
unsafeByteArray
(VkPhysicalDeviceDescriptorIndexingPropertiesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceDescriptorIndexingPropertiesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type StructFields VkPhysicalDeviceDescriptorIndexingPropertiesEXT =
'["sType", "pNext", "maxUpdateAfterBindDescriptorsInAllPools",
"shaderUniformBufferArrayNonUniformIndexingNative",
"shaderSampledImageArrayNonUniformIndexingNative",
"shaderStorageBufferArrayNonUniformIndexingNative",
"shaderStorageImageArrayNonUniformIndexingNative",
"shaderInputAttachmentArrayNonUniformIndexingNative",
"robustBufferAccessUpdateAfterBind", "quadDivergentImplicitLod",
"maxPerStageDescriptorUpdateAfterBindSamplers",
"maxPerStageDescriptorUpdateAfterBindUniformBuffers",
"maxPerStageDescriptorUpdateAfterBindStorageBuffers",
"maxPerStageDescriptorUpdateAfterBindSampledImages",
"maxPerStageDescriptorUpdateAfterBindStorageImages",
"maxPerStageDescriptorUpdateAfterBindInputAttachments",
"maxPerStageUpdateAfterBindResources",
"maxDescriptorSetUpdateAfterBindSamplers",
"maxDescriptorSetUpdateAfterBindUniformBuffers",
"maxDescriptorSetUpdateAfterBindUniformBuffersDynamic",
"maxDescriptorSetUpdateAfterBindStorageBuffers",
"maxDescriptorSetUpdateAfterBindStorageBuffersDynamic",
"maxDescriptorSetUpdateAfterBindSampledImages",
"maxDescriptorSetUpdateAfterBindStorageImages",
"maxDescriptorSetUpdateAfterBindInputAttachments"]
type CUnionType VkPhysicalDeviceDescriptorIndexingPropertiesEXT =
'False
type ReturnedOnly VkPhysicalDeviceDescriptorIndexingPropertiesEXT =
'True
type StructExtends VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= '[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "sType"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "pNext"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "maxUpdateAfterBindDescriptorsInAllPools"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxUpdateAfterBindDescriptorsInAllPools"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional "maxUpdateAfterBindDescriptorsInAllPools"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxUpdateAfterBindDescriptorsInAllPools"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(16)
type FieldIsArray "maxUpdateAfterBindDescriptorsInAllPools"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "maxUpdateAfterBindDescriptorsInAllPools"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "maxUpdateAfterBindDescriptorsInAllPools"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (16)
instance
HasField "shaderUniformBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "shaderUniformBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= VkBool32
type FieldOptional
"shaderUniformBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "shaderUniformBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(20)
type FieldIsArray
"shaderUniformBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "shaderUniformBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "shaderUniformBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (20)
instance
HasField "shaderSampledImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "shaderSampledImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= VkBool32
type FieldOptional
"shaderSampledImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "shaderSampledImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(24)
type FieldIsArray "shaderSampledImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "shaderSampledImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "shaderSampledImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (24)
instance
HasField "shaderStorageBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "shaderStorageBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= VkBool32
type FieldOptional
"shaderStorageBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "shaderStorageBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(28)
type FieldIsArray
"shaderStorageBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "shaderStorageBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "shaderStorageBufferArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (28)
instance
HasField "shaderStorageImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "shaderStorageImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= VkBool32
type FieldOptional
"shaderStorageImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "shaderStorageImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(32)
type FieldIsArray "shaderStorageImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (32)
instance
CanReadField "shaderStorageImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (32))
readField p
= peekByteOff p (32)
instance
CanWriteField "shaderStorageImageArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (32)
instance
HasField "shaderInputAttachmentArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "shaderInputAttachmentArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= VkBool32
type FieldOptional
"shaderInputAttachmentArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset
"shaderInputAttachmentArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(36)
type FieldIsArray
"shaderInputAttachmentArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (36)
instance
CanReadField "shaderInputAttachmentArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (36))
readField p
= peekByteOff p (36)
instance
CanWriteField "shaderInputAttachmentArrayNonUniformIndexingNative"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (36)
instance
HasField "robustBufferAccessUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "robustBufferAccessUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= VkBool32
type FieldOptional "robustBufferAccessUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "robustBufferAccessUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(40)
type FieldIsArray "robustBufferAccessUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (40)
instance
CanReadField "robustBufferAccessUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (40))
readField p
= peekByteOff p (40)
instance
CanWriteField "robustBufferAccessUpdateAfterBind"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (40)
instance
HasField "quadDivergentImplicitLod"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "quadDivergentImplicitLod"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= VkBool32
type FieldOptional "quadDivergentImplicitLod"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "quadDivergentImplicitLod"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(44)
type FieldIsArray "quadDivergentImplicitLod"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (44)
instance
CanReadField "quadDivergentImplicitLod"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (44))
readField p
= peekByteOff p (44)
instance
CanWriteField "quadDivergentImplicitLod"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (44)
instance
HasField "maxPerStageDescriptorUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxPerStageDescriptorUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional "maxPerStageDescriptorUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxPerStageDescriptorUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(48)
type FieldIsArray "maxPerStageDescriptorUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (48)
instance
CanReadField "maxPerStageDescriptorUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (48))
readField p
= peekByteOff p (48)
instance
CanWriteField "maxPerStageDescriptorUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (48)
instance
HasField "maxPerStageDescriptorUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxPerStageDescriptorUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional
"maxPerStageDescriptorUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset
"maxPerStageDescriptorUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(52)
type FieldIsArray
"maxPerStageDescriptorUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (52)
instance
CanReadField "maxPerStageDescriptorUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (52))
readField p
= peekByteOff p (52)
instance
CanWriteField "maxPerStageDescriptorUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (52)
instance
HasField "maxPerStageDescriptorUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxPerStageDescriptorUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional
"maxPerStageDescriptorUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset
"maxPerStageDescriptorUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(56)
type FieldIsArray
"maxPerStageDescriptorUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (56)
instance
CanReadField "maxPerStageDescriptorUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (56))
readField p
= peekByteOff p (56)
instance
CanWriteField "maxPerStageDescriptorUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (56)
instance
HasField "maxPerStageDescriptorUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxPerStageDescriptorUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional
"maxPerStageDescriptorUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset
"maxPerStageDescriptorUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(60)
type FieldIsArray
"maxPerStageDescriptorUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (60)
instance
CanReadField "maxPerStageDescriptorUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (60))
readField p
= peekByteOff p (60)
instance
CanWriteField "maxPerStageDescriptorUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (60)
instance
HasField "maxPerStageDescriptorUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxPerStageDescriptorUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional
"maxPerStageDescriptorUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset
"maxPerStageDescriptorUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(64)
type FieldIsArray
"maxPerStageDescriptorUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (64)
instance
CanReadField "maxPerStageDescriptorUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (64))
readField p
= peekByteOff p (64)
instance
CanWriteField "maxPerStageDescriptorUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (64)
instance
HasField "maxPerStageDescriptorUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType
"maxPerStageDescriptorUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional
"maxPerStageDescriptorUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset
"maxPerStageDescriptorUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(68)
type FieldIsArray
"maxPerStageDescriptorUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (68)
instance
CanReadField "maxPerStageDescriptorUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (68))
readField p
= peekByteOff p (68)
instance
CanWriteField
"maxPerStageDescriptorUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (68)
instance
HasField "maxPerStageUpdateAfterBindResources"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxPerStageUpdateAfterBindResources"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional "maxPerStageUpdateAfterBindResources"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxPerStageUpdateAfterBindResources"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(72)
type FieldIsArray "maxPerStageUpdateAfterBindResources"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (72)
instance
CanReadField "maxPerStageUpdateAfterBindResources"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (72))
readField p
= peekByteOff p (72)
instance
CanWriteField "maxPerStageUpdateAfterBindResources"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (72)
instance
HasField "maxDescriptorSetUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxDescriptorSetUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional "maxDescriptorSetUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxDescriptorSetUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(76)
type FieldIsArray "maxDescriptorSetUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (76)
instance
CanReadField "maxDescriptorSetUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (76))
readField p
= peekByteOff p (76)
instance
CanWriteField "maxDescriptorSetUpdateAfterBindSamplers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (76)
instance
HasField "maxDescriptorSetUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxDescriptorSetUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional "maxDescriptorSetUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxDescriptorSetUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(80)
type FieldIsArray "maxDescriptorSetUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (80)
instance
CanReadField "maxDescriptorSetUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (80))
readField p
= peekByteOff p (80)
instance
CanWriteField "maxDescriptorSetUpdateAfterBindUniformBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (80)
instance
HasField "maxDescriptorSetUpdateAfterBindUniformBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType
"maxDescriptorSetUpdateAfterBindUniformBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional
"maxDescriptorSetUpdateAfterBindUniformBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset
"maxDescriptorSetUpdateAfterBindUniformBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(84)
type FieldIsArray
"maxDescriptorSetUpdateAfterBindUniformBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (84)
instance
CanReadField "maxDescriptorSetUpdateAfterBindUniformBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (84))
readField p
= peekByteOff p (84)
instance
CanWriteField
"maxDescriptorSetUpdateAfterBindUniformBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (84)
instance
HasField "maxDescriptorSetUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxDescriptorSetUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional "maxDescriptorSetUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxDescriptorSetUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(88)
type FieldIsArray "maxDescriptorSetUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (88)
instance
CanReadField "maxDescriptorSetUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (88))
readField p
= peekByteOff p (88)
instance
CanWriteField "maxDescriptorSetUpdateAfterBindStorageBuffers"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (88)
instance
HasField "maxDescriptorSetUpdateAfterBindStorageBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType
"maxDescriptorSetUpdateAfterBindStorageBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional
"maxDescriptorSetUpdateAfterBindStorageBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset
"maxDescriptorSetUpdateAfterBindStorageBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(92)
type FieldIsArray
"maxDescriptorSetUpdateAfterBindStorageBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (92)
instance
CanReadField "maxDescriptorSetUpdateAfterBindStorageBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (92))
readField p
= peekByteOff p (92)
instance
CanWriteField
"maxDescriptorSetUpdateAfterBindStorageBuffersDynamic"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (92)
instance
HasField "maxDescriptorSetUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxDescriptorSetUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional "maxDescriptorSetUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxDescriptorSetUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(96)
type FieldIsArray "maxDescriptorSetUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (96)
instance
CanReadField "maxDescriptorSetUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (96))
readField p
= peekByteOff p (96)
instance
CanWriteField "maxDescriptorSetUpdateAfterBindSampledImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (96)
instance
HasField "maxDescriptorSetUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxDescriptorSetUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional "maxDescriptorSetUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxDescriptorSetUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(100)
type FieldIsArray "maxDescriptorSetUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (100)
instance
CanReadField "maxDescriptorSetUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (100))
readField p
= peekByteOff p (100)
instance
CanWriteField "maxDescriptorSetUpdateAfterBindStorageImages"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (100)
instance
HasField "maxDescriptorSetUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
type FieldType "maxDescriptorSetUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= Word32
type FieldOptional
"maxDescriptorSetUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
type FieldOffset "maxDescriptorSetUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
=
(104)
type FieldIsArray "maxDescriptorSetUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (104)
instance
CanReadField "maxDescriptorSetUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (104))
readField p
= peekByteOff p (104)
instance
CanWriteField "maxDescriptorSetUpdateAfterBindInputAttachments"
VkPhysicalDeviceDescriptorIndexingPropertiesEXT
where
writeField p
= pokeByteOff p (104)
instance Show VkPhysicalDeviceDescriptorIndexingPropertiesEXT where
showsPrec d x
= showString "VkPhysicalDeviceDescriptorIndexingPropertiesEXT {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "maxUpdateAfterBindDescriptorsInAllPools = " .
showsPrec d (getField @"maxUpdateAfterBindDescriptorsInAllPools" x)
.
showString ", " .
showString "shaderUniformBufferArrayNonUniformIndexingNative = " .
showsPrec d
(getField @"shaderUniformBufferArrayNonUniformIndexingNative" x)
.
showString ", " .
showString
"shaderSampledImageArrayNonUniformIndexingNative = "
.
showsPrec d
(getField
@"shaderSampledImageArrayNonUniformIndexingNative"
x)
.
showString ", " .
showString
"shaderStorageBufferArrayNonUniformIndexingNative = "
.
showsPrec d
(getField
@"shaderStorageBufferArrayNonUniformIndexingNative"
x)
.
showString ", " .
showString
"shaderStorageImageArrayNonUniformIndexingNative = "
.
showsPrec d
(getField
@"shaderStorageImageArrayNonUniformIndexingNative"
x)
.
showString ", " .
showString
"shaderInputAttachmentArrayNonUniformIndexingNative = "
.
showsPrec d
(getField
@"shaderInputAttachmentArrayNonUniformIndexingNative"
x)
.
showString ", " .
showString
"robustBufferAccessUpdateAfterBind = "
.
showsPrec d
(getField
@"robustBufferAccessUpdateAfterBind"
x)
.
showString ", " .
showString
"quadDivergentImplicitLod = "
.
showsPrec d
(getField
@"quadDivergentImplicitLod"
x)
.
showString ", " .
showString
"maxPerStageDescriptorUpdateAfterBindSamplers = "
.
showsPrec d
(getField
@"maxPerStageDescriptorUpdateAfterBindSamplers"
x)
.
showString ", " .
showString
"maxPerStageDescriptorUpdateAfterBindUniformBuffers = "
.
showsPrec d
(getField
@"maxPerStageDescriptorUpdateAfterBindUniformBuffers"
x)
.
showString ", "
.
showString
"maxPerStageDescriptorUpdateAfterBindStorageBuffers = "
.
showsPrec d
(getField
@"maxPerStageDescriptorUpdateAfterBindStorageBuffers"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorUpdateAfterBindSampledImages = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorUpdateAfterBindSampledImages"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorUpdateAfterBindStorageImages = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorUpdateAfterBindStorageImages"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorUpdateAfterBindInputAttachments = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorUpdateAfterBindInputAttachments"
x)
.
showString
", "
.
showString
"maxPerStageUpdateAfterBindResources = "
.
showsPrec
d
(getField
@"maxPerStageUpdateAfterBindResources"
x)
.
showString
", "
.
showString
"maxDescriptorSetUpdateAfterBindSamplers = "
.
showsPrec
d
(getField
@"maxDescriptorSetUpdateAfterBindSamplers"
x)
.
showString
", "
.
showString
"maxDescriptorSetUpdateAfterBindUniformBuffers = "
.
showsPrec
d
(getField
@"maxDescriptorSetUpdateAfterBindUniformBuffers"
x)
.
showString
", "
.
showString
"maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = "
.
showsPrec
d
(getField
@"maxDescriptorSetUpdateAfterBindUniformBuffersDynamic"
x)
.
showString
", "
.
showString
"maxDescriptorSetUpdateAfterBindStorageBuffers = "
.
showsPrec
d
(getField
@"maxDescriptorSetUpdateAfterBindStorageBuffers"
x)
.
showString
", "
.
showString
"maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = "
.
showsPrec
d
(getField
@"maxDescriptorSetUpdateAfterBindStorageBuffersDynamic"
x)
.
showString
", "
.
showString
"maxDescriptorSetUpdateAfterBindSampledImages = "
.
showsPrec
d
(getField
@"maxDescriptorSetUpdateAfterBindSampledImages"
x)
.
showString
", "
.
showString
"maxDescriptorSetUpdateAfterBindStorageImages = "
.
showsPrec
d
(getField
@"maxDescriptorSetUpdateAfterBindStorageImages"
x)
.
showString
", "
.
showString
"maxDescriptorSetUpdateAfterBindInputAttachments = "
.
showsPrec
d
(getField
@"maxDescriptorSetUpdateAfterBindInputAttachments"
x)
.
showChar
'}'
data VkPhysicalDeviceDiscardRectanglePropertiesEXT = VkPhysicalDeviceDiscardRectanglePropertiesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceDiscardRectanglePropertiesEXT where
(VkPhysicalDeviceDiscardRectanglePropertiesEXT# a _) ==
x@(VkPhysicalDeviceDiscardRectanglePropertiesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceDiscardRectanglePropertiesEXT where
(VkPhysicalDeviceDiscardRectanglePropertiesEXT# a _) `compare`
x@(VkPhysicalDeviceDiscardRectanglePropertiesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
unsafeAddr (VkPhysicalDeviceDiscardRectanglePropertiesEXT# a _) = a
unsafeByteArray
(VkPhysicalDeviceDiscardRectanglePropertiesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceDiscardRectanglePropertiesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
type StructFields VkPhysicalDeviceDiscardRectanglePropertiesEXT =
'["sType", "pNext", "maxDiscardRectangles"]
type CUnionType VkPhysicalDeviceDiscardRectanglePropertiesEXT =
'False
type ReturnedOnly VkPhysicalDeviceDiscardRectanglePropertiesEXT =
'False
type StructExtends VkPhysicalDeviceDiscardRectanglePropertiesEXT =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
type FieldType "sType"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
type FieldType "pNext"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "maxDiscardRectangles"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
type FieldType "maxDiscardRectangles"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= Word32
type FieldOptional "maxDiscardRectangles"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= 'False
type FieldOffset "maxDiscardRectangles"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
=
(16)
type FieldIsArray "maxDiscardRectangles"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "maxDiscardRectangles"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "maxDiscardRectangles"
VkPhysicalDeviceDiscardRectanglePropertiesEXT
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceDiscardRectanglePropertiesEXT where
showsPrec d x
= showString "VkPhysicalDeviceDiscardRectanglePropertiesEXT {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "maxDiscardRectangles = " .
showsPrec d (getField @"maxDiscardRectangles" x) . showChar '}'
data VkPhysicalDeviceExternalBufferInfo = VkPhysicalDeviceExternalBufferInfo# Addr#
ByteArray#
instance Eq VkPhysicalDeviceExternalBufferInfo where
(VkPhysicalDeviceExternalBufferInfo# a _) ==
x@(VkPhysicalDeviceExternalBufferInfo# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceExternalBufferInfo where
(VkPhysicalDeviceExternalBufferInfo# a _) `compare`
x@(VkPhysicalDeviceExternalBufferInfo# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceExternalBufferInfo where
sizeOf ~_ = (32)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceExternalBufferInfo where
unsafeAddr (VkPhysicalDeviceExternalBufferInfo# a _) = a
unsafeByteArray (VkPhysicalDeviceExternalBufferInfo# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceExternalBufferInfo#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceExternalBufferInfo where
type StructFields VkPhysicalDeviceExternalBufferInfo =
'["sType", "pNext", "flags", "usage", "handleType"]
type CUnionType VkPhysicalDeviceExternalBufferInfo = 'False
type ReturnedOnly VkPhysicalDeviceExternalBufferInfo = 'False
type StructExtends VkPhysicalDeviceExternalBufferInfo = '[]
instance
HasField "sType" VkPhysicalDeviceExternalBufferInfo where
type FieldType "sType" VkPhysicalDeviceExternalBufferInfo =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceExternalBufferInfo =
'False
type FieldOffset "sType" VkPhysicalDeviceExternalBufferInfo =
(0)
type FieldIsArray "sType" VkPhysicalDeviceExternalBufferInfo =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceExternalBufferInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceExternalBufferInfo where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceExternalBufferInfo where
type FieldType "pNext" VkPhysicalDeviceExternalBufferInfo =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceExternalBufferInfo =
'False
type FieldOffset "pNext" VkPhysicalDeviceExternalBufferInfo =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceExternalBufferInfo =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceExternalBufferInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceExternalBufferInfo where
writeField p
= pokeByteOff p (8)
instance
HasField "flags" VkPhysicalDeviceExternalBufferInfo where
type FieldType "flags" VkPhysicalDeviceExternalBufferInfo =
VkBufferCreateFlags
type FieldOptional "flags" VkPhysicalDeviceExternalBufferInfo =
'True
type FieldOffset "flags" VkPhysicalDeviceExternalBufferInfo =
(16)
type FieldIsArray "flags" VkPhysicalDeviceExternalBufferInfo =
'False
fieldOptional = True
fieldOffset
= (16)
instance
CanReadField "flags" VkPhysicalDeviceExternalBufferInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "flags" VkPhysicalDeviceExternalBufferInfo where
writeField p
= pokeByteOff p (16)
instance
HasField "usage" VkPhysicalDeviceExternalBufferInfo where
type FieldType "usage" VkPhysicalDeviceExternalBufferInfo =
VkBufferUsageFlags
type FieldOptional "usage" VkPhysicalDeviceExternalBufferInfo =
'False
type FieldOffset "usage" VkPhysicalDeviceExternalBufferInfo =
(20)
type FieldIsArray "usage" VkPhysicalDeviceExternalBufferInfo =
'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "usage" VkPhysicalDeviceExternalBufferInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "usage" VkPhysicalDeviceExternalBufferInfo where
writeField p
= pokeByteOff p (20)
instance
HasField "handleType" VkPhysicalDeviceExternalBufferInfo where
type FieldType "handleType" VkPhysicalDeviceExternalBufferInfo =
VkExternalMemoryHandleTypeFlagBits
type FieldOptional "handleType" VkPhysicalDeviceExternalBufferInfo
= 'False
type FieldOffset "handleType" VkPhysicalDeviceExternalBufferInfo =
(24)
type FieldIsArray "handleType" VkPhysicalDeviceExternalBufferInfo =
'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "handleType" VkPhysicalDeviceExternalBufferInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "handleType" VkPhysicalDeviceExternalBufferInfo where
writeField p
= pokeByteOff p (24)
instance Show VkPhysicalDeviceExternalBufferInfo where
showsPrec d x
= showString "VkPhysicalDeviceExternalBufferInfo {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "flags = " .
showsPrec d (getField @"flags" x) .
showString ", " .
showString "usage = " .
showsPrec d (getField @"usage" x) .
showString ", " .
showString "handleType = " .
showsPrec d (getField @"handleType" x) . showChar '}'
type VkPhysicalDeviceExternalBufferInfoKHR =
VkPhysicalDeviceExternalBufferInfo
data VkPhysicalDeviceExternalFenceInfo = VkPhysicalDeviceExternalFenceInfo# Addr#
ByteArray#
instance Eq VkPhysicalDeviceExternalFenceInfo where
(VkPhysicalDeviceExternalFenceInfo# a _) ==
x@(VkPhysicalDeviceExternalFenceInfo# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceExternalFenceInfo where
(VkPhysicalDeviceExternalFenceInfo# a _) `compare`
x@(VkPhysicalDeviceExternalFenceInfo# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceExternalFenceInfo where
sizeOf ~_ = (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceExternalFenceInfo where
unsafeAddr (VkPhysicalDeviceExternalFenceInfo# a _) = a
unsafeByteArray (VkPhysicalDeviceExternalFenceInfo# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceExternalFenceInfo#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceExternalFenceInfo where
type StructFields VkPhysicalDeviceExternalFenceInfo =
'["sType", "pNext", "handleType"]
type CUnionType VkPhysicalDeviceExternalFenceInfo = 'False
type ReturnedOnly VkPhysicalDeviceExternalFenceInfo = 'False
type StructExtends VkPhysicalDeviceExternalFenceInfo = '[]
instance
HasField "sType" VkPhysicalDeviceExternalFenceInfo where
type FieldType "sType" VkPhysicalDeviceExternalFenceInfo =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceExternalFenceInfo =
'False
type FieldOffset "sType" VkPhysicalDeviceExternalFenceInfo =
(0)
type FieldIsArray "sType" VkPhysicalDeviceExternalFenceInfo =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceExternalFenceInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceExternalFenceInfo where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceExternalFenceInfo where
type FieldType "pNext" VkPhysicalDeviceExternalFenceInfo = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceExternalFenceInfo =
'False
type FieldOffset "pNext" VkPhysicalDeviceExternalFenceInfo =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceExternalFenceInfo =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceExternalFenceInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceExternalFenceInfo where
writeField p
= pokeByteOff p (8)
instance
HasField "handleType" VkPhysicalDeviceExternalFenceInfo where
type FieldType "handleType" VkPhysicalDeviceExternalFenceInfo =
VkExternalFenceHandleTypeFlagBits
type FieldOptional "handleType" VkPhysicalDeviceExternalFenceInfo =
'False
type FieldOffset "handleType" VkPhysicalDeviceExternalFenceInfo =
(16)
type FieldIsArray "handleType" VkPhysicalDeviceExternalFenceInfo =
'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "handleType" VkPhysicalDeviceExternalFenceInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "handleType" VkPhysicalDeviceExternalFenceInfo where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceExternalFenceInfo where
showsPrec d x
= showString "VkPhysicalDeviceExternalFenceInfo {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "handleType = " .
showsPrec d (getField @"handleType" x) . showChar '}'
type VkPhysicalDeviceExternalFenceInfoKHR =
VkPhysicalDeviceExternalFenceInfo
data VkPhysicalDeviceExternalImageFormatInfo = VkPhysicalDeviceExternalImageFormatInfo# Addr#
ByteArray#
instance Eq VkPhysicalDeviceExternalImageFormatInfo where
(VkPhysicalDeviceExternalImageFormatInfo# a _) ==
x@(VkPhysicalDeviceExternalImageFormatInfo# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceExternalImageFormatInfo where
(VkPhysicalDeviceExternalImageFormatInfo# a _) `compare`
x@(VkPhysicalDeviceExternalImageFormatInfo# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceExternalImageFormatInfo where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceExternalImageFormatInfo
where
unsafeAddr (VkPhysicalDeviceExternalImageFormatInfo# a _) = a
unsafeByteArray (VkPhysicalDeviceExternalImageFormatInfo# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceExternalImageFormatInfo#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceExternalImageFormatInfo
where
type StructFields VkPhysicalDeviceExternalImageFormatInfo =
'["sType", "pNext", "handleType"]
type CUnionType VkPhysicalDeviceExternalImageFormatInfo = 'False
type ReturnedOnly VkPhysicalDeviceExternalImageFormatInfo = 'False
type StructExtends VkPhysicalDeviceExternalImageFormatInfo =
'[VkPhysicalDeviceImageFormatInfo2]
instance
HasField "sType" VkPhysicalDeviceExternalImageFormatInfo where
type FieldType "sType" VkPhysicalDeviceExternalImageFormatInfo =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceExternalImageFormatInfo
= 'False
type FieldOffset "sType" VkPhysicalDeviceExternalImageFormatInfo =
(0)
type FieldIsArray "sType" VkPhysicalDeviceExternalImageFormatInfo =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceExternalImageFormatInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceExternalImageFormatInfo where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceExternalImageFormatInfo where
type FieldType "pNext" VkPhysicalDeviceExternalImageFormatInfo =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceExternalImageFormatInfo
= 'False
type FieldOffset "pNext" VkPhysicalDeviceExternalImageFormatInfo =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceExternalImageFormatInfo =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceExternalImageFormatInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceExternalImageFormatInfo where
writeField p
= pokeByteOff p (8)
instance
HasField "handleType" VkPhysicalDeviceExternalImageFormatInfo where
type FieldType "handleType" VkPhysicalDeviceExternalImageFormatInfo
= VkExternalMemoryHandleTypeFlagBits
type FieldOptional "handleType"
VkPhysicalDeviceExternalImageFormatInfo
= 'True
type FieldOffset "handleType"
VkPhysicalDeviceExternalImageFormatInfo
=
(16)
type FieldIsArray "handleType"
VkPhysicalDeviceExternalImageFormatInfo
= 'False
fieldOptional = True
fieldOffset
= (16)
instance
CanReadField "handleType" VkPhysicalDeviceExternalImageFormatInfo
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "handleType" VkPhysicalDeviceExternalImageFormatInfo
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceExternalImageFormatInfo where
showsPrec d x
= showString "VkPhysicalDeviceExternalImageFormatInfo {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "handleType = " .
showsPrec d (getField @"handleType" x) . showChar '}'
type VkPhysicalDeviceExternalImageFormatInfoKHR =
VkPhysicalDeviceExternalImageFormatInfo
data VkPhysicalDeviceExternalMemoryHostPropertiesEXT = VkPhysicalDeviceExternalMemoryHostPropertiesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceExternalMemoryHostPropertiesEXT where
(VkPhysicalDeviceExternalMemoryHostPropertiesEXT# a _) ==
x@(VkPhysicalDeviceExternalMemoryHostPropertiesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceExternalMemoryHostPropertiesEXT where
(VkPhysicalDeviceExternalMemoryHostPropertiesEXT# a _) `compare`
x@(VkPhysicalDeviceExternalMemoryHostPropertiesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
unsafeAddr (VkPhysicalDeviceExternalMemoryHostPropertiesEXT# a _)
= a
unsafeByteArray
(VkPhysicalDeviceExternalMemoryHostPropertiesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceExternalMemoryHostPropertiesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
type StructFields VkPhysicalDeviceExternalMemoryHostPropertiesEXT =
'["sType", "pNext", "minImportedHostPointerAlignment"]
type CUnionType VkPhysicalDeviceExternalMemoryHostPropertiesEXT =
'False
type ReturnedOnly VkPhysicalDeviceExternalMemoryHostPropertiesEXT =
'False
type StructExtends VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= '[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
type FieldType "sType"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
type FieldType "pNext"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "minImportedHostPointerAlignment"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
type FieldType "minImportedHostPointerAlignment"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= VkDeviceSize
type FieldOptional "minImportedHostPointerAlignment"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= 'False
type FieldOffset "minImportedHostPointerAlignment"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
=
(16)
type FieldIsArray "minImportedHostPointerAlignment"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "minImportedHostPointerAlignment"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "minImportedHostPointerAlignment"
VkPhysicalDeviceExternalMemoryHostPropertiesEXT
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceExternalMemoryHostPropertiesEXT where
showsPrec d x
= showString "VkPhysicalDeviceExternalMemoryHostPropertiesEXT {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "minImportedHostPointerAlignment = " .
showsPrec d (getField @"minImportedHostPointerAlignment" x) .
showChar '}'
data VkPhysicalDeviceExternalSemaphoreInfo = VkPhysicalDeviceExternalSemaphoreInfo# Addr#
ByteArray#
instance Eq VkPhysicalDeviceExternalSemaphoreInfo where
(VkPhysicalDeviceExternalSemaphoreInfo# a _) ==
x@(VkPhysicalDeviceExternalSemaphoreInfo# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceExternalSemaphoreInfo where
(VkPhysicalDeviceExternalSemaphoreInfo# a _) `compare`
x@(VkPhysicalDeviceExternalSemaphoreInfo# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceExternalSemaphoreInfo where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceExternalSemaphoreInfo
where
unsafeAddr (VkPhysicalDeviceExternalSemaphoreInfo# a _) = a
unsafeByteArray (VkPhysicalDeviceExternalSemaphoreInfo# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceExternalSemaphoreInfo#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceExternalSemaphoreInfo where
type StructFields VkPhysicalDeviceExternalSemaphoreInfo =
'["sType", "pNext", "handleType"]
type CUnionType VkPhysicalDeviceExternalSemaphoreInfo = 'False
type ReturnedOnly VkPhysicalDeviceExternalSemaphoreInfo = 'False
type StructExtends VkPhysicalDeviceExternalSemaphoreInfo = '[]
instance
HasField "sType" VkPhysicalDeviceExternalSemaphoreInfo where
type FieldType "sType" VkPhysicalDeviceExternalSemaphoreInfo =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceExternalSemaphoreInfo =
'False
type FieldOffset "sType" VkPhysicalDeviceExternalSemaphoreInfo =
(0)
type FieldIsArray "sType" VkPhysicalDeviceExternalSemaphoreInfo =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceExternalSemaphoreInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceExternalSemaphoreInfo where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceExternalSemaphoreInfo where
type FieldType "pNext" VkPhysicalDeviceExternalSemaphoreInfo =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceExternalSemaphoreInfo =
'False
type FieldOffset "pNext" VkPhysicalDeviceExternalSemaphoreInfo =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceExternalSemaphoreInfo =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceExternalSemaphoreInfo where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceExternalSemaphoreInfo where
writeField p
= pokeByteOff p (8)
instance
HasField "handleType" VkPhysicalDeviceExternalSemaphoreInfo where
type FieldType "handleType" VkPhysicalDeviceExternalSemaphoreInfo =
VkExternalSemaphoreHandleTypeFlagBits
type FieldOptional "handleType"
VkPhysicalDeviceExternalSemaphoreInfo
= 'False
type FieldOffset "handleType" VkPhysicalDeviceExternalSemaphoreInfo
=
(16)
type FieldIsArray "handleType"
VkPhysicalDeviceExternalSemaphoreInfo
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "handleType" VkPhysicalDeviceExternalSemaphoreInfo
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "handleType" VkPhysicalDeviceExternalSemaphoreInfo
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceExternalSemaphoreInfo where
showsPrec d x
= showString "VkPhysicalDeviceExternalSemaphoreInfo {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "handleType = " .
showsPrec d (getField @"handleType" x) . showChar '}'
type VkPhysicalDeviceExternalSemaphoreInfoKHR =
VkPhysicalDeviceExternalSemaphoreInfo
data VkPhysicalDeviceFeatures2 = VkPhysicalDeviceFeatures2# Addr#
ByteArray#
instance Eq VkPhysicalDeviceFeatures2 where
(VkPhysicalDeviceFeatures2# a _) ==
x@(VkPhysicalDeviceFeatures2# b _) = EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceFeatures2 where
(VkPhysicalDeviceFeatures2# a _) `compare`
x@(VkPhysicalDeviceFeatures2# b _) = cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceFeatures2 where
sizeOf ~_ = (240)
alignment ~_ = (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceFeatures2 where
unsafeAddr (VkPhysicalDeviceFeatures2# a _) = a
unsafeByteArray (VkPhysicalDeviceFeatures2# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceFeatures2# (plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceFeatures2 where
type StructFields VkPhysicalDeviceFeatures2 =
'["sType", "pNext", "features"]
type CUnionType VkPhysicalDeviceFeatures2 = 'False
type ReturnedOnly VkPhysicalDeviceFeatures2 = 'False
type StructExtends VkPhysicalDeviceFeatures2 =
'[VkDeviceCreateInfo]
instance
HasField "sType" VkPhysicalDeviceFeatures2 where
type FieldType "sType" VkPhysicalDeviceFeatures2 = VkStructureType
type FieldOptional "sType" VkPhysicalDeviceFeatures2 = 'False
type FieldOffset "sType" VkPhysicalDeviceFeatures2 =
(0)
type FieldIsArray "sType" VkPhysicalDeviceFeatures2 = 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceFeatures2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceFeatures2 where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceFeatures2 where
type FieldType "pNext" VkPhysicalDeviceFeatures2 = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceFeatures2 = 'False
type FieldOffset "pNext" VkPhysicalDeviceFeatures2 =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceFeatures2 = 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceFeatures2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceFeatures2 where
writeField p
= pokeByteOff p (8)
instance
HasField "features" VkPhysicalDeviceFeatures2 where
type FieldType "features" VkPhysicalDeviceFeatures2 =
VkPhysicalDeviceFeatures
type FieldOptional "features" VkPhysicalDeviceFeatures2 = 'False
type FieldOffset "features" VkPhysicalDeviceFeatures2 =
(16)
type FieldIsArray "features" VkPhysicalDeviceFeatures2 = 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "features" VkPhysicalDeviceFeatures2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "features" VkPhysicalDeviceFeatures2 where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceFeatures2 where
showsPrec d x
= showString "VkPhysicalDeviceFeatures2 {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "features = " .
showsPrec d (getField @"features" x) . showChar '}'
type VkPhysicalDeviceFeatures2KHR = VkPhysicalDeviceFeatures2
data VkPhysicalDeviceGroupProperties = VkPhysicalDeviceGroupProperties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceGroupProperties where
(VkPhysicalDeviceGroupProperties# a _) ==
x@(VkPhysicalDeviceGroupProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceGroupProperties where
(VkPhysicalDeviceGroupProperties# a _) `compare`
x@(VkPhysicalDeviceGroupProperties# b _) = cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceGroupProperties where
sizeOf ~_ = (288)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceGroupProperties where
unsafeAddr (VkPhysicalDeviceGroupProperties# a _) = a
unsafeByteArray (VkPhysicalDeviceGroupProperties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceGroupProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceGroupProperties where
type StructFields VkPhysicalDeviceGroupProperties =
'["sType", "pNext", "physicalDeviceCount", "physicalDevices",
"subsetAllocation"]
type CUnionType VkPhysicalDeviceGroupProperties = 'False
type ReturnedOnly VkPhysicalDeviceGroupProperties = 'True
type StructExtends VkPhysicalDeviceGroupProperties = '[]
instance
HasField "sType" VkPhysicalDeviceGroupProperties where
type FieldType "sType" VkPhysicalDeviceGroupProperties =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceGroupProperties = 'False
type FieldOffset "sType" VkPhysicalDeviceGroupProperties =
(0)
type FieldIsArray "sType" VkPhysicalDeviceGroupProperties = 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceGroupProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceGroupProperties where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceGroupProperties where
type FieldType "pNext" VkPhysicalDeviceGroupProperties = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceGroupProperties = 'False
type FieldOffset "pNext" VkPhysicalDeviceGroupProperties =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceGroupProperties = 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceGroupProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceGroupProperties where
writeField p
= pokeByteOff p (8)
instance
HasField "physicalDeviceCount" VkPhysicalDeviceGroupProperties
where
type FieldType "physicalDeviceCount"
VkPhysicalDeviceGroupProperties
= Word32
type FieldOptional "physicalDeviceCount"
VkPhysicalDeviceGroupProperties
= 'False
type FieldOffset "physicalDeviceCount"
VkPhysicalDeviceGroupProperties
=
(16)
type FieldIsArray "physicalDeviceCount"
VkPhysicalDeviceGroupProperties
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "physicalDeviceCount" VkPhysicalDeviceGroupProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "physicalDeviceCount" VkPhysicalDeviceGroupProperties
where
writeField p
= pokeByteOff p (16)
instance
HasField "physicalDevices" VkPhysicalDeviceGroupProperties where
type FieldType "physicalDevices" VkPhysicalDeviceGroupProperties =
VkPhysicalDevice
type FieldOptional "physicalDevices"
VkPhysicalDeviceGroupProperties
= 'False
type FieldOffset "physicalDevices" VkPhysicalDeviceGroupProperties
=
(24)
type FieldIsArray "physicalDevices" VkPhysicalDeviceGroupProperties
= 'True
fieldOptional = False
fieldOffset
= (24)
instance
(KnownNat idx,
IndexInBounds "physicalDevices" idx
VkPhysicalDeviceGroupProperties) =>
CanReadFieldArray "physicalDevices" idx
VkPhysicalDeviceGroupProperties
where
type FieldArrayLength "physicalDevices"
VkPhysicalDeviceGroupProperties
= VK_MAX_DEVICE_GROUP_SIZE
fieldArrayLength = VK_MAX_DEVICE_GROUP_SIZE
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (24)
+
sizeOf (undefined :: VkPhysicalDevice) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((24)
+
sizeOf (undefined :: VkPhysicalDevice) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "physicalDevices" idx
VkPhysicalDeviceGroupProperties) =>
CanWriteFieldArray "physicalDevices" idx
VkPhysicalDeviceGroupProperties
where
writeFieldArray p
= pokeByteOff p
((24)
+
sizeOf (undefined :: VkPhysicalDevice) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "subsetAllocation" VkPhysicalDeviceGroupProperties where
type FieldType "subsetAllocation" VkPhysicalDeviceGroupProperties =
VkBool32
type FieldOptional "subsetAllocation"
VkPhysicalDeviceGroupProperties
= 'False
type FieldOffset "subsetAllocation" VkPhysicalDeviceGroupProperties
=
(280)
type FieldIsArray "subsetAllocation"
VkPhysicalDeviceGroupProperties
= 'False
fieldOptional = False
fieldOffset
= (280)
instance
CanReadField "subsetAllocation" VkPhysicalDeviceGroupProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (280))
readField p
= peekByteOff p (280)
instance
CanWriteField "subsetAllocation" VkPhysicalDeviceGroupProperties
where
writeField p
= pokeByteOff p (280)
instance Show VkPhysicalDeviceGroupProperties where
showsPrec d x
= showString "VkPhysicalDeviceGroupProperties {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "physicalDeviceCount = " .
showsPrec d (getField @"physicalDeviceCount" x) .
showString ", " .
(showString "physicalDevices = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "physicalDevices"
VkPhysicalDeviceGroupProperties)
o = fieldOffset @"physicalDevices"
@VkPhysicalDeviceGroupProperties
f i
= peekByteOff (unsafePtr x) i ::
IO
(FieldType "physicalDevices"
VkPhysicalDeviceGroupProperties)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s)
[0 .. VK_MAX_DEVICE_GROUP_SIZE 1])
. showChar ']')
.
showString ", " .
showString "subsetAllocation = " .
showsPrec d (getField @"subsetAllocation" x) . showChar '}'
type VkPhysicalDeviceGroupPropertiesKHR =
VkPhysicalDeviceGroupProperties
data VkPhysicalDeviceIDProperties = VkPhysicalDeviceIDProperties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceIDProperties where
(VkPhysicalDeviceIDProperties# a _) ==
x@(VkPhysicalDeviceIDProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceIDProperties where
(VkPhysicalDeviceIDProperties# a _) `compare`
x@(VkPhysicalDeviceIDProperties# b _) = cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceIDProperties where
sizeOf ~_ = (64)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceIDProperties where
unsafeAddr (VkPhysicalDeviceIDProperties# a _) = a
unsafeByteArray (VkPhysicalDeviceIDProperties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceIDProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceIDProperties where
type StructFields VkPhysicalDeviceIDProperties =
'["sType", "pNext", "deviceUUID", "driverUUID", "deviceLUID",
"deviceNodeMask", "deviceLUIDValid"]
type CUnionType VkPhysicalDeviceIDProperties = 'False
type ReturnedOnly VkPhysicalDeviceIDProperties = 'True
type StructExtends VkPhysicalDeviceIDProperties =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceIDProperties where
type FieldType "sType" VkPhysicalDeviceIDProperties =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceIDProperties = 'False
type FieldOffset "sType" VkPhysicalDeviceIDProperties =
(0)
type FieldIsArray "sType" VkPhysicalDeviceIDProperties = 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceIDProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceIDProperties where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceIDProperties where
type FieldType "pNext" VkPhysicalDeviceIDProperties = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceIDProperties = 'False
type FieldOffset "pNext" VkPhysicalDeviceIDProperties =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceIDProperties = 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceIDProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceIDProperties where
writeField p
= pokeByteOff p (8)
instance
HasField "deviceUUID" VkPhysicalDeviceIDProperties where
type FieldType "deviceUUID" VkPhysicalDeviceIDProperties = Word8
type FieldOptional "deviceUUID" VkPhysicalDeviceIDProperties =
'False
type FieldOffset "deviceUUID" VkPhysicalDeviceIDProperties =
(16)
type FieldIsArray "deviceUUID" VkPhysicalDeviceIDProperties = 'True
fieldOptional = False
fieldOffset
= (16)
instance
(KnownNat idx,
IndexInBounds "deviceUUID" idx VkPhysicalDeviceIDProperties) =>
CanReadFieldArray "deviceUUID" idx VkPhysicalDeviceIDProperties
where
type FieldArrayLength "deviceUUID" VkPhysicalDeviceIDProperties =
VK_UUID_SIZE
fieldArrayLength = VK_UUID_SIZE
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (16) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((16) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "deviceUUID" idx VkPhysicalDeviceIDProperties) =>
CanWriteFieldArray "deviceUUID" idx VkPhysicalDeviceIDProperties
where
writeFieldArray p
= pokeByteOff p
((16) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "driverUUID" VkPhysicalDeviceIDProperties where
type FieldType "driverUUID" VkPhysicalDeviceIDProperties = Word8
type FieldOptional "driverUUID" VkPhysicalDeviceIDProperties =
'False
type FieldOffset "driverUUID" VkPhysicalDeviceIDProperties =
(32)
type FieldIsArray "driverUUID" VkPhysicalDeviceIDProperties = 'True
fieldOptional = False
fieldOffset
= (32)
instance
(KnownNat idx,
IndexInBounds "driverUUID" idx VkPhysicalDeviceIDProperties) =>
CanReadFieldArray "driverUUID" idx VkPhysicalDeviceIDProperties
where
type FieldArrayLength "driverUUID" VkPhysicalDeviceIDProperties =
VK_UUID_SIZE
fieldArrayLength = VK_UUID_SIZE
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (32) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((32) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "driverUUID" idx VkPhysicalDeviceIDProperties) =>
CanWriteFieldArray "driverUUID" idx VkPhysicalDeviceIDProperties
where
writeFieldArray p
= pokeByteOff p
((32) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "deviceLUID" VkPhysicalDeviceIDProperties where
type FieldType "deviceLUID" VkPhysicalDeviceIDProperties = Word8
type FieldOptional "deviceLUID" VkPhysicalDeviceIDProperties =
'False
type FieldOffset "deviceLUID" VkPhysicalDeviceIDProperties =
(48)
type FieldIsArray "deviceLUID" VkPhysicalDeviceIDProperties = 'True
fieldOptional = False
fieldOffset
= (48)
instance
(KnownNat idx,
IndexInBounds "deviceLUID" idx VkPhysicalDeviceIDProperties) =>
CanReadFieldArray "deviceLUID" idx VkPhysicalDeviceIDProperties
where
type FieldArrayLength "deviceLUID" VkPhysicalDeviceIDProperties =
VK_LUID_SIZE
fieldArrayLength = VK_LUID_SIZE
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (48) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((48) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "deviceLUID" idx VkPhysicalDeviceIDProperties) =>
CanWriteFieldArray "deviceLUID" idx VkPhysicalDeviceIDProperties
where
writeFieldArray p
= pokeByteOff p
((48) +
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "deviceNodeMask" VkPhysicalDeviceIDProperties where
type FieldType "deviceNodeMask" VkPhysicalDeviceIDProperties =
Word32
type FieldOptional "deviceNodeMask" VkPhysicalDeviceIDProperties =
'False
type FieldOffset "deviceNodeMask" VkPhysicalDeviceIDProperties =
(56)
type FieldIsArray "deviceNodeMask" VkPhysicalDeviceIDProperties =
'False
fieldOptional = False
fieldOffset
= (56)
instance
CanReadField "deviceNodeMask" VkPhysicalDeviceIDProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (56))
readField p
= peekByteOff p (56)
instance
CanWriteField "deviceNodeMask" VkPhysicalDeviceIDProperties where
writeField p
= pokeByteOff p (56)
instance
HasField "deviceLUIDValid" VkPhysicalDeviceIDProperties where
type FieldType "deviceLUIDValid" VkPhysicalDeviceIDProperties =
VkBool32
type FieldOptional "deviceLUIDValid" VkPhysicalDeviceIDProperties =
'False
type FieldOffset "deviceLUIDValid" VkPhysicalDeviceIDProperties =
(60)
type FieldIsArray "deviceLUIDValid" VkPhysicalDeviceIDProperties =
'False
fieldOptional = False
fieldOffset
= (60)
instance
CanReadField "deviceLUIDValid" VkPhysicalDeviceIDProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (60))
readField p
= peekByteOff p (60)
instance
CanWriteField "deviceLUIDValid" VkPhysicalDeviceIDProperties where
writeField p
= pokeByteOff p (60)
instance Show VkPhysicalDeviceIDProperties where
showsPrec d x
= showString "VkPhysicalDeviceIDProperties {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
(showString "deviceUUID = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "deviceUUID" VkPhysicalDeviceIDProperties)
o = fieldOffset @"deviceUUID" @VkPhysicalDeviceIDProperties
f i
= peekByteOff (unsafePtr x) i ::
IO (FieldType "deviceUUID" VkPhysicalDeviceIDProperties)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s) [0 .. VK_UUID_SIZE 1])
. showChar ']')
.
showString ", " .
(showString "driverUUID = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "driverUUID"
VkPhysicalDeviceIDProperties)
o = fieldOffset @"driverUUID" @VkPhysicalDeviceIDProperties
f i
= peekByteOff (unsafePtr x) i ::
IO
(FieldType "driverUUID"
VkPhysicalDeviceIDProperties)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s) [0 .. VK_UUID_SIZE 1])
. showChar ']')
.
showString ", " .
(showString "deviceLUID = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "deviceLUID"
VkPhysicalDeviceIDProperties)
o = fieldOffset @"deviceLUID"
@VkPhysicalDeviceIDProperties
f i
= peekByteOff (unsafePtr x) i ::
IO
(FieldType "deviceLUID"
VkPhysicalDeviceIDProperties)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s) [0 .. VK_LUID_SIZE 1])
. showChar ']')
.
showString ", " .
showString "deviceNodeMask = " .
showsPrec d (getField @"deviceNodeMask" x) .
showString ", " .
showString "deviceLUIDValid = " .
showsPrec d (getField @"deviceLUIDValid" x) .
showChar '}'
type VkPhysicalDeviceIDPropertiesKHR = VkPhysicalDeviceIDProperties
data VkPhysicalDeviceImageFormatInfo2 = VkPhysicalDeviceImageFormatInfo2# Addr#
ByteArray#
instance Eq VkPhysicalDeviceImageFormatInfo2 where
(VkPhysicalDeviceImageFormatInfo2# a _) ==
x@(VkPhysicalDeviceImageFormatInfo2# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceImageFormatInfo2 where
(VkPhysicalDeviceImageFormatInfo2# a _) `compare`
x@(VkPhysicalDeviceImageFormatInfo2# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceImageFormatInfo2 where
sizeOf ~_ = (40)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceImageFormatInfo2 where
unsafeAddr (VkPhysicalDeviceImageFormatInfo2# a _) = a
unsafeByteArray (VkPhysicalDeviceImageFormatInfo2# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceImageFormatInfo2#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceImageFormatInfo2 where
type StructFields VkPhysicalDeviceImageFormatInfo2 =
'["sType", "pNext", "format", "type", "tiling", "usage", "flags"]
type CUnionType VkPhysicalDeviceImageFormatInfo2 = 'False
type ReturnedOnly VkPhysicalDeviceImageFormatInfo2 = 'False
type StructExtends VkPhysicalDeviceImageFormatInfo2 = '[]
instance
HasField "sType" VkPhysicalDeviceImageFormatInfo2 where
type FieldType "sType" VkPhysicalDeviceImageFormatInfo2 =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceImageFormatInfo2 =
'False
type FieldOffset "sType" VkPhysicalDeviceImageFormatInfo2 =
(0)
type FieldIsArray "sType" VkPhysicalDeviceImageFormatInfo2 = 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceImageFormatInfo2 where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceImageFormatInfo2 where
type FieldType "pNext" VkPhysicalDeviceImageFormatInfo2 = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceImageFormatInfo2 =
'False
type FieldOffset "pNext" VkPhysicalDeviceImageFormatInfo2 =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceImageFormatInfo2 = 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceImageFormatInfo2 where
writeField p
= pokeByteOff p (8)
instance
HasField "format" VkPhysicalDeviceImageFormatInfo2 where
type FieldType "format" VkPhysicalDeviceImageFormatInfo2 = VkFormat
type FieldOptional "format" VkPhysicalDeviceImageFormatInfo2 =
'False
type FieldOffset "format" VkPhysicalDeviceImageFormatInfo2 =
(16)
type FieldIsArray "format" VkPhysicalDeviceImageFormatInfo2 =
'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "format" VkPhysicalDeviceImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "format" VkPhysicalDeviceImageFormatInfo2 where
writeField p
= pokeByteOff p (16)
instance
HasField "type" VkPhysicalDeviceImageFormatInfo2 where
type FieldType "type" VkPhysicalDeviceImageFormatInfo2 =
VkImageType
type FieldOptional "type" VkPhysicalDeviceImageFormatInfo2 = 'False
type FieldOffset "type" VkPhysicalDeviceImageFormatInfo2 =
(20)
type FieldIsArray "type" VkPhysicalDeviceImageFormatInfo2 = 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "type" VkPhysicalDeviceImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "type" VkPhysicalDeviceImageFormatInfo2 where
writeField p
= pokeByteOff p (20)
instance
HasField "tiling" VkPhysicalDeviceImageFormatInfo2 where
type FieldType "tiling" VkPhysicalDeviceImageFormatInfo2 =
VkImageTiling
type FieldOptional "tiling" VkPhysicalDeviceImageFormatInfo2 =
'False
type FieldOffset "tiling" VkPhysicalDeviceImageFormatInfo2 =
(24)
type FieldIsArray "tiling" VkPhysicalDeviceImageFormatInfo2 =
'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "tiling" VkPhysicalDeviceImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "tiling" VkPhysicalDeviceImageFormatInfo2 where
writeField p
= pokeByteOff p (24)
instance
HasField "usage" VkPhysicalDeviceImageFormatInfo2 where
type FieldType "usage" VkPhysicalDeviceImageFormatInfo2 =
VkImageUsageFlags
type FieldOptional "usage" VkPhysicalDeviceImageFormatInfo2 =
'False
type FieldOffset "usage" VkPhysicalDeviceImageFormatInfo2 =
(28)
type FieldIsArray "usage" VkPhysicalDeviceImageFormatInfo2 = 'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "usage" VkPhysicalDeviceImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "usage" VkPhysicalDeviceImageFormatInfo2 where
writeField p
= pokeByteOff p (28)
instance
HasField "flags" VkPhysicalDeviceImageFormatInfo2 where
type FieldType "flags" VkPhysicalDeviceImageFormatInfo2 =
VkImageCreateFlags
type FieldOptional "flags" VkPhysicalDeviceImageFormatInfo2 = 'True
type FieldOffset "flags" VkPhysicalDeviceImageFormatInfo2 =
(32)
type FieldIsArray "flags" VkPhysicalDeviceImageFormatInfo2 = 'False
fieldOptional = True
fieldOffset
= (32)
instance
CanReadField "flags" VkPhysicalDeviceImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (32))
readField p
= peekByteOff p (32)
instance
CanWriteField "flags" VkPhysicalDeviceImageFormatInfo2 where
writeField p
= pokeByteOff p (32)
instance Show VkPhysicalDeviceImageFormatInfo2 where
showsPrec d x
= showString "VkPhysicalDeviceImageFormatInfo2 {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "format = " .
showsPrec d (getField @"format" x) .
showString ", " .
showString "type = " .
showsPrec d (getField @"type" x) .
showString ", " .
showString "tiling = " .
showsPrec d (getField @"tiling" x) .
showString ", " .
showString "usage = " .
showsPrec d (getField @"usage" x) .
showString ", " .
showString "flags = " .
showsPrec d (getField @"flags" x) . showChar '}'
type VkPhysicalDeviceImageFormatInfo2KHR =
VkPhysicalDeviceImageFormatInfo2
data VkPhysicalDeviceLimits = VkPhysicalDeviceLimits# Addr#
ByteArray#
instance Eq VkPhysicalDeviceLimits where
(VkPhysicalDeviceLimits# a _) == x@(VkPhysicalDeviceLimits# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceLimits where
(VkPhysicalDeviceLimits# a _) `compare`
x@(VkPhysicalDeviceLimits# b _) = cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceLimits where
sizeOf ~_ = (504)
alignment ~_ = (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceLimits where
unsafeAddr (VkPhysicalDeviceLimits# a _) = a
unsafeByteArray (VkPhysicalDeviceLimits# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceLimits# (plusAddr# (byteArrayContents# b) off) b
instance VulkanMarshal VkPhysicalDeviceLimits where
type StructFields VkPhysicalDeviceLimits =
'["maxImageDimension1D", "maxImageDimension2D",
"maxImageDimension3D", "maxImageDimensionCube",
"maxImageArrayLayers", "maxTexelBufferElements",
"maxUniformBufferRange", "maxStorageBufferRange",
"maxPushConstantsSize", "maxMemoryAllocationCount",
"maxSamplerAllocationCount", "bufferImageGranularity",
"sparseAddressSpaceSize", "maxBoundDescriptorSets",
"maxPerStageDescriptorSamplers",
"maxPerStageDescriptorUniformBuffers",
"maxPerStageDescriptorStorageBuffers",
"maxPerStageDescriptorSampledImages",
"maxPerStageDescriptorStorageImages",
"maxPerStageDescriptorInputAttachments", "maxPerStageResources",
"maxDescriptorSetSamplers", "maxDescriptorSetUniformBuffers",
"maxDescriptorSetUniformBuffersDynamic",
"maxDescriptorSetStorageBuffers",
"maxDescriptorSetStorageBuffersDynamic",
"maxDescriptorSetSampledImages", "maxDescriptorSetStorageImages",
"maxDescriptorSetInputAttachments", "maxVertexInputAttributes",
"maxVertexInputBindings", "maxVertexInputAttributeOffset",
"maxVertexInputBindingStride", "maxVertexOutputComponents",
"maxTessellationGenerationLevel", "maxTessellationPatchSize",
"maxTessellationControlPerVertexInputComponents",
"maxTessellationControlPerVertexOutputComponents",
"maxTessellationControlPerPatchOutputComponents",
"maxTessellationControlTotalOutputComponents",
"maxTessellationEvaluationInputComponents",
"maxTessellationEvaluationOutputComponents",
"maxGeometryShaderInvocations", "maxGeometryInputComponents",
"maxGeometryOutputComponents", "maxGeometryOutputVertices",
"maxGeometryTotalOutputComponents", "maxFragmentInputComponents",
"maxFragmentOutputAttachments", "maxFragmentDualSrcAttachments",
"maxFragmentCombinedOutputResources", "maxComputeSharedMemorySize",
"maxComputeWorkGroupCount", "maxComputeWorkGroupInvocations",
"maxComputeWorkGroupSize", "subPixelPrecisionBits",
"subTexelPrecisionBits", "mipmapPrecisionBits",
"maxDrawIndexedIndexValue", "maxDrawIndirectCount",
"maxSamplerLodBias", "maxSamplerAnisotropy", "maxViewports",
"maxViewportDimensions", "viewportBoundsRange",
"viewportSubPixelBits", "minMemoryMapAlignment",
"minTexelBufferOffsetAlignment", "minUniformBufferOffsetAlignment",
"minStorageBufferOffsetAlignment", "minTexelOffset",
"maxTexelOffset", "minTexelGatherOffset", "maxTexelGatherOffset",
"minInterpolationOffset", "maxInterpolationOffset",
"subPixelInterpolationOffsetBits", "maxFramebufferWidth",
"maxFramebufferHeight", "maxFramebufferLayers",
"framebufferColorSampleCounts", "framebufferDepthSampleCounts",
"framebufferStencilSampleCounts",
"framebufferNoAttachmentsSampleCounts", "maxColorAttachments",
"sampledImageColorSampleCounts", "sampledImageIntegerSampleCounts",
"sampledImageDepthSampleCounts", "sampledImageStencilSampleCounts",
"storageImageSampleCounts", "maxSampleMaskWords",
"timestampComputeAndGraphics", "timestampPeriod",
"maxClipDistances", "maxCullDistances",
"maxCombinedClipAndCullDistances", "discreteQueuePriorities",
"pointSizeRange", "lineWidthRange", "pointSizeGranularity",
"lineWidthGranularity", "strictLines", "standardSampleLocations",
"optimalBufferCopyOffsetAlignment",
"optimalBufferCopyRowPitchAlignment", "nonCoherentAtomSize"]
type CUnionType VkPhysicalDeviceLimits = 'False
type ReturnedOnly VkPhysicalDeviceLimits = 'True
type StructExtends VkPhysicalDeviceLimits = '[]
instance
HasField "maxImageDimension1D" VkPhysicalDeviceLimits where
type FieldType "maxImageDimension1D" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxImageDimension1D" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxImageDimension1D" VkPhysicalDeviceLimits =
(0)
type FieldIsArray "maxImageDimension1D" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "maxImageDimension1D" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "maxImageDimension1D" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (0)
instance
HasField "maxImageDimension2D" VkPhysicalDeviceLimits where
type FieldType "maxImageDimension2D" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxImageDimension2D" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxImageDimension2D" VkPhysicalDeviceLimits =
(4)
type FieldIsArray "maxImageDimension2D" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (4)
instance
CanReadField "maxImageDimension2D" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (4))
readField p
= peekByteOff p (4)
instance
CanWriteField "maxImageDimension2D" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (4)
instance
HasField "maxImageDimension3D" VkPhysicalDeviceLimits where
type FieldType "maxImageDimension3D" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxImageDimension3D" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxImageDimension3D" VkPhysicalDeviceLimits =
(8)
type FieldIsArray "maxImageDimension3D" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "maxImageDimension3D" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "maxImageDimension3D" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (8)
instance
HasField "maxImageDimensionCube" VkPhysicalDeviceLimits where
type FieldType "maxImageDimensionCube" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxImageDimensionCube" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxImageDimensionCube" VkPhysicalDeviceLimits =
(12)
type FieldIsArray "maxImageDimensionCube" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (12)
instance
CanReadField "maxImageDimensionCube" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (12))
readField p
= peekByteOff p (12)
instance
CanWriteField "maxImageDimensionCube" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (12)
instance
HasField "maxImageArrayLayers" VkPhysicalDeviceLimits where
type FieldType "maxImageArrayLayers" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxImageArrayLayers" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxImageArrayLayers" VkPhysicalDeviceLimits =
(16)
type FieldIsArray "maxImageArrayLayers" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "maxImageArrayLayers" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "maxImageArrayLayers" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (16)
instance
HasField "maxTexelBufferElements" VkPhysicalDeviceLimits where
type FieldType "maxTexelBufferElements" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxTexelBufferElements" VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTexelBufferElements" VkPhysicalDeviceLimits =
(20)
type FieldIsArray "maxTexelBufferElements" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "maxTexelBufferElements" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "maxTexelBufferElements" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (20)
instance
HasField "maxUniformBufferRange" VkPhysicalDeviceLimits where
type FieldType "maxUniformBufferRange" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxUniformBufferRange" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxUniformBufferRange" VkPhysicalDeviceLimits =
(24)
type FieldIsArray "maxUniformBufferRange" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "maxUniformBufferRange" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "maxUniformBufferRange" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (24)
instance
HasField "maxStorageBufferRange" VkPhysicalDeviceLimits where
type FieldType "maxStorageBufferRange" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxStorageBufferRange" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxStorageBufferRange" VkPhysicalDeviceLimits =
(28)
type FieldIsArray "maxStorageBufferRange" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "maxStorageBufferRange" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "maxStorageBufferRange" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (28)
instance
HasField "maxPushConstantsSize" VkPhysicalDeviceLimits where
type FieldType "maxPushConstantsSize" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxPushConstantsSize" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxPushConstantsSize" VkPhysicalDeviceLimits =
(32)
type FieldIsArray "maxPushConstantsSize" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (32)
instance
CanReadField "maxPushConstantsSize" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (32))
readField p
= peekByteOff p (32)
instance
CanWriteField "maxPushConstantsSize" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (32)
instance
HasField "maxMemoryAllocationCount" VkPhysicalDeviceLimits where
type FieldType "maxMemoryAllocationCount" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxMemoryAllocationCount"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxMemoryAllocationCount" VkPhysicalDeviceLimits
=
(36)
type FieldIsArray "maxMemoryAllocationCount" VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (36)
instance
CanReadField "maxMemoryAllocationCount" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (36))
readField p
= peekByteOff p (36)
instance
CanWriteField "maxMemoryAllocationCount" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (36)
instance
HasField "maxSamplerAllocationCount" VkPhysicalDeviceLimits where
type FieldType "maxSamplerAllocationCount" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxSamplerAllocationCount"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxSamplerAllocationCount" VkPhysicalDeviceLimits
=
(40)
type FieldIsArray "maxSamplerAllocationCount"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (40)
instance
CanReadField "maxSamplerAllocationCount" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (40))
readField p
= peekByteOff p (40)
instance
CanWriteField "maxSamplerAllocationCount" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (40)
instance
HasField "bufferImageGranularity" VkPhysicalDeviceLimits where
type FieldType "bufferImageGranularity" VkPhysicalDeviceLimits =
VkDeviceSize
type FieldOptional "bufferImageGranularity" VkPhysicalDeviceLimits
= 'False
type FieldOffset "bufferImageGranularity" VkPhysicalDeviceLimits =
(48)
type FieldIsArray "bufferImageGranularity" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (48)
instance
CanReadField "bufferImageGranularity" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (48))
readField p
= peekByteOff p (48)
instance
CanWriteField "bufferImageGranularity" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (48)
instance
HasField "sparseAddressSpaceSize" VkPhysicalDeviceLimits where
type FieldType "sparseAddressSpaceSize" VkPhysicalDeviceLimits =
VkDeviceSize
type FieldOptional "sparseAddressSpaceSize" VkPhysicalDeviceLimits
= 'False
type FieldOffset "sparseAddressSpaceSize" VkPhysicalDeviceLimits =
(56)
type FieldIsArray "sparseAddressSpaceSize" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (56)
instance
CanReadField "sparseAddressSpaceSize" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (56))
readField p
= peekByteOff p (56)
instance
CanWriteField "sparseAddressSpaceSize" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (56)
instance
HasField "maxBoundDescriptorSets" VkPhysicalDeviceLimits where
type FieldType "maxBoundDescriptorSets" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxBoundDescriptorSets" VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxBoundDescriptorSets" VkPhysicalDeviceLimits =
(64)
type FieldIsArray "maxBoundDescriptorSets" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (64)
instance
CanReadField "maxBoundDescriptorSets" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (64))
readField p
= peekByteOff p (64)
instance
CanWriteField "maxBoundDescriptorSets" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (64)
instance
HasField "maxPerStageDescriptorSamplers" VkPhysicalDeviceLimits
where
type FieldType "maxPerStageDescriptorSamplers"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxPerStageDescriptorSamplers"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxPerStageDescriptorSamplers"
VkPhysicalDeviceLimits
=
(68)
type FieldIsArray "maxPerStageDescriptorSamplers"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (68)
instance
CanReadField "maxPerStageDescriptorSamplers" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (68))
readField p
= peekByteOff p (68)
instance
CanWriteField "maxPerStageDescriptorSamplers"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (68)
instance
HasField "maxPerStageDescriptorUniformBuffers"
VkPhysicalDeviceLimits
where
type FieldType "maxPerStageDescriptorUniformBuffers"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxPerStageDescriptorUniformBuffers"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxPerStageDescriptorUniformBuffers"
VkPhysicalDeviceLimits
=
(72)
type FieldIsArray "maxPerStageDescriptorUniformBuffers"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (72)
instance
CanReadField "maxPerStageDescriptorUniformBuffers"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (72))
readField p
= peekByteOff p (72)
instance
CanWriteField "maxPerStageDescriptorUniformBuffers"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (72)
instance
HasField "maxPerStageDescriptorStorageBuffers"
VkPhysicalDeviceLimits
where
type FieldType "maxPerStageDescriptorStorageBuffers"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxPerStageDescriptorStorageBuffers"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxPerStageDescriptorStorageBuffers"
VkPhysicalDeviceLimits
=
(76)
type FieldIsArray "maxPerStageDescriptorStorageBuffers"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (76)
instance
CanReadField "maxPerStageDescriptorStorageBuffers"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (76))
readField p
= peekByteOff p (76)
instance
CanWriteField "maxPerStageDescriptorStorageBuffers"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (76)
instance
HasField "maxPerStageDescriptorSampledImages"
VkPhysicalDeviceLimits
where
type FieldType "maxPerStageDescriptorSampledImages"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxPerStageDescriptorSampledImages"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxPerStageDescriptorSampledImages"
VkPhysicalDeviceLimits
=
(80)
type FieldIsArray "maxPerStageDescriptorSampledImages"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (80)
instance
CanReadField "maxPerStageDescriptorSampledImages"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (80))
readField p
= peekByteOff p (80)
instance
CanWriteField "maxPerStageDescriptorSampledImages"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (80)
instance
HasField "maxPerStageDescriptorStorageImages"
VkPhysicalDeviceLimits
where
type FieldType "maxPerStageDescriptorStorageImages"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxPerStageDescriptorStorageImages"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxPerStageDescriptorStorageImages"
VkPhysicalDeviceLimits
=
(84)
type FieldIsArray "maxPerStageDescriptorStorageImages"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (84)
instance
CanReadField "maxPerStageDescriptorStorageImages"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (84))
readField p
= peekByteOff p (84)
instance
CanWriteField "maxPerStageDescriptorStorageImages"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (84)
instance
HasField "maxPerStageDescriptorInputAttachments"
VkPhysicalDeviceLimits
where
type FieldType "maxPerStageDescriptorInputAttachments"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxPerStageDescriptorInputAttachments"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxPerStageDescriptorInputAttachments"
VkPhysicalDeviceLimits
=
(88)
type FieldIsArray "maxPerStageDescriptorInputAttachments"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (88)
instance
CanReadField "maxPerStageDescriptorInputAttachments"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (88))
readField p
= peekByteOff p (88)
instance
CanWriteField "maxPerStageDescriptorInputAttachments"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (88)
instance
HasField "maxPerStageResources" VkPhysicalDeviceLimits where
type FieldType "maxPerStageResources" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxPerStageResources" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxPerStageResources" VkPhysicalDeviceLimits =
(92)
type FieldIsArray "maxPerStageResources" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (92)
instance
CanReadField "maxPerStageResources" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (92))
readField p
= peekByteOff p (92)
instance
CanWriteField "maxPerStageResources" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (92)
instance
HasField "maxDescriptorSetSamplers" VkPhysicalDeviceLimits where
type FieldType "maxDescriptorSetSamplers" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxDescriptorSetSamplers"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDescriptorSetSamplers" VkPhysicalDeviceLimits
=
(96)
type FieldIsArray "maxDescriptorSetSamplers" VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (96)
instance
CanReadField "maxDescriptorSetSamplers" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (96))
readField p
= peekByteOff p (96)
instance
CanWriteField "maxDescriptorSetSamplers" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (96)
instance
HasField "maxDescriptorSetUniformBuffers" VkPhysicalDeviceLimits
where
type FieldType "maxDescriptorSetUniformBuffers"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxDescriptorSetUniformBuffers"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDescriptorSetUniformBuffers"
VkPhysicalDeviceLimits
=
(100)
type FieldIsArray "maxDescriptorSetUniformBuffers"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (100)
instance
CanReadField "maxDescriptorSetUniformBuffers"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (100))
readField p
= peekByteOff p (100)
instance
CanWriteField "maxDescriptorSetUniformBuffers"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (100)
instance
HasField "maxDescriptorSetUniformBuffersDynamic"
VkPhysicalDeviceLimits
where
type FieldType "maxDescriptorSetUniformBuffersDynamic"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxDescriptorSetUniformBuffersDynamic"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDescriptorSetUniformBuffersDynamic"
VkPhysicalDeviceLimits
=
(104)
type FieldIsArray "maxDescriptorSetUniformBuffersDynamic"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (104)
instance
CanReadField "maxDescriptorSetUniformBuffersDynamic"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (104))
readField p
= peekByteOff p (104)
instance
CanWriteField "maxDescriptorSetUniformBuffersDynamic"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (104)
instance
HasField "maxDescriptorSetStorageBuffers" VkPhysicalDeviceLimits
where
type FieldType "maxDescriptorSetStorageBuffers"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxDescriptorSetStorageBuffers"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDescriptorSetStorageBuffers"
VkPhysicalDeviceLimits
=
(108)
type FieldIsArray "maxDescriptorSetStorageBuffers"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (108)
instance
CanReadField "maxDescriptorSetStorageBuffers"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (108))
readField p
= peekByteOff p (108)
instance
CanWriteField "maxDescriptorSetStorageBuffers"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (108)
instance
HasField "maxDescriptorSetStorageBuffersDynamic"
VkPhysicalDeviceLimits
where
type FieldType "maxDescriptorSetStorageBuffersDynamic"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxDescriptorSetStorageBuffersDynamic"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDescriptorSetStorageBuffersDynamic"
VkPhysicalDeviceLimits
=
(112)
type FieldIsArray "maxDescriptorSetStorageBuffersDynamic"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (112)
instance
CanReadField "maxDescriptorSetStorageBuffersDynamic"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (112))
readField p
= peekByteOff p (112)
instance
CanWriteField "maxDescriptorSetStorageBuffersDynamic"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (112)
instance
HasField "maxDescriptorSetSampledImages" VkPhysicalDeviceLimits
where
type FieldType "maxDescriptorSetSampledImages"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxDescriptorSetSampledImages"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDescriptorSetSampledImages"
VkPhysicalDeviceLimits
=
(116)
type FieldIsArray "maxDescriptorSetSampledImages"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (116)
instance
CanReadField "maxDescriptorSetSampledImages" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (116))
readField p
= peekByteOff p (116)
instance
CanWriteField "maxDescriptorSetSampledImages"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (116)
instance
HasField "maxDescriptorSetStorageImages" VkPhysicalDeviceLimits
where
type FieldType "maxDescriptorSetStorageImages"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxDescriptorSetStorageImages"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDescriptorSetStorageImages"
VkPhysicalDeviceLimits
=
(120)
type FieldIsArray "maxDescriptorSetStorageImages"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (120)
instance
CanReadField "maxDescriptorSetStorageImages" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (120))
readField p
= peekByteOff p (120)
instance
CanWriteField "maxDescriptorSetStorageImages"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (120)
instance
HasField "maxDescriptorSetInputAttachments" VkPhysicalDeviceLimits
where
type FieldType "maxDescriptorSetInputAttachments"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxDescriptorSetInputAttachments"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDescriptorSetInputAttachments"
VkPhysicalDeviceLimits
=
(124)
type FieldIsArray "maxDescriptorSetInputAttachments"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (124)
instance
CanReadField "maxDescriptorSetInputAttachments"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (124))
readField p
= peekByteOff p (124)
instance
CanWriteField "maxDescriptorSetInputAttachments"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (124)
instance
HasField "maxVertexInputAttributes" VkPhysicalDeviceLimits where
type FieldType "maxVertexInputAttributes" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxVertexInputAttributes"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxVertexInputAttributes" VkPhysicalDeviceLimits
=
(128)
type FieldIsArray "maxVertexInputAttributes" VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (128)
instance
CanReadField "maxVertexInputAttributes" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (128))
readField p
= peekByteOff p (128)
instance
CanWriteField "maxVertexInputAttributes" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (128)
instance
HasField "maxVertexInputBindings" VkPhysicalDeviceLimits where
type FieldType "maxVertexInputBindings" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxVertexInputBindings" VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxVertexInputBindings" VkPhysicalDeviceLimits =
(132)
type FieldIsArray "maxVertexInputBindings" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (132)
instance
CanReadField "maxVertexInputBindings" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (132))
readField p
= peekByteOff p (132)
instance
CanWriteField "maxVertexInputBindings" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (132)
instance
HasField "maxVertexInputAttributeOffset" VkPhysicalDeviceLimits
where
type FieldType "maxVertexInputAttributeOffset"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxVertexInputAttributeOffset"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxVertexInputAttributeOffset"
VkPhysicalDeviceLimits
=
(136)
type FieldIsArray "maxVertexInputAttributeOffset"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (136)
instance
CanReadField "maxVertexInputAttributeOffset" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (136))
readField p
= peekByteOff p (136)
instance
CanWriteField "maxVertexInputAttributeOffset"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (136)
instance
HasField "maxVertexInputBindingStride" VkPhysicalDeviceLimits where
type FieldType "maxVertexInputBindingStride" VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxVertexInputBindingStride"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxVertexInputBindingStride"
VkPhysicalDeviceLimits
=
(140)
type FieldIsArray "maxVertexInputBindingStride"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (140)
instance
CanReadField "maxVertexInputBindingStride" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (140))
readField p
= peekByteOff p (140)
instance
CanWriteField "maxVertexInputBindingStride" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (140)
instance
HasField "maxVertexOutputComponents" VkPhysicalDeviceLimits where
type FieldType "maxVertexOutputComponents" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxVertexOutputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxVertexOutputComponents" VkPhysicalDeviceLimits
=
(144)
type FieldIsArray "maxVertexOutputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (144)
instance
CanReadField "maxVertexOutputComponents" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (144))
readField p
= peekByteOff p (144)
instance
CanWriteField "maxVertexOutputComponents" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (144)
instance
HasField "maxTessellationGenerationLevel" VkPhysicalDeviceLimits
where
type FieldType "maxTessellationGenerationLevel"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxTessellationGenerationLevel"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTessellationGenerationLevel"
VkPhysicalDeviceLimits
=
(148)
type FieldIsArray "maxTessellationGenerationLevel"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (148)
instance
CanReadField "maxTessellationGenerationLevel"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (148))
readField p
= peekByteOff p (148)
instance
CanWriteField "maxTessellationGenerationLevel"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (148)
instance
HasField "maxTessellationPatchSize" VkPhysicalDeviceLimits where
type FieldType "maxTessellationPatchSize" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxTessellationPatchSize"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTessellationPatchSize" VkPhysicalDeviceLimits
=
(152)
type FieldIsArray "maxTessellationPatchSize" VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (152)
instance
CanReadField "maxTessellationPatchSize" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (152))
readField p
= peekByteOff p (152)
instance
CanWriteField "maxTessellationPatchSize" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (152)
instance
HasField "maxTessellationControlPerVertexInputComponents"
VkPhysicalDeviceLimits
where
type FieldType "maxTessellationControlPerVertexInputComponents"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxTessellationControlPerVertexInputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTessellationControlPerVertexInputComponents"
VkPhysicalDeviceLimits
=
(156)
type FieldIsArray "maxTessellationControlPerVertexInputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (156)
instance
CanReadField "maxTessellationControlPerVertexInputComponents"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (156))
readField p
= peekByteOff p (156)
instance
CanWriteField "maxTessellationControlPerVertexInputComponents"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (156)
instance
HasField "maxTessellationControlPerVertexOutputComponents"
VkPhysicalDeviceLimits
where
type FieldType "maxTessellationControlPerVertexOutputComponents"
VkPhysicalDeviceLimits
= Word32
type FieldOptional
"maxTessellationControlPerVertexOutputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTessellationControlPerVertexOutputComponents"
VkPhysicalDeviceLimits
=
(160)
type FieldIsArray "maxTessellationControlPerVertexOutputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (160)
instance
CanReadField "maxTessellationControlPerVertexOutputComponents"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (160))
readField p
= peekByteOff p (160)
instance
CanWriteField "maxTessellationControlPerVertexOutputComponents"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (160)
instance
HasField "maxTessellationControlPerPatchOutputComponents"
VkPhysicalDeviceLimits
where
type FieldType "maxTessellationControlPerPatchOutputComponents"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxTessellationControlPerPatchOutputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTessellationControlPerPatchOutputComponents"
VkPhysicalDeviceLimits
=
(164)
type FieldIsArray "maxTessellationControlPerPatchOutputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (164)
instance
CanReadField "maxTessellationControlPerPatchOutputComponents"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (164))
readField p
= peekByteOff p (164)
instance
CanWriteField "maxTessellationControlPerPatchOutputComponents"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (164)
instance
HasField "maxTessellationControlTotalOutputComponents"
VkPhysicalDeviceLimits
where
type FieldType "maxTessellationControlTotalOutputComponents"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxTessellationControlTotalOutputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTessellationControlTotalOutputComponents"
VkPhysicalDeviceLimits
=
(168)
type FieldIsArray "maxTessellationControlTotalOutputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (168)
instance
CanReadField "maxTessellationControlTotalOutputComponents"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (168))
readField p
= peekByteOff p (168)
instance
CanWriteField "maxTessellationControlTotalOutputComponents"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (168)
instance
HasField "maxTessellationEvaluationInputComponents"
VkPhysicalDeviceLimits
where
type FieldType "maxTessellationEvaluationInputComponents"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxTessellationEvaluationInputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTessellationEvaluationInputComponents"
VkPhysicalDeviceLimits
=
(172)
type FieldIsArray "maxTessellationEvaluationInputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (172)
instance
CanReadField "maxTessellationEvaluationInputComponents"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (172))
readField p
= peekByteOff p (172)
instance
CanWriteField "maxTessellationEvaluationInputComponents"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (172)
instance
HasField "maxTessellationEvaluationOutputComponents"
VkPhysicalDeviceLimits
where
type FieldType "maxTessellationEvaluationOutputComponents"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxTessellationEvaluationOutputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxTessellationEvaluationOutputComponents"
VkPhysicalDeviceLimits
=
(176)
type FieldIsArray "maxTessellationEvaluationOutputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (176)
instance
CanReadField "maxTessellationEvaluationOutputComponents"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (176))
readField p
= peekByteOff p (176)
instance
CanWriteField "maxTessellationEvaluationOutputComponents"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (176)
instance
HasField "maxGeometryShaderInvocations" VkPhysicalDeviceLimits
where
type FieldType "maxGeometryShaderInvocations"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxGeometryShaderInvocations"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxGeometryShaderInvocations"
VkPhysicalDeviceLimits
=
(180)
type FieldIsArray "maxGeometryShaderInvocations"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (180)
instance
CanReadField "maxGeometryShaderInvocations" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (180))
readField p
= peekByteOff p (180)
instance
CanWriteField "maxGeometryShaderInvocations" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (180)
instance
HasField "maxGeometryInputComponents" VkPhysicalDeviceLimits where
type FieldType "maxGeometryInputComponents" VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxGeometryInputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxGeometryInputComponents"
VkPhysicalDeviceLimits
=
(184)
type FieldIsArray "maxGeometryInputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (184)
instance
CanReadField "maxGeometryInputComponents" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (184))
readField p
= peekByteOff p (184)
instance
CanWriteField "maxGeometryInputComponents" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (184)
instance
HasField "maxGeometryOutputComponents" VkPhysicalDeviceLimits where
type FieldType "maxGeometryOutputComponents" VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxGeometryOutputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxGeometryOutputComponents"
VkPhysicalDeviceLimits
=
(188)
type FieldIsArray "maxGeometryOutputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (188)
instance
CanReadField "maxGeometryOutputComponents" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (188))
readField p
= peekByteOff p (188)
instance
CanWriteField "maxGeometryOutputComponents" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (188)
instance
HasField "maxGeometryOutputVertices" VkPhysicalDeviceLimits where
type FieldType "maxGeometryOutputVertices" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxGeometryOutputVertices"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxGeometryOutputVertices" VkPhysicalDeviceLimits
=
(192)
type FieldIsArray "maxGeometryOutputVertices"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (192)
instance
CanReadField "maxGeometryOutputVertices" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (192))
readField p
= peekByteOff p (192)
instance
CanWriteField "maxGeometryOutputVertices" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (192)
instance
HasField "maxGeometryTotalOutputComponents" VkPhysicalDeviceLimits
where
type FieldType "maxGeometryTotalOutputComponents"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxGeometryTotalOutputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxGeometryTotalOutputComponents"
VkPhysicalDeviceLimits
=
(196)
type FieldIsArray "maxGeometryTotalOutputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (196)
instance
CanReadField "maxGeometryTotalOutputComponents"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (196))
readField p
= peekByteOff p (196)
instance
CanWriteField "maxGeometryTotalOutputComponents"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (196)
instance
HasField "maxFragmentInputComponents" VkPhysicalDeviceLimits where
type FieldType "maxFragmentInputComponents" VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxFragmentInputComponents"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxFragmentInputComponents"
VkPhysicalDeviceLimits
=
(200)
type FieldIsArray "maxFragmentInputComponents"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (200)
instance
CanReadField "maxFragmentInputComponents" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (200))
readField p
= peekByteOff p (200)
instance
CanWriteField "maxFragmentInputComponents" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (200)
instance
HasField "maxFragmentOutputAttachments" VkPhysicalDeviceLimits
where
type FieldType "maxFragmentOutputAttachments"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxFragmentOutputAttachments"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxFragmentOutputAttachments"
VkPhysicalDeviceLimits
=
(204)
type FieldIsArray "maxFragmentOutputAttachments"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (204)
instance
CanReadField "maxFragmentOutputAttachments" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (204))
readField p
= peekByteOff p (204)
instance
CanWriteField "maxFragmentOutputAttachments" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (204)
instance
HasField "maxFragmentDualSrcAttachments" VkPhysicalDeviceLimits
where
type FieldType "maxFragmentDualSrcAttachments"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxFragmentDualSrcAttachments"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxFragmentDualSrcAttachments"
VkPhysicalDeviceLimits
=
(208)
type FieldIsArray "maxFragmentDualSrcAttachments"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (208)
instance
CanReadField "maxFragmentDualSrcAttachments" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (208))
readField p
= peekByteOff p (208)
instance
CanWriteField "maxFragmentDualSrcAttachments"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (208)
instance
HasField "maxFragmentCombinedOutputResources"
VkPhysicalDeviceLimits
where
type FieldType "maxFragmentCombinedOutputResources"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxFragmentCombinedOutputResources"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxFragmentCombinedOutputResources"
VkPhysicalDeviceLimits
=
(212)
type FieldIsArray "maxFragmentCombinedOutputResources"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (212)
instance
CanReadField "maxFragmentCombinedOutputResources"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (212))
readField p
= peekByteOff p (212)
instance
CanWriteField "maxFragmentCombinedOutputResources"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (212)
instance
HasField "maxComputeSharedMemorySize" VkPhysicalDeviceLimits where
type FieldType "maxComputeSharedMemorySize" VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxComputeSharedMemorySize"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxComputeSharedMemorySize"
VkPhysicalDeviceLimits
=
(216)
type FieldIsArray "maxComputeSharedMemorySize"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (216)
instance
CanReadField "maxComputeSharedMemorySize" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (216))
readField p
= peekByteOff p (216)
instance
CanWriteField "maxComputeSharedMemorySize" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (216)
instance
HasField "maxComputeWorkGroupCount" VkPhysicalDeviceLimits where
type FieldType "maxComputeWorkGroupCount" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxComputeWorkGroupCount"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxComputeWorkGroupCount" VkPhysicalDeviceLimits
=
(220)
type FieldIsArray "maxComputeWorkGroupCount" VkPhysicalDeviceLimits
= 'True
fieldOptional = False
fieldOffset
= (220)
instance
(KnownNat idx,
IndexInBounds "maxComputeWorkGroupCount" idx
VkPhysicalDeviceLimits) =>
CanReadFieldArray "maxComputeWorkGroupCount" idx
VkPhysicalDeviceLimits
where
type FieldArrayLength "maxComputeWorkGroupCount"
VkPhysicalDeviceLimits
= 3
fieldArrayLength = 3
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (220)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((220)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "maxComputeWorkGroupCount" idx
VkPhysicalDeviceLimits) =>
CanWriteFieldArray "maxComputeWorkGroupCount" idx
VkPhysicalDeviceLimits
where
writeFieldArray p
= pokeByteOff p
((220)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "maxComputeWorkGroupInvocations" VkPhysicalDeviceLimits
where
type FieldType "maxComputeWorkGroupInvocations"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxComputeWorkGroupInvocations"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxComputeWorkGroupInvocations"
VkPhysicalDeviceLimits
=
(232)
type FieldIsArray "maxComputeWorkGroupInvocations"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (232)
instance
CanReadField "maxComputeWorkGroupInvocations"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (232))
readField p
= peekByteOff p (232)
instance
CanWriteField "maxComputeWorkGroupInvocations"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (232)
instance
HasField "maxComputeWorkGroupSize" VkPhysicalDeviceLimits where
type FieldType "maxComputeWorkGroupSize" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxComputeWorkGroupSize" VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxComputeWorkGroupSize" VkPhysicalDeviceLimits =
(236)
type FieldIsArray "maxComputeWorkGroupSize" VkPhysicalDeviceLimits
= 'True
fieldOptional = False
fieldOffset
= (236)
instance
(KnownNat idx,
IndexInBounds "maxComputeWorkGroupSize" idx
VkPhysicalDeviceLimits) =>
CanReadFieldArray "maxComputeWorkGroupSize" idx
VkPhysicalDeviceLimits
where
type FieldArrayLength "maxComputeWorkGroupSize"
VkPhysicalDeviceLimits
= 3
fieldArrayLength = 3
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (236)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((236)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "maxComputeWorkGroupSize" idx
VkPhysicalDeviceLimits) =>
CanWriteFieldArray "maxComputeWorkGroupSize" idx
VkPhysicalDeviceLimits
where
writeFieldArray p
= pokeByteOff p
((236)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "subPixelPrecisionBits" VkPhysicalDeviceLimits where
type FieldType "subPixelPrecisionBits" VkPhysicalDeviceLimits =
Word32
type FieldOptional "subPixelPrecisionBits" VkPhysicalDeviceLimits =
'False
type FieldOffset "subPixelPrecisionBits" VkPhysicalDeviceLimits =
(248)
type FieldIsArray "subPixelPrecisionBits" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (248)
instance
CanReadField "subPixelPrecisionBits" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (248))
readField p
= peekByteOff p (248)
instance
CanWriteField "subPixelPrecisionBits" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (248)
instance
HasField "subTexelPrecisionBits" VkPhysicalDeviceLimits where
type FieldType "subTexelPrecisionBits" VkPhysicalDeviceLimits =
Word32
type FieldOptional "subTexelPrecisionBits" VkPhysicalDeviceLimits =
'False
type FieldOffset "subTexelPrecisionBits" VkPhysicalDeviceLimits =
(252)
type FieldIsArray "subTexelPrecisionBits" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (252)
instance
CanReadField "subTexelPrecisionBits" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (252))
readField p
= peekByteOff p (252)
instance
CanWriteField "subTexelPrecisionBits" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (252)
instance
HasField "mipmapPrecisionBits" VkPhysicalDeviceLimits where
type FieldType "mipmapPrecisionBits" VkPhysicalDeviceLimits =
Word32
type FieldOptional "mipmapPrecisionBits" VkPhysicalDeviceLimits =
'False
type FieldOffset "mipmapPrecisionBits" VkPhysicalDeviceLimits =
(256)
type FieldIsArray "mipmapPrecisionBits" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (256)
instance
CanReadField "mipmapPrecisionBits" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (256))
readField p
= peekByteOff p (256)
instance
CanWriteField "mipmapPrecisionBits" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (256)
instance
HasField "maxDrawIndexedIndexValue" VkPhysicalDeviceLimits where
type FieldType "maxDrawIndexedIndexValue" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxDrawIndexedIndexValue"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxDrawIndexedIndexValue" VkPhysicalDeviceLimits
=
(260)
type FieldIsArray "maxDrawIndexedIndexValue" VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (260)
instance
CanReadField "maxDrawIndexedIndexValue" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (260))
readField p
= peekByteOff p (260)
instance
CanWriteField "maxDrawIndexedIndexValue" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (260)
instance
HasField "maxDrawIndirectCount" VkPhysicalDeviceLimits where
type FieldType "maxDrawIndirectCount" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxDrawIndirectCount" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxDrawIndirectCount" VkPhysicalDeviceLimits =
(264)
type FieldIsArray "maxDrawIndirectCount" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (264)
instance
CanReadField "maxDrawIndirectCount" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (264))
readField p
= peekByteOff p (264)
instance
CanWriteField "maxDrawIndirectCount" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (264)
instance
HasField "maxSamplerLodBias" VkPhysicalDeviceLimits where
type FieldType "maxSamplerLodBias" VkPhysicalDeviceLimits =
Float
type FieldOptional "maxSamplerLodBias" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxSamplerLodBias" VkPhysicalDeviceLimits =
(268)
type FieldIsArray "maxSamplerLodBias" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (268)
instance
CanReadField "maxSamplerLodBias" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (268))
readField p
= peekByteOff p (268)
instance
CanWriteField "maxSamplerLodBias" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (268)
instance
HasField "maxSamplerAnisotropy" VkPhysicalDeviceLimits where
type FieldType "maxSamplerAnisotropy" VkPhysicalDeviceLimits =
Float
type FieldOptional "maxSamplerAnisotropy" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxSamplerAnisotropy" VkPhysicalDeviceLimits =
(272)
type FieldIsArray "maxSamplerAnisotropy" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (272)
instance
CanReadField "maxSamplerAnisotropy" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (272))
readField p
= peekByteOff p (272)
instance
CanWriteField "maxSamplerAnisotropy" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (272)
instance
HasField "maxViewports" VkPhysicalDeviceLimits where
type FieldType "maxViewports" VkPhysicalDeviceLimits = Word32
type FieldOptional "maxViewports" VkPhysicalDeviceLimits = 'False
type FieldOffset "maxViewports" VkPhysicalDeviceLimits =
(276)
type FieldIsArray "maxViewports" VkPhysicalDeviceLimits = 'False
fieldOptional = False
fieldOffset
= (276)
instance
CanReadField "maxViewports" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (276))
readField p
= peekByteOff p (276)
instance
CanWriteField "maxViewports" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (276)
instance
HasField "maxViewportDimensions" VkPhysicalDeviceLimits where
type FieldType "maxViewportDimensions" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxViewportDimensions" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxViewportDimensions" VkPhysicalDeviceLimits =
(280)
type FieldIsArray "maxViewportDimensions" VkPhysicalDeviceLimits =
'True
fieldOptional = False
fieldOffset
= (280)
instance
(KnownNat idx,
IndexInBounds "maxViewportDimensions" idx
VkPhysicalDeviceLimits) =>
CanReadFieldArray "maxViewportDimensions" idx
VkPhysicalDeviceLimits
where
type FieldArrayLength "maxViewportDimensions"
VkPhysicalDeviceLimits
= 2
fieldArrayLength = 2
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (280)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((280)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "maxViewportDimensions" idx
VkPhysicalDeviceLimits) =>
CanWriteFieldArray "maxViewportDimensions" idx
VkPhysicalDeviceLimits
where
writeFieldArray p
= pokeByteOff p
((280)
+
sizeOf (undefined :: Word32) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "viewportBoundsRange" VkPhysicalDeviceLimits where
type FieldType "viewportBoundsRange" VkPhysicalDeviceLimits =
Float
type FieldOptional "viewportBoundsRange" VkPhysicalDeviceLimits =
'False
type FieldOffset "viewportBoundsRange" VkPhysicalDeviceLimits =
(288)
type FieldIsArray "viewportBoundsRange" VkPhysicalDeviceLimits =
'True
fieldOptional = False
fieldOffset
= (288)
instance
(KnownNat idx,
IndexInBounds "viewportBoundsRange" idx VkPhysicalDeviceLimits) =>
CanReadFieldArray "viewportBoundsRange" idx VkPhysicalDeviceLimits
where
type FieldArrayLength "viewportBoundsRange" VkPhysicalDeviceLimits
= 2
fieldArrayLength = 2
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (288)
+
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((288)
+
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "viewportBoundsRange" idx VkPhysicalDeviceLimits) =>
CanWriteFieldArray "viewportBoundsRange" idx VkPhysicalDeviceLimits
where
writeFieldArray p
= pokeByteOff p
((288)
+
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "viewportSubPixelBits" VkPhysicalDeviceLimits where
type FieldType "viewportSubPixelBits" VkPhysicalDeviceLimits =
Word32
type FieldOptional "viewportSubPixelBits" VkPhysicalDeviceLimits =
'False
type FieldOffset "viewportSubPixelBits" VkPhysicalDeviceLimits =
(296)
type FieldIsArray "viewportSubPixelBits" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (296)
instance
CanReadField "viewportSubPixelBits" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (296))
readField p
= peekByteOff p (296)
instance
CanWriteField "viewportSubPixelBits" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (296)
instance
HasField "minMemoryMapAlignment" VkPhysicalDeviceLimits where
type FieldType "minMemoryMapAlignment" VkPhysicalDeviceLimits =
CSize
type FieldOptional "minMemoryMapAlignment" VkPhysicalDeviceLimits =
'False
type FieldOffset "minMemoryMapAlignment" VkPhysicalDeviceLimits =
(304)
type FieldIsArray "minMemoryMapAlignment" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (304)
instance
CanReadField "minMemoryMapAlignment" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (304))
readField p
= peekByteOff p (304)
instance
CanWriteField "minMemoryMapAlignment" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (304)
instance
HasField "minTexelBufferOffsetAlignment" VkPhysicalDeviceLimits
where
type FieldType "minTexelBufferOffsetAlignment"
VkPhysicalDeviceLimits
= VkDeviceSize
type FieldOptional "minTexelBufferOffsetAlignment"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "minTexelBufferOffsetAlignment"
VkPhysicalDeviceLimits
=
(312)
type FieldIsArray "minTexelBufferOffsetAlignment"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (312)
instance
CanReadField "minTexelBufferOffsetAlignment" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (312))
readField p
= peekByteOff p (312)
instance
CanWriteField "minTexelBufferOffsetAlignment"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (312)
instance
HasField "minUniformBufferOffsetAlignment" VkPhysicalDeviceLimits
where
type FieldType "minUniformBufferOffsetAlignment"
VkPhysicalDeviceLimits
= VkDeviceSize
type FieldOptional "minUniformBufferOffsetAlignment"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "minUniformBufferOffsetAlignment"
VkPhysicalDeviceLimits
=
(320)
type FieldIsArray "minUniformBufferOffsetAlignment"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (320)
instance
CanReadField "minUniformBufferOffsetAlignment"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (320))
readField p
= peekByteOff p (320)
instance
CanWriteField "minUniformBufferOffsetAlignment"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (320)
instance
HasField "minStorageBufferOffsetAlignment" VkPhysicalDeviceLimits
where
type FieldType "minStorageBufferOffsetAlignment"
VkPhysicalDeviceLimits
= VkDeviceSize
type FieldOptional "minStorageBufferOffsetAlignment"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "minStorageBufferOffsetAlignment"
VkPhysicalDeviceLimits
=
(328)
type FieldIsArray "minStorageBufferOffsetAlignment"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (328)
instance
CanReadField "minStorageBufferOffsetAlignment"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (328))
readField p
= peekByteOff p (328)
instance
CanWriteField "minStorageBufferOffsetAlignment"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (328)
instance
HasField "minTexelOffset" VkPhysicalDeviceLimits where
type FieldType "minTexelOffset" VkPhysicalDeviceLimits = Int32
type FieldOptional "minTexelOffset" VkPhysicalDeviceLimits = 'False
type FieldOffset "minTexelOffset" VkPhysicalDeviceLimits =
(336)
type FieldIsArray "minTexelOffset" VkPhysicalDeviceLimits = 'False
fieldOptional = False
fieldOffset
= (336)
instance
CanReadField "minTexelOffset" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (336))
readField p
= peekByteOff p (336)
instance
CanWriteField "minTexelOffset" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (336)
instance
HasField "maxTexelOffset" VkPhysicalDeviceLimits where
type FieldType "maxTexelOffset" VkPhysicalDeviceLimits = Word32
type FieldOptional "maxTexelOffset" VkPhysicalDeviceLimits = 'False
type FieldOffset "maxTexelOffset" VkPhysicalDeviceLimits =
(340)
type FieldIsArray "maxTexelOffset" VkPhysicalDeviceLimits = 'False
fieldOptional = False
fieldOffset
= (340)
instance
CanReadField "maxTexelOffset" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (340))
readField p
= peekByteOff p (340)
instance
CanWriteField "maxTexelOffset" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (340)
instance
HasField "minTexelGatherOffset" VkPhysicalDeviceLimits where
type FieldType "minTexelGatherOffset" VkPhysicalDeviceLimits =
Int32
type FieldOptional "minTexelGatherOffset" VkPhysicalDeviceLimits =
'False
type FieldOffset "minTexelGatherOffset" VkPhysicalDeviceLimits =
(344)
type FieldIsArray "minTexelGatherOffset" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (344)
instance
CanReadField "minTexelGatherOffset" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (344))
readField p
= peekByteOff p (344)
instance
CanWriteField "minTexelGatherOffset" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (344)
instance
HasField "maxTexelGatherOffset" VkPhysicalDeviceLimits where
type FieldType "maxTexelGatherOffset" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxTexelGatherOffset" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxTexelGatherOffset" VkPhysicalDeviceLimits =
(348)
type FieldIsArray "maxTexelGatherOffset" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (348)
instance
CanReadField "maxTexelGatherOffset" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (348))
readField p
= peekByteOff p (348)
instance
CanWriteField "maxTexelGatherOffset" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (348)
instance
HasField "minInterpolationOffset" VkPhysicalDeviceLimits where
type FieldType "minInterpolationOffset" VkPhysicalDeviceLimits =
Float
type FieldOptional "minInterpolationOffset" VkPhysicalDeviceLimits
= 'False
type FieldOffset "minInterpolationOffset" VkPhysicalDeviceLimits =
(352)
type FieldIsArray "minInterpolationOffset" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (352)
instance
CanReadField "minInterpolationOffset" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (352))
readField p
= peekByteOff p (352)
instance
CanWriteField "minInterpolationOffset" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (352)
instance
HasField "maxInterpolationOffset" VkPhysicalDeviceLimits where
type FieldType "maxInterpolationOffset" VkPhysicalDeviceLimits =
Float
type FieldOptional "maxInterpolationOffset" VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxInterpolationOffset" VkPhysicalDeviceLimits =
(356)
type FieldIsArray "maxInterpolationOffset" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (356)
instance
CanReadField "maxInterpolationOffset" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (356))
readField p
= peekByteOff p (356)
instance
CanWriteField "maxInterpolationOffset" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (356)
instance
HasField "subPixelInterpolationOffsetBits" VkPhysicalDeviceLimits
where
type FieldType "subPixelInterpolationOffsetBits"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "subPixelInterpolationOffsetBits"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "subPixelInterpolationOffsetBits"
VkPhysicalDeviceLimits
=
(360)
type FieldIsArray "subPixelInterpolationOffsetBits"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (360)
instance
CanReadField "subPixelInterpolationOffsetBits"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (360))
readField p
= peekByteOff p (360)
instance
CanWriteField "subPixelInterpolationOffsetBits"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (360)
instance
HasField "maxFramebufferWidth" VkPhysicalDeviceLimits where
type FieldType "maxFramebufferWidth" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxFramebufferWidth" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxFramebufferWidth" VkPhysicalDeviceLimits =
(364)
type FieldIsArray "maxFramebufferWidth" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (364)
instance
CanReadField "maxFramebufferWidth" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (364))
readField p
= peekByteOff p (364)
instance
CanWriteField "maxFramebufferWidth" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (364)
instance
HasField "maxFramebufferHeight" VkPhysicalDeviceLimits where
type FieldType "maxFramebufferHeight" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxFramebufferHeight" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxFramebufferHeight" VkPhysicalDeviceLimits =
(368)
type FieldIsArray "maxFramebufferHeight" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (368)
instance
CanReadField "maxFramebufferHeight" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (368))
readField p
= peekByteOff p (368)
instance
CanWriteField "maxFramebufferHeight" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (368)
instance
HasField "maxFramebufferLayers" VkPhysicalDeviceLimits where
type FieldType "maxFramebufferLayers" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxFramebufferLayers" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxFramebufferLayers" VkPhysicalDeviceLimits =
(372)
type FieldIsArray "maxFramebufferLayers" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (372)
instance
CanReadField "maxFramebufferLayers" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (372))
readField p
= peekByteOff p (372)
instance
CanWriteField "maxFramebufferLayers" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (372)
instance
HasField "framebufferColorSampleCounts" VkPhysicalDeviceLimits
where
type FieldType "framebufferColorSampleCounts"
VkPhysicalDeviceLimits
= VkSampleCountFlags
type FieldOptional "framebufferColorSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "framebufferColorSampleCounts"
VkPhysicalDeviceLimits
=
(376)
type FieldIsArray "framebufferColorSampleCounts"
VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (376)
instance
CanReadField "framebufferColorSampleCounts" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (376))
readField p
= peekByteOff p (376)
instance
CanWriteField "framebufferColorSampleCounts" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (376)
instance
HasField "framebufferDepthSampleCounts" VkPhysicalDeviceLimits
where
type FieldType "framebufferDepthSampleCounts"
VkPhysicalDeviceLimits
= VkSampleCountFlags
type FieldOptional "framebufferDepthSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "framebufferDepthSampleCounts"
VkPhysicalDeviceLimits
=
(380)
type FieldIsArray "framebufferDepthSampleCounts"
VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (380)
instance
CanReadField "framebufferDepthSampleCounts" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (380))
readField p
= peekByteOff p (380)
instance
CanWriteField "framebufferDepthSampleCounts" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (380)
instance
HasField "framebufferStencilSampleCounts" VkPhysicalDeviceLimits
where
type FieldType "framebufferStencilSampleCounts"
VkPhysicalDeviceLimits
= VkSampleCountFlags
type FieldOptional "framebufferStencilSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "framebufferStencilSampleCounts"
VkPhysicalDeviceLimits
=
(384)
type FieldIsArray "framebufferStencilSampleCounts"
VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (384)
instance
CanReadField "framebufferStencilSampleCounts"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (384))
readField p
= peekByteOff p (384)
instance
CanWriteField "framebufferStencilSampleCounts"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (384)
instance
HasField "framebufferNoAttachmentsSampleCounts"
VkPhysicalDeviceLimits
where
type FieldType "framebufferNoAttachmentsSampleCounts"
VkPhysicalDeviceLimits
= VkSampleCountFlags
type FieldOptional "framebufferNoAttachmentsSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "framebufferNoAttachmentsSampleCounts"
VkPhysicalDeviceLimits
=
(388)
type FieldIsArray "framebufferNoAttachmentsSampleCounts"
VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (388)
instance
CanReadField "framebufferNoAttachmentsSampleCounts"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (388))
readField p
= peekByteOff p (388)
instance
CanWriteField "framebufferNoAttachmentsSampleCounts"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (388)
instance
HasField "maxColorAttachments" VkPhysicalDeviceLimits where
type FieldType "maxColorAttachments" VkPhysicalDeviceLimits =
Word32
type FieldOptional "maxColorAttachments" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxColorAttachments" VkPhysicalDeviceLimits =
(392)
type FieldIsArray "maxColorAttachments" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (392)
instance
CanReadField "maxColorAttachments" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (392))
readField p
= peekByteOff p (392)
instance
CanWriteField "maxColorAttachments" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (392)
instance
HasField "sampledImageColorSampleCounts" VkPhysicalDeviceLimits
where
type FieldType "sampledImageColorSampleCounts"
VkPhysicalDeviceLimits
= VkSampleCountFlags
type FieldOptional "sampledImageColorSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "sampledImageColorSampleCounts"
VkPhysicalDeviceLimits
=
(396)
type FieldIsArray "sampledImageColorSampleCounts"
VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (396)
instance
CanReadField "sampledImageColorSampleCounts" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (396))
readField p
= peekByteOff p (396)
instance
CanWriteField "sampledImageColorSampleCounts"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (396)
instance
HasField "sampledImageIntegerSampleCounts" VkPhysicalDeviceLimits
where
type FieldType "sampledImageIntegerSampleCounts"
VkPhysicalDeviceLimits
= VkSampleCountFlags
type FieldOptional "sampledImageIntegerSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "sampledImageIntegerSampleCounts"
VkPhysicalDeviceLimits
=
(400)
type FieldIsArray "sampledImageIntegerSampleCounts"
VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (400)
instance
CanReadField "sampledImageIntegerSampleCounts"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (400))
readField p
= peekByteOff p (400)
instance
CanWriteField "sampledImageIntegerSampleCounts"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (400)
instance
HasField "sampledImageDepthSampleCounts" VkPhysicalDeviceLimits
where
type FieldType "sampledImageDepthSampleCounts"
VkPhysicalDeviceLimits
= VkSampleCountFlags
type FieldOptional "sampledImageDepthSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "sampledImageDepthSampleCounts"
VkPhysicalDeviceLimits
=
(404)
type FieldIsArray "sampledImageDepthSampleCounts"
VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (404)
instance
CanReadField "sampledImageDepthSampleCounts" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (404))
readField p
= peekByteOff p (404)
instance
CanWriteField "sampledImageDepthSampleCounts"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (404)
instance
HasField "sampledImageStencilSampleCounts" VkPhysicalDeviceLimits
where
type FieldType "sampledImageStencilSampleCounts"
VkPhysicalDeviceLimits
= VkSampleCountFlags
type FieldOptional "sampledImageStencilSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "sampledImageStencilSampleCounts"
VkPhysicalDeviceLimits
=
(408)
type FieldIsArray "sampledImageStencilSampleCounts"
VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (408)
instance
CanReadField "sampledImageStencilSampleCounts"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (408))
readField p
= peekByteOff p (408)
instance
CanWriteField "sampledImageStencilSampleCounts"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (408)
instance
HasField "storageImageSampleCounts" VkPhysicalDeviceLimits where
type FieldType "storageImageSampleCounts" VkPhysicalDeviceLimits =
VkSampleCountFlags
type FieldOptional "storageImageSampleCounts"
VkPhysicalDeviceLimits
= 'True
type FieldOffset "storageImageSampleCounts" VkPhysicalDeviceLimits
=
(412)
type FieldIsArray "storageImageSampleCounts" VkPhysicalDeviceLimits
= 'False
fieldOptional = True
fieldOffset
= (412)
instance
CanReadField "storageImageSampleCounts" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (412))
readField p
= peekByteOff p (412)
instance
CanWriteField "storageImageSampleCounts" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (412)
instance
HasField "maxSampleMaskWords" VkPhysicalDeviceLimits where
type FieldType "maxSampleMaskWords" VkPhysicalDeviceLimits = Word32
type FieldOptional "maxSampleMaskWords" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxSampleMaskWords" VkPhysicalDeviceLimits =
(416)
type FieldIsArray "maxSampleMaskWords" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (416)
instance
CanReadField "maxSampleMaskWords" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (416))
readField p
= peekByteOff p (416)
instance
CanWriteField "maxSampleMaskWords" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (416)
instance
HasField "timestampComputeAndGraphics" VkPhysicalDeviceLimits where
type FieldType "timestampComputeAndGraphics" VkPhysicalDeviceLimits
= VkBool32
type FieldOptional "timestampComputeAndGraphics"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "timestampComputeAndGraphics"
VkPhysicalDeviceLimits
=
(420)
type FieldIsArray "timestampComputeAndGraphics"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (420)
instance
CanReadField "timestampComputeAndGraphics" VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (420))
readField p
= peekByteOff p (420)
instance
CanWriteField "timestampComputeAndGraphics" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (420)
instance
HasField "timestampPeriod" VkPhysicalDeviceLimits where
type FieldType "timestampPeriod" VkPhysicalDeviceLimits =
Float
type FieldOptional "timestampPeriod" VkPhysicalDeviceLimits =
'False
type FieldOffset "timestampPeriod" VkPhysicalDeviceLimits =
(424)
type FieldIsArray "timestampPeriod" VkPhysicalDeviceLimits = 'False
fieldOptional = False
fieldOffset
= (424)
instance
CanReadField "timestampPeriod" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (424))
readField p
= peekByteOff p (424)
instance
CanWriteField "timestampPeriod" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (424)
instance
HasField "maxClipDistances" VkPhysicalDeviceLimits where
type FieldType "maxClipDistances" VkPhysicalDeviceLimits = Word32
type FieldOptional "maxClipDistances" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxClipDistances" VkPhysicalDeviceLimits =
(428)
type FieldIsArray "maxClipDistances" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (428)
instance
CanReadField "maxClipDistances" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (428))
readField p
= peekByteOff p (428)
instance
CanWriteField "maxClipDistances" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (428)
instance
HasField "maxCullDistances" VkPhysicalDeviceLimits where
type FieldType "maxCullDistances" VkPhysicalDeviceLimits = Word32
type FieldOptional "maxCullDistances" VkPhysicalDeviceLimits =
'False
type FieldOffset "maxCullDistances" VkPhysicalDeviceLimits =
(432)
type FieldIsArray "maxCullDistances" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (432)
instance
CanReadField "maxCullDistances" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (432))
readField p
= peekByteOff p (432)
instance
CanWriteField "maxCullDistances" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (432)
instance
HasField "maxCombinedClipAndCullDistances" VkPhysicalDeviceLimits
where
type FieldType "maxCombinedClipAndCullDistances"
VkPhysicalDeviceLimits
= Word32
type FieldOptional "maxCombinedClipAndCullDistances"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "maxCombinedClipAndCullDistances"
VkPhysicalDeviceLimits
=
(436)
type FieldIsArray "maxCombinedClipAndCullDistances"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (436)
instance
CanReadField "maxCombinedClipAndCullDistances"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (436))
readField p
= peekByteOff p (436)
instance
CanWriteField "maxCombinedClipAndCullDistances"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (436)
instance
HasField "discreteQueuePriorities" VkPhysicalDeviceLimits where
type FieldType "discreteQueuePriorities" VkPhysicalDeviceLimits =
Word32
type FieldOptional "discreteQueuePriorities" VkPhysicalDeviceLimits
= 'False
type FieldOffset "discreteQueuePriorities" VkPhysicalDeviceLimits =
(440)
type FieldIsArray "discreteQueuePriorities" VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (440)
instance
CanReadField "discreteQueuePriorities" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (440))
readField p
= peekByteOff p (440)
instance
CanWriteField "discreteQueuePriorities" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (440)
instance
HasField "pointSizeRange" VkPhysicalDeviceLimits where
type FieldType "pointSizeRange" VkPhysicalDeviceLimits =
Float
type FieldOptional "pointSizeRange" VkPhysicalDeviceLimits = 'False
type FieldOffset "pointSizeRange" VkPhysicalDeviceLimits =
(444)
type FieldIsArray "pointSizeRange" VkPhysicalDeviceLimits = 'True
fieldOptional = False
fieldOffset
= (444)
instance
(KnownNat idx,
IndexInBounds "pointSizeRange" idx VkPhysicalDeviceLimits) =>
CanReadFieldArray "pointSizeRange" idx VkPhysicalDeviceLimits
where
type FieldArrayLength "pointSizeRange" VkPhysicalDeviceLimits = 2
fieldArrayLength = 2
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (444) +
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((444) +
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "pointSizeRange" idx VkPhysicalDeviceLimits) =>
CanWriteFieldArray "pointSizeRange" idx VkPhysicalDeviceLimits
where
writeFieldArray p
= pokeByteOff p
((444) +
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "lineWidthRange" VkPhysicalDeviceLimits where
type FieldType "lineWidthRange" VkPhysicalDeviceLimits =
Float
type FieldOptional "lineWidthRange" VkPhysicalDeviceLimits = 'False
type FieldOffset "lineWidthRange" VkPhysicalDeviceLimits =
(452)
type FieldIsArray "lineWidthRange" VkPhysicalDeviceLimits = 'True
fieldOptional = False
fieldOffset
= (452)
instance
(KnownNat idx,
IndexInBounds "lineWidthRange" idx VkPhysicalDeviceLimits) =>
CanReadFieldArray "lineWidthRange" idx VkPhysicalDeviceLimits
where
type FieldArrayLength "lineWidthRange" VkPhysicalDeviceLimits = 2
fieldArrayLength = 2
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (452) +
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((452) +
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "lineWidthRange" idx VkPhysicalDeviceLimits) =>
CanWriteFieldArray "lineWidthRange" idx VkPhysicalDeviceLimits
where
writeFieldArray p
= pokeByteOff p
((452) +
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "pointSizeGranularity" VkPhysicalDeviceLimits where
type FieldType "pointSizeGranularity" VkPhysicalDeviceLimits =
Float
type FieldOptional "pointSizeGranularity" VkPhysicalDeviceLimits =
'False
type FieldOffset "pointSizeGranularity" VkPhysicalDeviceLimits =
(460)
type FieldIsArray "pointSizeGranularity" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (460)
instance
CanReadField "pointSizeGranularity" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (460))
readField p
= peekByteOff p (460)
instance
CanWriteField "pointSizeGranularity" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (460)
instance
HasField "lineWidthGranularity" VkPhysicalDeviceLimits where
type FieldType "lineWidthGranularity" VkPhysicalDeviceLimits =
Float
type FieldOptional "lineWidthGranularity" VkPhysicalDeviceLimits =
'False
type FieldOffset "lineWidthGranularity" VkPhysicalDeviceLimits =
(464)
type FieldIsArray "lineWidthGranularity" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (464)
instance
CanReadField "lineWidthGranularity" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (464))
readField p
= peekByteOff p (464)
instance
CanWriteField "lineWidthGranularity" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (464)
instance
HasField "strictLines" VkPhysicalDeviceLimits where
type FieldType "strictLines" VkPhysicalDeviceLimits = VkBool32
type FieldOptional "strictLines" VkPhysicalDeviceLimits = 'False
type FieldOffset "strictLines" VkPhysicalDeviceLimits =
(468)
type FieldIsArray "strictLines" VkPhysicalDeviceLimits = 'False
fieldOptional = False
fieldOffset
= (468)
instance
CanReadField "strictLines" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (468))
readField p
= peekByteOff p (468)
instance
CanWriteField "strictLines" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (468)
instance
HasField "standardSampleLocations" VkPhysicalDeviceLimits where
type FieldType "standardSampleLocations" VkPhysicalDeviceLimits =
VkBool32
type FieldOptional "standardSampleLocations" VkPhysicalDeviceLimits
= 'False
type FieldOffset "standardSampleLocations" VkPhysicalDeviceLimits =
(472)
type FieldIsArray "standardSampleLocations" VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (472)
instance
CanReadField "standardSampleLocations" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (472))
readField p
= peekByteOff p (472)
instance
CanWriteField "standardSampleLocations" VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (472)
instance
HasField "optimalBufferCopyOffsetAlignment" VkPhysicalDeviceLimits
where
type FieldType "optimalBufferCopyOffsetAlignment"
VkPhysicalDeviceLimits
= VkDeviceSize
type FieldOptional "optimalBufferCopyOffsetAlignment"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "optimalBufferCopyOffsetAlignment"
VkPhysicalDeviceLimits
=
(480)
type FieldIsArray "optimalBufferCopyOffsetAlignment"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (480)
instance
CanReadField "optimalBufferCopyOffsetAlignment"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (480))
readField p
= peekByteOff p (480)
instance
CanWriteField "optimalBufferCopyOffsetAlignment"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (480)
instance
HasField "optimalBufferCopyRowPitchAlignment"
VkPhysicalDeviceLimits
where
type FieldType "optimalBufferCopyRowPitchAlignment"
VkPhysicalDeviceLimits
= VkDeviceSize
type FieldOptional "optimalBufferCopyRowPitchAlignment"
VkPhysicalDeviceLimits
= 'False
type FieldOffset "optimalBufferCopyRowPitchAlignment"
VkPhysicalDeviceLimits
=
(488)
type FieldIsArray "optimalBufferCopyRowPitchAlignment"
VkPhysicalDeviceLimits
= 'False
fieldOptional = False
fieldOffset
= (488)
instance
CanReadField "optimalBufferCopyRowPitchAlignment"
VkPhysicalDeviceLimits
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (488))
readField p
= peekByteOff p (488)
instance
CanWriteField "optimalBufferCopyRowPitchAlignment"
VkPhysicalDeviceLimits
where
writeField p
= pokeByteOff p (488)
instance
HasField "nonCoherentAtomSize" VkPhysicalDeviceLimits where
type FieldType "nonCoherentAtomSize" VkPhysicalDeviceLimits =
VkDeviceSize
type FieldOptional "nonCoherentAtomSize" VkPhysicalDeviceLimits =
'False
type FieldOffset "nonCoherentAtomSize" VkPhysicalDeviceLimits =
(496)
type FieldIsArray "nonCoherentAtomSize" VkPhysicalDeviceLimits =
'False
fieldOptional = False
fieldOffset
= (496)
instance
CanReadField "nonCoherentAtomSize" VkPhysicalDeviceLimits where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (496))
readField p
= peekByteOff p (496)
instance
CanWriteField "nonCoherentAtomSize" VkPhysicalDeviceLimits where
writeField p
= pokeByteOff p (496)
instance Show VkPhysicalDeviceLimits where
showsPrec d x
= showString "VkPhysicalDeviceLimits {" .
showString "maxImageDimension1D = " .
showsPrec d (getField @"maxImageDimension1D" x) .
showString ", " .
showString "maxImageDimension2D = " .
showsPrec d (getField @"maxImageDimension2D" x) .
showString ", " .
showString "maxImageDimension3D = " .
showsPrec d (getField @"maxImageDimension3D" x) .
showString ", " .
showString "maxImageDimensionCube = " .
showsPrec d (getField @"maxImageDimensionCube" x) .
showString ", " .
showString "maxImageArrayLayers = " .
showsPrec d (getField @"maxImageArrayLayers" x) .
showString ", " .
showString "maxTexelBufferElements = " .
showsPrec d (getField @"maxTexelBufferElements" x) .
showString ", " .
showString "maxUniformBufferRange = " .
showsPrec d
(getField @"maxUniformBufferRange" x)
.
showString ", " .
showString "maxStorageBufferRange = " .
showsPrec d
(getField @"maxStorageBufferRange" x)
.
showString ", " .
showString "maxPushConstantsSize = " .
showsPrec d
(getField @"maxPushConstantsSize"
x)
.
showString ", " .
showString
"maxMemoryAllocationCount = "
.
showsPrec d
(getField
@"maxMemoryAllocationCount"
x)
.
showString ", " .
showString
"maxSamplerAllocationCount = "
.
showsPrec d
(getField
@"maxSamplerAllocationCount"
x)
.
showString ", " .
showString
"bufferImageGranularity = "
.
showsPrec d
(getField
@"bufferImageGranularity"
x)
.
showString ", "
.
showString
"sparseAddressSpaceSize = "
.
showsPrec d
(getField
@"sparseAddressSpaceSize"
x)
.
showString
", "
.
showString
"maxBoundDescriptorSets = "
.
showsPrec
d
(getField
@"maxBoundDescriptorSets"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorSamplers = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorSamplers"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorUniformBuffers = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorUniformBuffers"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorStorageBuffers = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorStorageBuffers"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorSampledImages = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorSampledImages"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorStorageImages = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorStorageImages"
x)
.
showString
", "
.
showString
"maxPerStageDescriptorInputAttachments = "
.
showsPrec
d
(getField
@"maxPerStageDescriptorInputAttachments"
x)
.
showString
", "
.
showString
"maxPerStageResources = "
.
showsPrec
d
(getField
@"maxPerStageResources"
x)
.
showString
", "
.
showString
"maxDescriptorSetSamplers = "
.
showsPrec
d
(getField
@"maxDescriptorSetSamplers"
x)
.
showString
", "
.
showString
"maxDescriptorSetUniformBuffers = "
.
showsPrec
d
(getField
@"maxDescriptorSetUniformBuffers"
x)
.
showString
", "
.
showString
"maxDescriptorSetUniformBuffersDynamic = "
.
showsPrec
d
(getField
@"maxDescriptorSetUniformBuffersDynamic"
x)
.
showString
", "
.
showString
"maxDescriptorSetStorageBuffers = "
.
showsPrec
d
(getField
@"maxDescriptorSetStorageBuffers"
x)
.
showString
", "
.
showString
"maxDescriptorSetStorageBuffersDynamic = "
.
showsPrec
d
(getField
@"maxDescriptorSetStorageBuffersDynamic"
x)
.
showString
", "
.
showString
"maxDescriptorSetSampledImages = "
.
showsPrec
d
(getField
@"maxDescriptorSetSampledImages"
x)
.
showString
", "
.
showString
"maxDescriptorSetStorageImages = "
.
showsPrec
d
(getField
@"maxDescriptorSetStorageImages"
x)
.
showString
", "
.
showString
"maxDescriptorSetInputAttachments = "
.
showsPrec
d
(getField
@"maxDescriptorSetInputAttachments"
x)
.
showString
", "
.
showString
"maxVertexInputAttributes = "
.
showsPrec
d
(getField
@"maxVertexInputAttributes"
x)
.
showString
", "
.
showString
"maxVertexInputBindings = "
.
showsPrec
d
(getField
@"maxVertexInputBindings"
x)
.
showString
", "
.
showString
"maxVertexInputAttributeOffset = "
.
showsPrec
d
(getField
@"maxVertexInputAttributeOffset"
x)
.
showString
", "
.
showString
"maxVertexInputBindingStride = "
.
showsPrec
d
(getField
@"maxVertexInputBindingStride"
x)
.
showString
", "
.
showString
"maxVertexOutputComponents = "
.
showsPrec
d
(getField
@"maxVertexOutputComponents"
x)
.
showString
", "
.
showString
"maxTessellationGenerationLevel = "
.
showsPrec
d
(getField
@"maxTessellationGenerationLevel"
x)
.
showString
", "
.
showString
"maxTessellationPatchSize = "
.
showsPrec
d
(getField
@"maxTessellationPatchSize"
x)
.
showString
", "
.
showString
"maxTessellationControlPerVertexInputComponents = "
.
showsPrec
d
(getField
@"maxTessellationControlPerVertexInputComponents"
x)
.
showString
", "
.
showString
"maxTessellationControlPerVertexOutputComponents = "
.
showsPrec
d
(getField
@"maxTessellationControlPerVertexOutputComponents"
x)
.
showString
", "
.
showString
"maxTessellationControlPerPatchOutputComponents = "
.
showsPrec
d
(getField
@"maxTessellationControlPerPatchOutputComponents"
x)
.
showString
", "
.
showString
"maxTessellationControlTotalOutputComponents = "
.
showsPrec
d
(getField
@"maxTessellationControlTotalOutputComponents"
x)
.
showString
", "
.
showString
"maxTessellationEvaluationInputComponents = "
.
showsPrec
d
(getField
@"maxTessellationEvaluationInputComponents"
x)
.
showString
", "
.
showString
"maxTessellationEvaluationOutputComponents = "
.
showsPrec
d
(getField
@"maxTessellationEvaluationOutputComponents"
x)
.
showString
", "
.
showString
"maxGeometryShaderInvocations = "
.
showsPrec
d
(getField
@"maxGeometryShaderInvocations"
x)
.
showString
", "
.
showString
"maxGeometryInputComponents = "
.
showsPrec
d
(getField
@"maxGeometryInputComponents"
x)
.
showString
", "
.
showString
"maxGeometryOutputComponents = "
.
showsPrec
d
(getField
@"maxGeometryOutputComponents"
x)
.
showString
", "
.
showString
"maxGeometryOutputVertices = "
.
showsPrec
d
(getField
@"maxGeometryOutputVertices"
x)
.
showString
", "
.
showString
"maxGeometryTotalOutputComponents = "
.
showsPrec
d
(getField
@"maxGeometryTotalOutputComponents"
x)
.
showString
", "
.
showString
"maxFragmentInputComponents = "
.
showsPrec
d
(getField
@"maxFragmentInputComponents"
x)
.
showString
", "
.
showString
"maxFragmentOutputAttachments = "
.
showsPrec
d
(getField
@"maxFragmentOutputAttachments"
x)
.
showString
", "
.
showString
"maxFragmentDualSrcAttachments = "
.
showsPrec
d
(getField
@"maxFragmentDualSrcAttachments"
x)
.
showString
", "
.
showString
"maxFragmentCombinedOutputResources = "
.
showsPrec
d
(getField
@"maxFragmentCombinedOutputResources"
x)
.
showString
", "
.
showString
"maxComputeSharedMemorySize = "
.
showsPrec
d
(getField
@"maxComputeSharedMemorySize"
x)
.
showString
", "
.
(showString
"maxComputeWorkGroupCount = ["
.
showsPrec
d
(let s = sizeOf
(undefined
::
FieldType
"maxComputeWorkGroupCount"
VkPhysicalDeviceLimits)
o = fieldOffset
@"maxComputeWorkGroupCount"
@VkPhysicalDeviceLimits
f i
= peekByteOff
(unsafePtr
x)
i
::
IO
(FieldType
"maxComputeWorkGroupCount"
VkPhysicalDeviceLimits)
in
unsafeDupablePerformIO
.
mapM
f
$
map
(\ i
->
o +
i *
s)
[0
..
3
1])
.
showChar
']')
.
showString
", "
.
showString
"maxComputeWorkGroupInvocations = "
.
showsPrec
d
(getField
@"maxComputeWorkGroupInvocations"
x)
.
showString
", "
.
(showString
"maxComputeWorkGroupSize = ["
.
showsPrec
d
(let s = sizeOf
(undefined
::
FieldType
"maxComputeWorkGroupSize"
VkPhysicalDeviceLimits)
o = fieldOffset
@"maxComputeWorkGroupSize"
@VkPhysicalDeviceLimits
f i
= peekByteOff
(unsafePtr
x)
i
::
IO
(FieldType
"maxComputeWorkGroupSize"
VkPhysicalDeviceLimits)
in
unsafeDupablePerformIO
.
mapM
f
$
map
(\ i
->
o +
i *
s)
[0
..
3
1])
.
showChar
']')
.
showString
", "
.
showString
"subPixelPrecisionBits = "
.
showsPrec
d
(getField
@"subPixelPrecisionBits"
x)
.
showString
", "
.
showString
"subTexelPrecisionBits = "
.
showsPrec
d
(getField
@"subTexelPrecisionBits"
x)
.
showString
", "
.
showString
"mipmapPrecisionBits = "
.
showsPrec
d
(getField
@"mipmapPrecisionBits"
x)
.
showString
", "
.
showString
"maxDrawIndexedIndexValue = "
.
showsPrec
d
(getField
@"maxDrawIndexedIndexValue"
x)
.
showString
", "
.
showString
"maxDrawIndirectCount = "
.
showsPrec
d
(getField
@"maxDrawIndirectCount"
x)
.
showString
", "
.
showString
"maxSamplerLodBias = "
.
showsPrec
d
(getField
@"maxSamplerLodBias"
x)
.
showString
", "
.
showString
"maxSamplerAnisotropy = "
.
showsPrec
d
(getField
@"maxSamplerAnisotropy"
x)
.
showString
", "
.
showString
"maxViewports = "
.
showsPrec
d
(getField
@"maxViewports"
x)
.
showString
", "
.
(showString
"maxViewportDimensions = ["
.
showsPrec
d
(let s = sizeOf
(undefined
::
FieldType
"maxViewportDimensions"
VkPhysicalDeviceLimits)
o = fieldOffset
@"maxViewportDimensions"
@VkPhysicalDeviceLimits
f i
= peekByteOff
(unsafePtr
x)
i
::
IO
(FieldType
"maxViewportDimensions"
VkPhysicalDeviceLimits)
in
unsafeDupablePerformIO
.
mapM
f
$
map
(\ i
->
o +
i *
s)
[0
..
2
1])
.
showChar
']')
.
showString
", "
.
(showString
"viewportBoundsRange = ["
.
showsPrec
d
(let s = sizeOf
(undefined
::
FieldType
"viewportBoundsRange"
VkPhysicalDeviceLimits)
o = fieldOffset
@"viewportBoundsRange"
@VkPhysicalDeviceLimits
f i
= peekByteOff
(unsafePtr
x)
i
::
IO
(FieldType
"viewportBoundsRange"
VkPhysicalDeviceLimits)
in
unsafeDupablePerformIO
.
mapM
f
$
map
(\ i
->
o +
i *
s)
[0
..
2
1])
.
showChar
']')
.
showString
", "
.
showString
"viewportSubPixelBits = "
.
showsPrec
d
(getField
@"viewportSubPixelBits"
x)
.
showString
", "
.
showString
"minMemoryMapAlignment = "
.
showsPrec
d
(getField
@"minMemoryMapAlignment"
x)
.
showString
", "
.
showString
"minTexelBufferOffsetAlignment = "
.
showsPrec
d
(getField
@"minTexelBufferOffsetAlignment"
x)
.
showString
", "
.
showString
"minUniformBufferOffsetAlignment = "
.
showsPrec
d
(getField
@"minUniformBufferOffsetAlignment"
x)
.
showString
", "
.
showString
"minStorageBufferOffsetAlignment = "
.
showsPrec
d
(getField
@"minStorageBufferOffsetAlignment"
x)
.
showString
", "
.
showString
"minTexelOffset = "
.
showsPrec
d
(getField
@"minTexelOffset"
x)
.
showString
", "
.
showString
"maxTexelOffset = "
.
showsPrec
d
(getField
@"maxTexelOffset"
x)
.
showString
", "
.
showString
"minTexelGatherOffset = "
.
showsPrec
d
(getField
@"minTexelGatherOffset"
x)
.
showString
", "
.
showString
"maxTexelGatherOffset = "
.
showsPrec
d
(getField
@"maxTexelGatherOffset"
x)
.
showString
", "
.
showString
"minInterpolationOffset = "
.
showsPrec
d
(getField
@"minInterpolationOffset"
x)
.
showString
", "
.
showString
"maxInterpolationOffset = "
.
showsPrec
d
(getField
@"maxInterpolationOffset"
x)
.
showString
", "
.
showString
"subPixelInterpolationOffsetBits = "
.
showsPrec
d
(getField
@"subPixelInterpolationOffsetBits"
x)
.
showString
", "
.
showString
"maxFramebufferWidth = "
.
showsPrec
d
(getField
@"maxFramebufferWidth"
x)
.
showString
", "
.
showString
"maxFramebufferHeight = "
.
showsPrec
d
(getField
@"maxFramebufferHeight"
x)
.
showString
", "
.
showString
"maxFramebufferLayers = "
.
showsPrec
d
(getField
@"maxFramebufferLayers"
x)
.
showString
", "
.
showString
"framebufferColorSampleCounts = "
.
showsPrec
d
(getField
@"framebufferColorSampleCounts"
x)
.
showString
", "
.
showString
"framebufferDepthSampleCounts = "
.
showsPrec
d
(getField
@"framebufferDepthSampleCounts"
x)
.
showString
", "
.
showString
"framebufferStencilSampleCounts = "
.
showsPrec
d
(getField
@"framebufferStencilSampleCounts"
x)
.
showString
", "
.
showString
"framebufferNoAttachmentsSampleCounts = "
.
showsPrec
d
(getField
@"framebufferNoAttachmentsSampleCounts"
x)
.
showString
", "
.
showString
"maxColorAttachments = "
.
showsPrec
d
(getField
@"maxColorAttachments"
x)
.
showString
", "
.
showString
"sampledImageColorSampleCounts = "
.
showsPrec
d
(getField
@"sampledImageColorSampleCounts"
x)
.
showString
", "
.
showString
"sampledImageIntegerSampleCounts = "
.
showsPrec
d
(getField
@"sampledImageIntegerSampleCounts"
x)
.
showString
", "
.
showString
"sampledImageDepthSampleCounts = "
.
showsPrec
d
(getField
@"sampledImageDepthSampleCounts"
x)
.
showString
", "
.
showString
"sampledImageStencilSampleCounts = "
.
showsPrec
d
(getField
@"sampledImageStencilSampleCounts"
x)
.
showString
", "
.
showString
"storageImageSampleCounts = "
.
showsPrec
d
(getField
@"storageImageSampleCounts"
x)
.
showString
", "
.
showString
"maxSampleMaskWords = "
.
showsPrec
d
(getField
@"maxSampleMaskWords"
x)
.
showString
", "
.
showString
"timestampComputeAndGraphics = "
.
showsPrec
d
(getField
@"timestampComputeAndGraphics"
x)
.
showString
", "
.
showString
"timestampPeriod = "
.
showsPrec
d
(getField
@"timestampPeriod"
x)
.
showString
", "
.
showString
"maxClipDistances = "
.
showsPrec
d
(getField
@"maxClipDistances"
x)
.
showString
", "
.
showString
"maxCullDistances = "
.
showsPrec
d
(getField
@"maxCullDistances"
x)
.
showString
", "
.
showString
"maxCombinedClipAndCullDistances = "
.
showsPrec
d
(getField
@"maxCombinedClipAndCullDistances"
x)
.
showString
", "
.
showString
"discreteQueuePriorities = "
.
showsPrec
d
(getField
@"discreteQueuePriorities"
x)
.
showString
", "
.
(showString
"pointSizeRange = ["
.
showsPrec
d
(let s = sizeOf
(undefined
::
FieldType
"pointSizeRange"
VkPhysicalDeviceLimits)
o = fieldOffset
@"pointSizeRange"
@VkPhysicalDeviceLimits
f i
= peekByteOff
(unsafePtr
x)
i
::
IO
(FieldType
"pointSizeRange"
VkPhysicalDeviceLimits)
in
unsafeDupablePerformIO
.
mapM
f
$
map
(\ i
->
o +
i *
s)
[0
..
2
1])
.
showChar
']')
.
showString
", "
.
(showString
"lineWidthRange = ["
.
showsPrec
d
(let s = sizeOf
(undefined
::
FieldType
"lineWidthRange"
VkPhysicalDeviceLimits)
o = fieldOffset
@"lineWidthRange"
@VkPhysicalDeviceLimits
f i
= peekByteOff
(unsafePtr
x)
i
::
IO
(FieldType
"lineWidthRange"
VkPhysicalDeviceLimits)
in
unsafeDupablePerformIO
.
mapM
f
$
map
(\ i
->
o +
i *
s)
[0
..
2
1])
.
showChar
']')
.
showString
", "
.
showString
"pointSizeGranularity = "
.
showsPrec
d
(getField
@"pointSizeGranularity"
x)
.
showString
", "
.
showString
"lineWidthGranularity = "
.
showsPrec
d
(getField
@"lineWidthGranularity"
x)
.
showString
", "
.
showString
"strictLines = "
.
showsPrec
d
(getField
@"strictLines"
x)
.
showString
", "
.
showString
"standardSampleLocations = "
.
showsPrec
d
(getField
@"standardSampleLocations"
x)
.
showString
", "
.
showString
"optimalBufferCopyOffsetAlignment = "
.
showsPrec
d
(getField
@"optimalBufferCopyOffsetAlignment"
x)
.
showString
", "
.
showString
"optimalBufferCopyRowPitchAlignment = "
.
showsPrec
d
(getField
@"optimalBufferCopyRowPitchAlignment"
x)
.
showString
", "
.
showString
"nonCoherentAtomSize = "
.
showsPrec
d
(getField
@"nonCoherentAtomSize"
x)
.
showChar
'}'
data VkPhysicalDeviceMaintenance3Properties = VkPhysicalDeviceMaintenance3Properties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceMaintenance3Properties where
(VkPhysicalDeviceMaintenance3Properties# a _) ==
x@(VkPhysicalDeviceMaintenance3Properties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceMaintenance3Properties where
(VkPhysicalDeviceMaintenance3Properties# a _) `compare`
x@(VkPhysicalDeviceMaintenance3Properties# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceMaintenance3Properties where
sizeOf ~_
= (32)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceMaintenance3Properties
where
unsafeAddr (VkPhysicalDeviceMaintenance3Properties# a _) = a
unsafeByteArray (VkPhysicalDeviceMaintenance3Properties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceMaintenance3Properties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceMaintenance3Properties where
type StructFields VkPhysicalDeviceMaintenance3Properties =
'["sType", "pNext", "maxPerSetDescriptors",
"maxMemoryAllocationSize"]
type CUnionType VkPhysicalDeviceMaintenance3Properties = 'False
type ReturnedOnly VkPhysicalDeviceMaintenance3Properties = 'True
type StructExtends VkPhysicalDeviceMaintenance3Properties =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceMaintenance3Properties where
type FieldType "sType" VkPhysicalDeviceMaintenance3Properties =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceMaintenance3Properties =
'False
type FieldOffset "sType" VkPhysicalDeviceMaintenance3Properties =
(0)
type FieldIsArray "sType" VkPhysicalDeviceMaintenance3Properties =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceMaintenance3Properties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceMaintenance3Properties where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceMaintenance3Properties where
type FieldType "pNext" VkPhysicalDeviceMaintenance3Properties =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceMaintenance3Properties =
'False
type FieldOffset "pNext" VkPhysicalDeviceMaintenance3Properties =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceMaintenance3Properties =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceMaintenance3Properties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceMaintenance3Properties where
writeField p
= pokeByteOff p (8)
instance
HasField "maxPerSetDescriptors"
VkPhysicalDeviceMaintenance3Properties
where
type FieldType "maxPerSetDescriptors"
VkPhysicalDeviceMaintenance3Properties
= Word32
type FieldOptional "maxPerSetDescriptors"
VkPhysicalDeviceMaintenance3Properties
= 'False
type FieldOffset "maxPerSetDescriptors"
VkPhysicalDeviceMaintenance3Properties
=
(16)
type FieldIsArray "maxPerSetDescriptors"
VkPhysicalDeviceMaintenance3Properties
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "maxPerSetDescriptors"
VkPhysicalDeviceMaintenance3Properties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "maxPerSetDescriptors"
VkPhysicalDeviceMaintenance3Properties
where
writeField p
= pokeByteOff p (16)
instance
HasField "maxMemoryAllocationSize"
VkPhysicalDeviceMaintenance3Properties
where
type FieldType "maxMemoryAllocationSize"
VkPhysicalDeviceMaintenance3Properties
= VkDeviceSize
type FieldOptional "maxMemoryAllocationSize"
VkPhysicalDeviceMaintenance3Properties
= 'False
type FieldOffset "maxMemoryAllocationSize"
VkPhysicalDeviceMaintenance3Properties
=
(24)
type FieldIsArray "maxMemoryAllocationSize"
VkPhysicalDeviceMaintenance3Properties
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "maxMemoryAllocationSize"
VkPhysicalDeviceMaintenance3Properties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "maxMemoryAllocationSize"
VkPhysicalDeviceMaintenance3Properties
where
writeField p
= pokeByteOff p (24)
instance Show VkPhysicalDeviceMaintenance3Properties where
showsPrec d x
= showString "VkPhysicalDeviceMaintenance3Properties {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "maxPerSetDescriptors = " .
showsPrec d (getField @"maxPerSetDescriptors" x) .
showString ", " .
showString "maxMemoryAllocationSize = " .
showsPrec d (getField @"maxMemoryAllocationSize" x) . showChar '}'
type VkPhysicalDeviceMaintenance3PropertiesKHR =
VkPhysicalDeviceMaintenance3Properties
data VkPhysicalDeviceMemoryProperties = VkPhysicalDeviceMemoryProperties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceMemoryProperties where
(VkPhysicalDeviceMemoryProperties# a _) ==
x@(VkPhysicalDeviceMemoryProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceMemoryProperties where
(VkPhysicalDeviceMemoryProperties# a _) `compare`
x@(VkPhysicalDeviceMemoryProperties# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceMemoryProperties where
sizeOf ~_ = (520)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceMemoryProperties where
unsafeAddr (VkPhysicalDeviceMemoryProperties# a _) = a
unsafeByteArray (VkPhysicalDeviceMemoryProperties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceMemoryProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceMemoryProperties where
type StructFields VkPhysicalDeviceMemoryProperties =
'["memoryTypeCount", "memoryTypes", "memoryHeapCount",
"memoryHeaps"]
type CUnionType VkPhysicalDeviceMemoryProperties = 'False
type ReturnedOnly VkPhysicalDeviceMemoryProperties = 'True
type StructExtends VkPhysicalDeviceMemoryProperties = '[]
instance
HasField "memoryTypeCount" VkPhysicalDeviceMemoryProperties where
type FieldType "memoryTypeCount" VkPhysicalDeviceMemoryProperties =
Word32
type FieldOptional "memoryTypeCount"
VkPhysicalDeviceMemoryProperties
= 'False
type FieldOffset "memoryTypeCount" VkPhysicalDeviceMemoryProperties
=
(0)
type FieldIsArray "memoryTypeCount"
VkPhysicalDeviceMemoryProperties
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "memoryTypeCount" VkPhysicalDeviceMemoryProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "memoryTypeCount" VkPhysicalDeviceMemoryProperties
where
writeField p
= pokeByteOff p (0)
instance
HasField "memoryTypes" VkPhysicalDeviceMemoryProperties where
type FieldType "memoryTypes" VkPhysicalDeviceMemoryProperties =
VkMemoryType
type FieldOptional "memoryTypes" VkPhysicalDeviceMemoryProperties =
'False
type FieldOffset "memoryTypes" VkPhysicalDeviceMemoryProperties =
(4)
type FieldIsArray "memoryTypes" VkPhysicalDeviceMemoryProperties =
'True
fieldOptional = False
fieldOffset
= (4)
instance
(KnownNat idx,
IndexInBounds "memoryTypes" idx
VkPhysicalDeviceMemoryProperties) =>
CanReadFieldArray "memoryTypes" idx
VkPhysicalDeviceMemoryProperties
where
type FieldArrayLength "memoryTypes"
VkPhysicalDeviceMemoryProperties
= VK_MAX_MEMORY_TYPES
fieldArrayLength = VK_MAX_MEMORY_TYPES
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (4)
+
sizeOf (undefined :: VkMemoryType) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((4)
+
sizeOf (undefined :: VkMemoryType) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "memoryTypes" idx
VkPhysicalDeviceMemoryProperties) =>
CanWriteFieldArray "memoryTypes" idx
VkPhysicalDeviceMemoryProperties
where
writeFieldArray p
= pokeByteOff p
((4)
+
sizeOf (undefined :: VkMemoryType) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "memoryHeapCount" VkPhysicalDeviceMemoryProperties where
type FieldType "memoryHeapCount" VkPhysicalDeviceMemoryProperties =
Word32
type FieldOptional "memoryHeapCount"
VkPhysicalDeviceMemoryProperties
= 'False
type FieldOffset "memoryHeapCount" VkPhysicalDeviceMemoryProperties
=
(260)
type FieldIsArray "memoryHeapCount"
VkPhysicalDeviceMemoryProperties
= 'False
fieldOptional = False
fieldOffset
= (260)
instance
CanReadField "memoryHeapCount" VkPhysicalDeviceMemoryProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (260))
readField p
= peekByteOff p (260)
instance
CanWriteField "memoryHeapCount" VkPhysicalDeviceMemoryProperties
where
writeField p
= pokeByteOff p (260)
instance
HasField "memoryHeaps" VkPhysicalDeviceMemoryProperties where
type FieldType "memoryHeaps" VkPhysicalDeviceMemoryProperties =
VkMemoryHeap
type FieldOptional "memoryHeaps" VkPhysicalDeviceMemoryProperties =
'False
type FieldOffset "memoryHeaps" VkPhysicalDeviceMemoryProperties =
(264)
type FieldIsArray "memoryHeaps" VkPhysicalDeviceMemoryProperties =
'True
fieldOptional = False
fieldOffset
= (264)
instance
(KnownNat idx,
IndexInBounds "memoryHeaps" idx
VkPhysicalDeviceMemoryProperties) =>
CanReadFieldArray "memoryHeaps" idx
VkPhysicalDeviceMemoryProperties
where
type FieldArrayLength "memoryHeaps"
VkPhysicalDeviceMemoryProperties
= VK_MAX_MEMORY_HEAPS
fieldArrayLength = VK_MAX_MEMORY_HEAPS
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (264)
+
sizeOf (undefined :: VkMemoryHeap) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((264)
+
sizeOf (undefined :: VkMemoryHeap) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "memoryHeaps" idx
VkPhysicalDeviceMemoryProperties) =>
CanWriteFieldArray "memoryHeaps" idx
VkPhysicalDeviceMemoryProperties
where
writeFieldArray p
= pokeByteOff p
((264)
+
sizeOf (undefined :: VkMemoryHeap) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance Show VkPhysicalDeviceMemoryProperties where
showsPrec d x
= showString "VkPhysicalDeviceMemoryProperties {" .
showString "memoryTypeCount = " .
showsPrec d (getField @"memoryTypeCount" x) .
showString ", " .
(showString "memoryTypes = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "memoryTypes" VkPhysicalDeviceMemoryProperties)
o = fieldOffset @"memoryTypes" @VkPhysicalDeviceMemoryProperties
f i
= peekByteOff (unsafePtr x) i ::
IO (FieldType "memoryTypes" VkPhysicalDeviceMemoryProperties)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s) [0 .. VK_MAX_MEMORY_TYPES 1])
. showChar ']')
.
showString ", " .
showString "memoryHeapCount = " .
showsPrec d (getField @"memoryHeapCount" x) .
showString ", " .
(showString "memoryHeaps = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "memoryHeaps"
VkPhysicalDeviceMemoryProperties)
o = fieldOffset @"memoryHeaps"
@VkPhysicalDeviceMemoryProperties
f i
= peekByteOff (unsafePtr x) i ::
IO
(FieldType "memoryHeaps"
VkPhysicalDeviceMemoryProperties)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s) [0 .. VK_MAX_MEMORY_HEAPS 1])
. showChar ']')
. showChar '}'
data VkPhysicalDeviceMemoryProperties2 = VkPhysicalDeviceMemoryProperties2# Addr#
ByteArray#
instance Eq VkPhysicalDeviceMemoryProperties2 where
(VkPhysicalDeviceMemoryProperties2# a _) ==
x@(VkPhysicalDeviceMemoryProperties2# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceMemoryProperties2 where
(VkPhysicalDeviceMemoryProperties2# a _) `compare`
x@(VkPhysicalDeviceMemoryProperties2# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceMemoryProperties2 where
sizeOf ~_ = (536)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceMemoryProperties2 where
unsafeAddr (VkPhysicalDeviceMemoryProperties2# a _) = a
unsafeByteArray (VkPhysicalDeviceMemoryProperties2# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceMemoryProperties2#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceMemoryProperties2 where
type StructFields VkPhysicalDeviceMemoryProperties2 =
'["sType", "pNext", "memoryProperties"]
type CUnionType VkPhysicalDeviceMemoryProperties2 = 'False
type ReturnedOnly VkPhysicalDeviceMemoryProperties2 = 'True
type StructExtends VkPhysicalDeviceMemoryProperties2 = '[]
instance
HasField "sType" VkPhysicalDeviceMemoryProperties2 where
type FieldType "sType" VkPhysicalDeviceMemoryProperties2 =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceMemoryProperties2 =
'False
type FieldOffset "sType" VkPhysicalDeviceMemoryProperties2 =
(0)
type FieldIsArray "sType" VkPhysicalDeviceMemoryProperties2 =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceMemoryProperties2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceMemoryProperties2 where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceMemoryProperties2 where
type FieldType "pNext" VkPhysicalDeviceMemoryProperties2 = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceMemoryProperties2 =
'False
type FieldOffset "pNext" VkPhysicalDeviceMemoryProperties2 =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceMemoryProperties2 =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceMemoryProperties2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceMemoryProperties2 where
writeField p
= pokeByteOff p (8)
instance
HasField "memoryProperties" VkPhysicalDeviceMemoryProperties2 where
type FieldType "memoryProperties" VkPhysicalDeviceMemoryProperties2
= VkPhysicalDeviceMemoryProperties
type FieldOptional "memoryProperties"
VkPhysicalDeviceMemoryProperties2
= 'False
type FieldOffset "memoryProperties"
VkPhysicalDeviceMemoryProperties2
=
(16)
type FieldIsArray "memoryProperties"
VkPhysicalDeviceMemoryProperties2
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "memoryProperties" VkPhysicalDeviceMemoryProperties2
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "memoryProperties" VkPhysicalDeviceMemoryProperties2
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceMemoryProperties2 where
showsPrec d x
= showString "VkPhysicalDeviceMemoryProperties2 {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "memoryProperties = " .
showsPrec d (getField @"memoryProperties" x) . showChar '}'
type VkPhysicalDeviceMemoryProperties2KHR =
VkPhysicalDeviceMemoryProperties2
data VkPhysicalDeviceMultiviewFeatures = VkPhysicalDeviceMultiviewFeatures# Addr#
ByteArray#
instance Eq VkPhysicalDeviceMultiviewFeatures where
(VkPhysicalDeviceMultiviewFeatures# a _) ==
x@(VkPhysicalDeviceMultiviewFeatures# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceMultiviewFeatures where
(VkPhysicalDeviceMultiviewFeatures# a _) `compare`
x@(VkPhysicalDeviceMultiviewFeatures# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceMultiviewFeatures where
sizeOf ~_ = (32)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceMultiviewFeatures where
unsafeAddr (VkPhysicalDeviceMultiviewFeatures# a _) = a
unsafeByteArray (VkPhysicalDeviceMultiviewFeatures# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceMultiviewFeatures#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceMultiviewFeatures where
type StructFields VkPhysicalDeviceMultiviewFeatures =
'["sType", "pNext", "multiview", "multiviewGeometryShader",
"multiviewTessellationShader"]
type CUnionType VkPhysicalDeviceMultiviewFeatures = 'False
type ReturnedOnly VkPhysicalDeviceMultiviewFeatures = 'False
type StructExtends VkPhysicalDeviceMultiviewFeatures =
'[VkPhysicalDeviceFeatures2, VkDeviceCreateInfo]
instance
HasField "sType" VkPhysicalDeviceMultiviewFeatures where
type FieldType "sType" VkPhysicalDeviceMultiviewFeatures =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceMultiviewFeatures =
'False
type FieldOffset "sType" VkPhysicalDeviceMultiviewFeatures =
(0)
type FieldIsArray "sType" VkPhysicalDeviceMultiviewFeatures =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceMultiviewFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceMultiviewFeatures where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceMultiviewFeatures where
type FieldType "pNext" VkPhysicalDeviceMultiviewFeatures = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceMultiviewFeatures =
'False
type FieldOffset "pNext" VkPhysicalDeviceMultiviewFeatures =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceMultiviewFeatures =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceMultiviewFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceMultiviewFeatures where
writeField p
= pokeByteOff p (8)
instance
HasField "multiview" VkPhysicalDeviceMultiviewFeatures where
type FieldType "multiview" VkPhysicalDeviceMultiviewFeatures =
VkBool32
type FieldOptional "multiview" VkPhysicalDeviceMultiviewFeatures =
'False
type FieldOffset "multiview" VkPhysicalDeviceMultiviewFeatures =
(16)
type FieldIsArray "multiview" VkPhysicalDeviceMultiviewFeatures =
'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "multiview" VkPhysicalDeviceMultiviewFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "multiview" VkPhysicalDeviceMultiviewFeatures where
writeField p
= pokeByteOff p (16)
instance
HasField "multiviewGeometryShader"
VkPhysicalDeviceMultiviewFeatures
where
type FieldType "multiviewGeometryShader"
VkPhysicalDeviceMultiviewFeatures
= VkBool32
type FieldOptional "multiviewGeometryShader"
VkPhysicalDeviceMultiviewFeatures
= 'False
type FieldOffset "multiviewGeometryShader"
VkPhysicalDeviceMultiviewFeatures
=
(20)
type FieldIsArray "multiviewGeometryShader"
VkPhysicalDeviceMultiviewFeatures
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "multiviewGeometryShader"
VkPhysicalDeviceMultiviewFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "multiviewGeometryShader"
VkPhysicalDeviceMultiviewFeatures
where
writeField p
= pokeByteOff p (20)
instance
HasField "multiviewTessellationShader"
VkPhysicalDeviceMultiviewFeatures
where
type FieldType "multiviewTessellationShader"
VkPhysicalDeviceMultiviewFeatures
= VkBool32
type FieldOptional "multiviewTessellationShader"
VkPhysicalDeviceMultiviewFeatures
= 'False
type FieldOffset "multiviewTessellationShader"
VkPhysicalDeviceMultiviewFeatures
=
(24)
type FieldIsArray "multiviewTessellationShader"
VkPhysicalDeviceMultiviewFeatures
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "multiviewTessellationShader"
VkPhysicalDeviceMultiviewFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "multiviewTessellationShader"
VkPhysicalDeviceMultiviewFeatures
where
writeField p
= pokeByteOff p (24)
instance Show VkPhysicalDeviceMultiviewFeatures where
showsPrec d x
= showString "VkPhysicalDeviceMultiviewFeatures {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "multiview = " .
showsPrec d (getField @"multiview" x) .
showString ", " .
showString "multiviewGeometryShader = " .
showsPrec d (getField @"multiviewGeometryShader" x) .
showString ", " .
showString "multiviewTessellationShader = " .
showsPrec d (getField @"multiviewTessellationShader" x) .
showChar '}'
type VkPhysicalDeviceMultiviewFeaturesKHR =
VkPhysicalDeviceMultiviewFeatures
data VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX = VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX# Addr#
ByteArray#
instance Eq VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX# a _) ==
x@(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX# a _)
`compare`
x@(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX# b _)
= cmpBytes# (sizeOf x) a b
instance Storable
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
unsafeAddr
(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX# a _) = a
unsafeByteArray
(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
type StructFields
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= '["sType", "pNext", "perViewPositionAllComponents"]
type CUnionType
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= 'False
type ReturnedOnly
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= 'True
type StructExtends
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= '[VkPhysicalDeviceProperties2]
instance
HasField "sType"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
type FieldType "sType"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= 'False
type FieldOffset "sType"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
type FieldType "pNext"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
writeField p
= pokeByteOff p (8)
instance
HasField "perViewPositionAllComponents"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
type FieldType "perViewPositionAllComponents"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= VkBool32
type FieldOptional "perViewPositionAllComponents"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= 'False
type FieldOffset "perViewPositionAllComponents"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
=
(16)
type FieldIsArray "perViewPositionAllComponents"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "perViewPositionAllComponents"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "perViewPositionAllComponents"
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
writeField p
= pokeByteOff p (16)
instance Show
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
where
showsPrec d x
= showString
"VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX {"
.
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "perViewPositionAllComponents = " .
showsPrec d (getField @"perViewPositionAllComponents" x) .
showChar '}'
data VkPhysicalDeviceMultiviewProperties = VkPhysicalDeviceMultiviewProperties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceMultiviewProperties where
(VkPhysicalDeviceMultiviewProperties# a _) ==
x@(VkPhysicalDeviceMultiviewProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceMultiviewProperties where
(VkPhysicalDeviceMultiviewProperties# a _) `compare`
x@(VkPhysicalDeviceMultiviewProperties# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceMultiviewProperties where
sizeOf ~_ = (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceMultiviewProperties
where
unsafeAddr (VkPhysicalDeviceMultiviewProperties# a _) = a
unsafeByteArray (VkPhysicalDeviceMultiviewProperties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceMultiviewProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceMultiviewProperties where
type StructFields VkPhysicalDeviceMultiviewProperties =
'["sType", "pNext", "maxMultiviewViewCount",
"maxMultiviewInstanceIndex"]
type CUnionType VkPhysicalDeviceMultiviewProperties = 'False
type ReturnedOnly VkPhysicalDeviceMultiviewProperties = 'True
type StructExtends VkPhysicalDeviceMultiviewProperties =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceMultiviewProperties where
type FieldType "sType" VkPhysicalDeviceMultiviewProperties =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceMultiviewProperties =
'False
type FieldOffset "sType" VkPhysicalDeviceMultiviewProperties =
(0)
type FieldIsArray "sType" VkPhysicalDeviceMultiviewProperties =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceMultiviewProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceMultiviewProperties where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceMultiviewProperties where
type FieldType "pNext" VkPhysicalDeviceMultiviewProperties =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceMultiviewProperties =
'False
type FieldOffset "pNext" VkPhysicalDeviceMultiviewProperties =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceMultiviewProperties =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceMultiviewProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceMultiviewProperties where
writeField p
= pokeByteOff p (8)
instance
HasField "maxMultiviewViewCount"
VkPhysicalDeviceMultiviewProperties
where
type FieldType "maxMultiviewViewCount"
VkPhysicalDeviceMultiviewProperties
= Word32
type FieldOptional "maxMultiviewViewCount"
VkPhysicalDeviceMultiviewProperties
= 'False
type FieldOffset "maxMultiviewViewCount"
VkPhysicalDeviceMultiviewProperties
=
(16)
type FieldIsArray "maxMultiviewViewCount"
VkPhysicalDeviceMultiviewProperties
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "maxMultiviewViewCount"
VkPhysicalDeviceMultiviewProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "maxMultiviewViewCount"
VkPhysicalDeviceMultiviewProperties
where
writeField p
= pokeByteOff p (16)
instance
HasField "maxMultiviewInstanceIndex"
VkPhysicalDeviceMultiviewProperties
where
type FieldType "maxMultiviewInstanceIndex"
VkPhysicalDeviceMultiviewProperties
= Word32
type FieldOptional "maxMultiviewInstanceIndex"
VkPhysicalDeviceMultiviewProperties
= 'False
type FieldOffset "maxMultiviewInstanceIndex"
VkPhysicalDeviceMultiviewProperties
=
(20)
type FieldIsArray "maxMultiviewInstanceIndex"
VkPhysicalDeviceMultiviewProperties
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "maxMultiviewInstanceIndex"
VkPhysicalDeviceMultiviewProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "maxMultiviewInstanceIndex"
VkPhysicalDeviceMultiviewProperties
where
writeField p
= pokeByteOff p (20)
instance Show VkPhysicalDeviceMultiviewProperties where
showsPrec d x
= showString "VkPhysicalDeviceMultiviewProperties {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "maxMultiviewViewCount = " .
showsPrec d (getField @"maxMultiviewViewCount" x) .
showString ", " .
showString "maxMultiviewInstanceIndex = " .
showsPrec d (getField @"maxMultiviewInstanceIndex" x) .
showChar '}'
type VkPhysicalDeviceMultiviewPropertiesKHR =
VkPhysicalDeviceMultiviewProperties
data VkPhysicalDevicePointClippingProperties = VkPhysicalDevicePointClippingProperties# Addr#
ByteArray#
instance Eq VkPhysicalDevicePointClippingProperties where
(VkPhysicalDevicePointClippingProperties# a _) ==
x@(VkPhysicalDevicePointClippingProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDevicePointClippingProperties where
(VkPhysicalDevicePointClippingProperties# a _) `compare`
x@(VkPhysicalDevicePointClippingProperties# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDevicePointClippingProperties where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDevicePointClippingProperties
where
unsafeAddr (VkPhysicalDevicePointClippingProperties# a _) = a
unsafeByteArray (VkPhysicalDevicePointClippingProperties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDevicePointClippingProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDevicePointClippingProperties
where
type StructFields VkPhysicalDevicePointClippingProperties =
'["sType", "pNext", "pointClippingBehavior"]
type CUnionType VkPhysicalDevicePointClippingProperties = 'False
type ReturnedOnly VkPhysicalDevicePointClippingProperties = 'True
type StructExtends VkPhysicalDevicePointClippingProperties =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDevicePointClippingProperties where
type FieldType "sType" VkPhysicalDevicePointClippingProperties =
VkStructureType
type FieldOptional "sType" VkPhysicalDevicePointClippingProperties
= 'False
type FieldOffset "sType" VkPhysicalDevicePointClippingProperties =
(0)
type FieldIsArray "sType" VkPhysicalDevicePointClippingProperties =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDevicePointClippingProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDevicePointClippingProperties where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDevicePointClippingProperties where
type FieldType "pNext" VkPhysicalDevicePointClippingProperties =
Ptr Void
type FieldOptional "pNext" VkPhysicalDevicePointClippingProperties
= 'False
type FieldOffset "pNext" VkPhysicalDevicePointClippingProperties =
(8)
type FieldIsArray "pNext" VkPhysicalDevicePointClippingProperties =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDevicePointClippingProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDevicePointClippingProperties where
writeField p
= pokeByteOff p (8)
instance
HasField "pointClippingBehavior"
VkPhysicalDevicePointClippingProperties
where
type FieldType "pointClippingBehavior"
VkPhysicalDevicePointClippingProperties
= VkPointClippingBehavior
type FieldOptional "pointClippingBehavior"
VkPhysicalDevicePointClippingProperties
= 'False
type FieldOffset "pointClippingBehavior"
VkPhysicalDevicePointClippingProperties
=
(16)
type FieldIsArray "pointClippingBehavior"
VkPhysicalDevicePointClippingProperties
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "pointClippingBehavior"
VkPhysicalDevicePointClippingProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "pointClippingBehavior"
VkPhysicalDevicePointClippingProperties
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDevicePointClippingProperties where
showsPrec d x
= showString "VkPhysicalDevicePointClippingProperties {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "pointClippingBehavior = " .
showsPrec d (getField @"pointClippingBehavior" x) . showChar '}'
type VkPhysicalDevicePointClippingPropertiesKHR =
VkPhysicalDevicePointClippingProperties
data VkPhysicalDeviceProperties = VkPhysicalDeviceProperties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceProperties where
(VkPhysicalDeviceProperties# a _) ==
x@(VkPhysicalDeviceProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceProperties where
(VkPhysicalDeviceProperties# a _) `compare`
x@(VkPhysicalDeviceProperties# b _) = cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceProperties where
sizeOf ~_ = (824)
alignment ~_ = (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceProperties where
unsafeAddr (VkPhysicalDeviceProperties# a _) = a
unsafeByteArray (VkPhysicalDeviceProperties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceProperties where
type StructFields VkPhysicalDeviceProperties =
'["apiVersion", "driverVersion", "vendorID", "deviceID",
"deviceType", "deviceName", "pipelineCacheUUID", "limits",
"sparseProperties"]
type CUnionType VkPhysicalDeviceProperties = 'False
type ReturnedOnly VkPhysicalDeviceProperties = 'True
type StructExtends VkPhysicalDeviceProperties = '[]
instance
HasField "apiVersion" VkPhysicalDeviceProperties where
type FieldType "apiVersion" VkPhysicalDeviceProperties = Word32
type FieldOptional "apiVersion" VkPhysicalDeviceProperties = 'False
type FieldOffset "apiVersion" VkPhysicalDeviceProperties =
(0)
type FieldIsArray "apiVersion" VkPhysicalDeviceProperties = 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "apiVersion" VkPhysicalDeviceProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "apiVersion" VkPhysicalDeviceProperties where
writeField p
= pokeByteOff p (0)
instance
HasField "driverVersion" VkPhysicalDeviceProperties where
type FieldType "driverVersion" VkPhysicalDeviceProperties = Word32
type FieldOptional "driverVersion" VkPhysicalDeviceProperties =
'False
type FieldOffset "driverVersion" VkPhysicalDeviceProperties =
(4)
type FieldIsArray "driverVersion" VkPhysicalDeviceProperties =
'False
fieldOptional = False
fieldOffset
= (4)
instance
CanReadField "driverVersion" VkPhysicalDeviceProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (4))
readField p
= peekByteOff p (4)
instance
CanWriteField "driverVersion" VkPhysicalDeviceProperties where
writeField p
= pokeByteOff p (4)
instance
HasField "vendorID" VkPhysicalDeviceProperties where
type FieldType "vendorID" VkPhysicalDeviceProperties = Word32
type FieldOptional "vendorID" VkPhysicalDeviceProperties = 'False
type FieldOffset "vendorID" VkPhysicalDeviceProperties =
(8)
type FieldIsArray "vendorID" VkPhysicalDeviceProperties = 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "vendorID" VkPhysicalDeviceProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "vendorID" VkPhysicalDeviceProperties where
writeField p
= pokeByteOff p (8)
instance
HasField "deviceID" VkPhysicalDeviceProperties where
type FieldType "deviceID" VkPhysicalDeviceProperties = Word32
type FieldOptional "deviceID" VkPhysicalDeviceProperties = 'False
type FieldOffset "deviceID" VkPhysicalDeviceProperties =
(12)
type FieldIsArray "deviceID" VkPhysicalDeviceProperties = 'False
fieldOptional = False
fieldOffset
= (12)
instance
CanReadField "deviceID" VkPhysicalDeviceProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (12))
readField p
= peekByteOff p (12)
instance
CanWriteField "deviceID" VkPhysicalDeviceProperties where
writeField p
= pokeByteOff p (12)
instance
HasField "deviceType" VkPhysicalDeviceProperties where
type FieldType "deviceType" VkPhysicalDeviceProperties =
VkPhysicalDeviceType
type FieldOptional "deviceType" VkPhysicalDeviceProperties = 'False
type FieldOffset "deviceType" VkPhysicalDeviceProperties =
(16)
type FieldIsArray "deviceType" VkPhysicalDeviceProperties = 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "deviceType" VkPhysicalDeviceProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "deviceType" VkPhysicalDeviceProperties where
writeField p
= pokeByteOff p (16)
instance
HasField "deviceName" VkPhysicalDeviceProperties where
type FieldType "deviceName" VkPhysicalDeviceProperties = CChar
type FieldOptional "deviceName" VkPhysicalDeviceProperties = 'False
type FieldOffset "deviceName" VkPhysicalDeviceProperties =
(20)
type FieldIsArray "deviceName" VkPhysicalDeviceProperties = 'True
fieldOptional = False
fieldOffset
= (20)
instance
(KnownNat idx,
IndexInBounds "deviceName" idx VkPhysicalDeviceProperties) =>
CanReadFieldArray "deviceName" idx VkPhysicalDeviceProperties
where
type FieldArrayLength "deviceName" VkPhysicalDeviceProperties =
VK_MAX_PHYSICAL_DEVICE_NAME_SIZE
fieldArrayLength = VK_MAX_PHYSICAL_DEVICE_NAME_SIZE
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (20) +
sizeOf (undefined :: CChar) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((20) +
sizeOf (undefined :: CChar) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "deviceName" idx VkPhysicalDeviceProperties) =>
CanWriteFieldArray "deviceName" idx VkPhysicalDeviceProperties
where
writeFieldArray p
= pokeByteOff p
((20) +
sizeOf (undefined :: CChar) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "pipelineCacheUUID" VkPhysicalDeviceProperties where
type FieldType "pipelineCacheUUID" VkPhysicalDeviceProperties =
Word8
type FieldOptional "pipelineCacheUUID" VkPhysicalDeviceProperties =
'False
type FieldOffset "pipelineCacheUUID" VkPhysicalDeviceProperties =
(276)
type FieldIsArray "pipelineCacheUUID" VkPhysicalDeviceProperties =
'True
fieldOptional = False
fieldOffset
= (276)
instance
(KnownNat idx,
IndexInBounds "pipelineCacheUUID" idx
VkPhysicalDeviceProperties) =>
CanReadFieldArray "pipelineCacheUUID" idx
VkPhysicalDeviceProperties
where
type FieldArrayLength "pipelineCacheUUID"
VkPhysicalDeviceProperties
= VK_UUID_SIZE
fieldArrayLength = VK_UUID_SIZE
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (276)
+
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((276)
+
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "pipelineCacheUUID" idx
VkPhysicalDeviceProperties) =>
CanWriteFieldArray "pipelineCacheUUID" idx
VkPhysicalDeviceProperties
where
writeFieldArray p
= pokeByteOff p
((276)
+
sizeOf (undefined :: Word8) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "limits" VkPhysicalDeviceProperties where
type FieldType "limits" VkPhysicalDeviceProperties =
VkPhysicalDeviceLimits
type FieldOptional "limits" VkPhysicalDeviceProperties = 'False
type FieldOffset "limits" VkPhysicalDeviceProperties =
(296)
type FieldIsArray "limits" VkPhysicalDeviceProperties = 'False
fieldOptional = False
fieldOffset
= (296)
instance
CanReadField "limits" VkPhysicalDeviceProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (296))
readField p
= peekByteOff p (296)
instance
CanWriteField "limits" VkPhysicalDeviceProperties where
writeField p
= pokeByteOff p (296)
instance
HasField "sparseProperties" VkPhysicalDeviceProperties where
type FieldType "sparseProperties" VkPhysicalDeviceProperties =
VkPhysicalDeviceSparseProperties
type FieldOptional "sparseProperties" VkPhysicalDeviceProperties =
'False
type FieldOffset "sparseProperties" VkPhysicalDeviceProperties =
(800)
type FieldIsArray "sparseProperties" VkPhysicalDeviceProperties =
'False
fieldOptional = False
fieldOffset
= (800)
instance
CanReadField "sparseProperties" VkPhysicalDeviceProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (800))
readField p
= peekByteOff p (800)
instance
CanWriteField "sparseProperties" VkPhysicalDeviceProperties where
writeField p
= pokeByteOff p (800)
instance Show VkPhysicalDeviceProperties where
showsPrec d x
= showString "VkPhysicalDeviceProperties {" .
showString "apiVersion = " .
showsPrec d (getField @"apiVersion" x) .
showString ", " .
showString "driverVersion = " .
showsPrec d (getField @"driverVersion" x) .
showString ", " .
showString "vendorID = " .
showsPrec d (getField @"vendorID" x) .
showString ", " .
showString "deviceID = " .
showsPrec d (getField @"deviceID" x) .
showString ", " .
showString "deviceType = " .
showsPrec d (getField @"deviceType" x) .
showString ", " .
(showString "deviceName = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "deviceName"
VkPhysicalDeviceProperties)
o = fieldOffset @"deviceName"
@VkPhysicalDeviceProperties
f i
= peekByteOff (unsafePtr x) i ::
IO
(FieldType "deviceName"
VkPhysicalDeviceProperties)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s)
[0 .. VK_MAX_PHYSICAL_DEVICE_NAME_SIZE 1])
. showChar ']')
.
showString ", " .
(showString "pipelineCacheUUID = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "pipelineCacheUUID"
VkPhysicalDeviceProperties)
o = fieldOffset @"pipelineCacheUUID"
@VkPhysicalDeviceProperties
f i
= peekByteOff (unsafePtr x) i ::
IO
(FieldType "pipelineCacheUUID"
VkPhysicalDeviceProperties)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s)
[0 .. VK_UUID_SIZE 1])
. showChar ']')
.
showString ", " .
showString "limits = " .
showsPrec d (getField @"limits" x) .
showString ", " .
showString "sparseProperties = " .
showsPrec d
(getField @"sparseProperties" x)
. showChar '}'
data VkPhysicalDeviceProperties2 = VkPhysicalDeviceProperties2# Addr#
ByteArray#
instance Eq VkPhysicalDeviceProperties2 where
(VkPhysicalDeviceProperties2# a _) ==
x@(VkPhysicalDeviceProperties2# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceProperties2 where
(VkPhysicalDeviceProperties2# a _) `compare`
x@(VkPhysicalDeviceProperties2# b _) = cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceProperties2 where
sizeOf ~_ = (840)
alignment ~_ = (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceProperties2 where
unsafeAddr (VkPhysicalDeviceProperties2# a _) = a
unsafeByteArray (VkPhysicalDeviceProperties2# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceProperties2#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceProperties2 where
type StructFields VkPhysicalDeviceProperties2 =
'["sType", "pNext", "properties"]
type CUnionType VkPhysicalDeviceProperties2 = 'False
type ReturnedOnly VkPhysicalDeviceProperties2 = 'True
type StructExtends VkPhysicalDeviceProperties2 = '[]
instance
HasField "sType" VkPhysicalDeviceProperties2 where
type FieldType "sType" VkPhysicalDeviceProperties2 =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceProperties2 = 'False
type FieldOffset "sType" VkPhysicalDeviceProperties2 =
(0)
type FieldIsArray "sType" VkPhysicalDeviceProperties2 = 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceProperties2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceProperties2 where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceProperties2 where
type FieldType "pNext" VkPhysicalDeviceProperties2 = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceProperties2 = 'False
type FieldOffset "pNext" VkPhysicalDeviceProperties2 =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceProperties2 = 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceProperties2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceProperties2 where
writeField p
= pokeByteOff p (8)
instance
HasField "properties" VkPhysicalDeviceProperties2 where
type FieldType "properties" VkPhysicalDeviceProperties2 =
VkPhysicalDeviceProperties
type FieldOptional "properties" VkPhysicalDeviceProperties2 =
'False
type FieldOffset "properties" VkPhysicalDeviceProperties2 =
(16)
type FieldIsArray "properties" VkPhysicalDeviceProperties2 = 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "properties" VkPhysicalDeviceProperties2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "properties" VkPhysicalDeviceProperties2 where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceProperties2 where
showsPrec d x
= showString "VkPhysicalDeviceProperties2 {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "properties = " .
showsPrec d (getField @"properties" x) . showChar '}'
type VkPhysicalDeviceProperties2KHR = VkPhysicalDeviceProperties2
data VkPhysicalDeviceProtectedMemoryFeatures = VkPhysicalDeviceProtectedMemoryFeatures# Addr#
ByteArray#
instance Eq VkPhysicalDeviceProtectedMemoryFeatures where
(VkPhysicalDeviceProtectedMemoryFeatures# a _) ==
x@(VkPhysicalDeviceProtectedMemoryFeatures# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceProtectedMemoryFeatures where
(VkPhysicalDeviceProtectedMemoryFeatures# a _) `compare`
x@(VkPhysicalDeviceProtectedMemoryFeatures# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceProtectedMemoryFeatures where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceProtectedMemoryFeatures
where
unsafeAddr (VkPhysicalDeviceProtectedMemoryFeatures# a _) = a
unsafeByteArray (VkPhysicalDeviceProtectedMemoryFeatures# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceProtectedMemoryFeatures#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceProtectedMemoryFeatures
where
type StructFields VkPhysicalDeviceProtectedMemoryFeatures =
'["sType", "pNext", "protectedMemory"]
type CUnionType VkPhysicalDeviceProtectedMemoryFeatures = 'False
type ReturnedOnly VkPhysicalDeviceProtectedMemoryFeatures = 'False
type StructExtends VkPhysicalDeviceProtectedMemoryFeatures =
'[VkPhysicalDeviceFeatures2, VkDeviceCreateInfo]
instance
HasField "sType" VkPhysicalDeviceProtectedMemoryFeatures where
type FieldType "sType" VkPhysicalDeviceProtectedMemoryFeatures =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceProtectedMemoryFeatures
= 'False
type FieldOffset "sType" VkPhysicalDeviceProtectedMemoryFeatures =
(0)
type FieldIsArray "sType" VkPhysicalDeviceProtectedMemoryFeatures =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceProtectedMemoryFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceProtectedMemoryFeatures where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceProtectedMemoryFeatures where
type FieldType "pNext" VkPhysicalDeviceProtectedMemoryFeatures =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceProtectedMemoryFeatures
= 'False
type FieldOffset "pNext" VkPhysicalDeviceProtectedMemoryFeatures =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceProtectedMemoryFeatures =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceProtectedMemoryFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceProtectedMemoryFeatures where
writeField p
= pokeByteOff p (8)
instance
HasField "protectedMemory" VkPhysicalDeviceProtectedMemoryFeatures
where
type FieldType "protectedMemory"
VkPhysicalDeviceProtectedMemoryFeatures
= VkBool32
type FieldOptional "protectedMemory"
VkPhysicalDeviceProtectedMemoryFeatures
= 'False
type FieldOffset "protectedMemory"
VkPhysicalDeviceProtectedMemoryFeatures
=
(16)
type FieldIsArray "protectedMemory"
VkPhysicalDeviceProtectedMemoryFeatures
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "protectedMemory"
VkPhysicalDeviceProtectedMemoryFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "protectedMemory"
VkPhysicalDeviceProtectedMemoryFeatures
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceProtectedMemoryFeatures where
showsPrec d x
= showString "VkPhysicalDeviceProtectedMemoryFeatures {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "protectedMemory = " .
showsPrec d (getField @"protectedMemory" x) . showChar '}'
data VkPhysicalDeviceProtectedMemoryProperties = VkPhysicalDeviceProtectedMemoryProperties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceProtectedMemoryProperties where
(VkPhysicalDeviceProtectedMemoryProperties# a _) ==
x@(VkPhysicalDeviceProtectedMemoryProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceProtectedMemoryProperties where
(VkPhysicalDeviceProtectedMemoryProperties# a _) `compare`
x@(VkPhysicalDeviceProtectedMemoryProperties# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceProtectedMemoryProperties where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceProtectedMemoryProperties
where
unsafeAddr (VkPhysicalDeviceProtectedMemoryProperties# a _) = a
unsafeByteArray (VkPhysicalDeviceProtectedMemoryProperties# _ b)
= b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceProtectedMemoryProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceProtectedMemoryProperties
where
type StructFields VkPhysicalDeviceProtectedMemoryProperties =
'["sType", "pNext", "protectedNoFault"]
type CUnionType VkPhysicalDeviceProtectedMemoryProperties = 'False
type ReturnedOnly VkPhysicalDeviceProtectedMemoryProperties =
'False
type StructExtends VkPhysicalDeviceProtectedMemoryProperties =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceProtectedMemoryProperties where
type FieldType "sType" VkPhysicalDeviceProtectedMemoryProperties =
VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceProtectedMemoryProperties
= 'False
type FieldOffset "sType" VkPhysicalDeviceProtectedMemoryProperties
=
(0)
type FieldIsArray "sType" VkPhysicalDeviceProtectedMemoryProperties
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceProtectedMemoryProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceProtectedMemoryProperties
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceProtectedMemoryProperties where
type FieldType "pNext" VkPhysicalDeviceProtectedMemoryProperties =
Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceProtectedMemoryProperties
= 'False
type FieldOffset "pNext" VkPhysicalDeviceProtectedMemoryProperties
=
(8)
type FieldIsArray "pNext" VkPhysicalDeviceProtectedMemoryProperties
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceProtectedMemoryProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceProtectedMemoryProperties
where
writeField p
= pokeByteOff p (8)
instance
HasField "protectedNoFault"
VkPhysicalDeviceProtectedMemoryProperties
where
type FieldType "protectedNoFault"
VkPhysicalDeviceProtectedMemoryProperties
= VkBool32
type FieldOptional "protectedNoFault"
VkPhysicalDeviceProtectedMemoryProperties
= 'False
type FieldOffset "protectedNoFault"
VkPhysicalDeviceProtectedMemoryProperties
=
(16)
type FieldIsArray "protectedNoFault"
VkPhysicalDeviceProtectedMemoryProperties
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "protectedNoFault"
VkPhysicalDeviceProtectedMemoryProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "protectedNoFault"
VkPhysicalDeviceProtectedMemoryProperties
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceProtectedMemoryProperties where
showsPrec d x
= showString "VkPhysicalDeviceProtectedMemoryProperties {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "protectedNoFault = " .
showsPrec d (getField @"protectedNoFault" x) . showChar '}'
data VkPhysicalDevicePushDescriptorPropertiesKHR = VkPhysicalDevicePushDescriptorPropertiesKHR# Addr#
ByteArray#
instance Eq VkPhysicalDevicePushDescriptorPropertiesKHR where
(VkPhysicalDevicePushDescriptorPropertiesKHR# a _) ==
x@(VkPhysicalDevicePushDescriptorPropertiesKHR# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDevicePushDescriptorPropertiesKHR where
(VkPhysicalDevicePushDescriptorPropertiesKHR# a _) `compare`
x@(VkPhysicalDevicePushDescriptorPropertiesKHR# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDevicePushDescriptorPropertiesKHR where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDevicePushDescriptorPropertiesKHR
where
unsafeAddr (VkPhysicalDevicePushDescriptorPropertiesKHR# a _) = a
unsafeByteArray (VkPhysicalDevicePushDescriptorPropertiesKHR# _ b)
= b
unsafeFromByteArrayOffset off b
= VkPhysicalDevicePushDescriptorPropertiesKHR#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDevicePushDescriptorPropertiesKHR
where
type StructFields VkPhysicalDevicePushDescriptorPropertiesKHR =
'["sType", "pNext", "maxPushDescriptors"]
type CUnionType VkPhysicalDevicePushDescriptorPropertiesKHR =
'False
type ReturnedOnly VkPhysicalDevicePushDescriptorPropertiesKHR =
'False
type StructExtends VkPhysicalDevicePushDescriptorPropertiesKHR =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDevicePushDescriptorPropertiesKHR where
type FieldType "sType" VkPhysicalDevicePushDescriptorPropertiesKHR
= VkStructureType
type FieldOptional "sType"
VkPhysicalDevicePushDescriptorPropertiesKHR
= 'False
type FieldOffset "sType"
VkPhysicalDevicePushDescriptorPropertiesKHR
=
(0)
type FieldIsArray "sType"
VkPhysicalDevicePushDescriptorPropertiesKHR
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDevicePushDescriptorPropertiesKHR
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDevicePushDescriptorPropertiesKHR
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDevicePushDescriptorPropertiesKHR where
type FieldType "pNext" VkPhysicalDevicePushDescriptorPropertiesKHR
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDevicePushDescriptorPropertiesKHR
= 'False
type FieldOffset "pNext"
VkPhysicalDevicePushDescriptorPropertiesKHR
=
(8)
type FieldIsArray "pNext"
VkPhysicalDevicePushDescriptorPropertiesKHR
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDevicePushDescriptorPropertiesKHR
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDevicePushDescriptorPropertiesKHR
where
writeField p
= pokeByteOff p (8)
instance
HasField "maxPushDescriptors"
VkPhysicalDevicePushDescriptorPropertiesKHR
where
type FieldType "maxPushDescriptors"
VkPhysicalDevicePushDescriptorPropertiesKHR
= Word32
type FieldOptional "maxPushDescriptors"
VkPhysicalDevicePushDescriptorPropertiesKHR
= 'False
type FieldOffset "maxPushDescriptors"
VkPhysicalDevicePushDescriptorPropertiesKHR
=
(16)
type FieldIsArray "maxPushDescriptors"
VkPhysicalDevicePushDescriptorPropertiesKHR
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "maxPushDescriptors"
VkPhysicalDevicePushDescriptorPropertiesKHR
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "maxPushDescriptors"
VkPhysicalDevicePushDescriptorPropertiesKHR
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDevicePushDescriptorPropertiesKHR where
showsPrec d x
= showString "VkPhysicalDevicePushDescriptorPropertiesKHR {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "maxPushDescriptors = " .
showsPrec d (getField @"maxPushDescriptors" x) . showChar '}'
data VkPhysicalDeviceSampleLocationsPropertiesEXT = VkPhysicalDeviceSampleLocationsPropertiesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceSampleLocationsPropertiesEXT where
(VkPhysicalDeviceSampleLocationsPropertiesEXT# a _) ==
x@(VkPhysicalDeviceSampleLocationsPropertiesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceSampleLocationsPropertiesEXT where
(VkPhysicalDeviceSampleLocationsPropertiesEXT# a _) `compare`
x@(VkPhysicalDeviceSampleLocationsPropertiesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceSampleLocationsPropertiesEXT
where
sizeOf ~_
= (48)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
unsafeAddr (VkPhysicalDeviceSampleLocationsPropertiesEXT# a _) = a
unsafeByteArray (VkPhysicalDeviceSampleLocationsPropertiesEXT# _ b)
= b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceSampleLocationsPropertiesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceSampleLocationsPropertiesEXT
where
type StructFields VkPhysicalDeviceSampleLocationsPropertiesEXT =
'["sType", "pNext", "sampleLocationSampleCounts",
"maxSampleLocationGridSize", "sampleLocationCoordinateRange",
"sampleLocationSubPixelBits", "variableSampleLocations"]
type CUnionType VkPhysicalDeviceSampleLocationsPropertiesEXT =
'False
type ReturnedOnly VkPhysicalDeviceSampleLocationsPropertiesEXT =
'True
type StructExtends VkPhysicalDeviceSampleLocationsPropertiesEXT =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceSampleLocationsPropertiesEXT where
type FieldType "sType" VkPhysicalDeviceSampleLocationsPropertiesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceSampleLocationsPropertiesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceSampleLocationsPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceSampleLocationsPropertiesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceSampleLocationsPropertiesEXT where
type FieldType "pNext" VkPhysicalDeviceSampleLocationsPropertiesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceSampleLocationsPropertiesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceSampleLocationsPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceSampleLocationsPropertiesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "sampleLocationSampleCounts"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
type FieldType "sampleLocationSampleCounts"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= VkSampleCountFlags
type FieldOptional "sampleLocationSampleCounts"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
type FieldOffset "sampleLocationSampleCounts"
VkPhysicalDeviceSampleLocationsPropertiesEXT
=
(16)
type FieldIsArray "sampleLocationSampleCounts"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "sampleLocationSampleCounts"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "sampleLocationSampleCounts"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
writeField p
= pokeByteOff p (16)
instance
HasField "maxSampleLocationGridSize"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
type FieldType "maxSampleLocationGridSize"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= VkExtent2D
type FieldOptional "maxSampleLocationGridSize"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
type FieldOffset "maxSampleLocationGridSize"
VkPhysicalDeviceSampleLocationsPropertiesEXT
=
(20)
type FieldIsArray "maxSampleLocationGridSize"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "maxSampleLocationGridSize"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "maxSampleLocationGridSize"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
writeField p
= pokeByteOff p (20)
instance
HasField "sampleLocationCoordinateRange"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
type FieldType "sampleLocationCoordinateRange"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= Float
type FieldOptional "sampleLocationCoordinateRange"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
type FieldOffset "sampleLocationCoordinateRange"
VkPhysicalDeviceSampleLocationsPropertiesEXT
=
(28)
type FieldIsArray "sampleLocationCoordinateRange"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'True
fieldOptional = False
fieldOffset
= (28)
instance
(KnownNat idx,
IndexInBounds "sampleLocationCoordinateRange" idx
VkPhysicalDeviceSampleLocationsPropertiesEXT) =>
CanReadFieldArray "sampleLocationCoordinateRange" idx
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
type FieldArrayLength "sampleLocationCoordinateRange"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 2
fieldArrayLength = 2
getFieldArray = f
where
f x = unsafeDupablePerformIO (peekByteOff (unsafePtr x) off)
off
= (28)
+
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx))
readFieldArray p
= peekByteOff p
((28)
+
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
(KnownNat idx,
IndexInBounds "sampleLocationCoordinateRange" idx
VkPhysicalDeviceSampleLocationsPropertiesEXT) =>
CanWriteFieldArray "sampleLocationCoordinateRange" idx
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
writeFieldArray p
= pokeByteOff p
((28)
+
sizeOf (undefined :: Float) *
fromInteger (natVal' (proxy# :: Proxy# idx)))
instance
HasField "sampleLocationSubPixelBits"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
type FieldType "sampleLocationSubPixelBits"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= Word32
type FieldOptional "sampleLocationSubPixelBits"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
type FieldOffset "sampleLocationSubPixelBits"
VkPhysicalDeviceSampleLocationsPropertiesEXT
=
(36)
type FieldIsArray "sampleLocationSubPixelBits"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (36)
instance
CanReadField "sampleLocationSubPixelBits"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (36))
readField p
= peekByteOff p (36)
instance
CanWriteField "sampleLocationSubPixelBits"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
writeField p
= pokeByteOff p (36)
instance
HasField "variableSampleLocations"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
type FieldType "variableSampleLocations"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= VkBool32
type FieldOptional "variableSampleLocations"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
type FieldOffset "variableSampleLocations"
VkPhysicalDeviceSampleLocationsPropertiesEXT
=
(40)
type FieldIsArray "variableSampleLocations"
VkPhysicalDeviceSampleLocationsPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (40)
instance
CanReadField "variableSampleLocations"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (40))
readField p
= peekByteOff p (40)
instance
CanWriteField "variableSampleLocations"
VkPhysicalDeviceSampleLocationsPropertiesEXT
where
writeField p
= pokeByteOff p (40)
instance Show VkPhysicalDeviceSampleLocationsPropertiesEXT where
showsPrec d x
= showString "VkPhysicalDeviceSampleLocationsPropertiesEXT {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "sampleLocationSampleCounts = " .
showsPrec d (getField @"sampleLocationSampleCounts" x) .
showString ", " .
showString "maxSampleLocationGridSize = " .
showsPrec d (getField @"maxSampleLocationGridSize" x) .
showString ", " .
(showString "sampleLocationCoordinateRange = [" .
showsPrec d
(let s = sizeOf
(undefined ::
FieldType "sampleLocationCoordinateRange"
VkPhysicalDeviceSampleLocationsPropertiesEXT)
o = fieldOffset @"sampleLocationCoordinateRange"
@VkPhysicalDeviceSampleLocationsPropertiesEXT
f i
= peekByteOff (unsafePtr x) i ::
IO
(FieldType "sampleLocationCoordinateRange"
VkPhysicalDeviceSampleLocationsPropertiesEXT)
in
unsafeDupablePerformIO . mapM f $
map (\ i -> o + i * s) [0 .. 2 1])
. showChar ']')
.
showString ", " .
showString "sampleLocationSubPixelBits = " .
showsPrec d (getField @"sampleLocationSubPixelBits" x) .
showString ", " .
showString "variableSampleLocations = " .
showsPrec d
(getField @"variableSampleLocations" x)
. showChar '}'
data VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT = VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT where
(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT# a _) ==
x@(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT where
(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT# a _) `compare`
x@(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
unsafeAddr (VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT# a _)
= a
unsafeByteArray
(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
type StructFields VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
=
'["sType", "pNext", "filterMinmaxSingleComponentFormats",
"filterMinmaxImageComponentMapping"]
type CUnionType VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT =
'False
type ReturnedOnly VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'True
type StructExtends VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= '[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
type FieldType "sType"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
type FieldType "pNext"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "filterMinmaxSingleComponentFormats"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
type FieldType "filterMinmaxSingleComponentFormats"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= VkBool32
type FieldOptional "filterMinmaxSingleComponentFormats"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'False
type FieldOffset "filterMinmaxSingleComponentFormats"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
=
(16)
type FieldIsArray "filterMinmaxSingleComponentFormats"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "filterMinmaxSingleComponentFormats"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "filterMinmaxSingleComponentFormats"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
writeField p
= pokeByteOff p (16)
instance
HasField "filterMinmaxImageComponentMapping"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
type FieldType "filterMinmaxImageComponentMapping"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= VkBool32
type FieldOptional "filterMinmaxImageComponentMapping"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'False
type FieldOffset "filterMinmaxImageComponentMapping"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
=
(20)
type FieldIsArray "filterMinmaxImageComponentMapping"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "filterMinmaxImageComponentMapping"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "filterMinmaxImageComponentMapping"
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
writeField p
= pokeByteOff p (20)
instance Show VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
where
showsPrec d x
= showString "VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "filterMinmaxSingleComponentFormats = " .
showsPrec d (getField @"filterMinmaxSingleComponentFormats" x) .
showString ", " .
showString "filterMinmaxImageComponentMapping = " .
showsPrec d (getField @"filterMinmaxImageComponentMapping" x) .
showChar '}'
data VkPhysicalDeviceSamplerYcbcrConversionFeatures = VkPhysicalDeviceSamplerYcbcrConversionFeatures# Addr#
ByteArray#
instance Eq VkPhysicalDeviceSamplerYcbcrConversionFeatures where
(VkPhysicalDeviceSamplerYcbcrConversionFeatures# a _) ==
x@(VkPhysicalDeviceSamplerYcbcrConversionFeatures# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceSamplerYcbcrConversionFeatures where
(VkPhysicalDeviceSamplerYcbcrConversionFeatures# a _) `compare`
x@(VkPhysicalDeviceSamplerYcbcrConversionFeatures# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
unsafeAddr (VkPhysicalDeviceSamplerYcbcrConversionFeatures# a _)
= a
unsafeByteArray
(VkPhysicalDeviceSamplerYcbcrConversionFeatures# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceSamplerYcbcrConversionFeatures#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
type StructFields VkPhysicalDeviceSamplerYcbcrConversionFeatures =
'["sType", "pNext", "samplerYcbcrConversion"]
type CUnionType VkPhysicalDeviceSamplerYcbcrConversionFeatures =
'False
type ReturnedOnly VkPhysicalDeviceSamplerYcbcrConversionFeatures =
'False
type StructExtends VkPhysicalDeviceSamplerYcbcrConversionFeatures =
'[VkPhysicalDeviceFeatures2, VkDeviceCreateInfo]
instance
HasField "sType" VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
type FieldType "sType"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= 'False
type FieldOffset "sType"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
type FieldType "pNext"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
writeField p
= pokeByteOff p (8)
instance
HasField "samplerYcbcrConversion"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
type FieldType "samplerYcbcrConversion"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= VkBool32
type FieldOptional "samplerYcbcrConversion"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= 'False
type FieldOffset "samplerYcbcrConversion"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
=
(16)
type FieldIsArray "samplerYcbcrConversion"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "samplerYcbcrConversion"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "samplerYcbcrConversion"
VkPhysicalDeviceSamplerYcbcrConversionFeatures
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceSamplerYcbcrConversionFeatures where
showsPrec d x
= showString "VkPhysicalDeviceSamplerYcbcrConversionFeatures {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "samplerYcbcrConversion = " .
showsPrec d (getField @"samplerYcbcrConversion" x) . showChar '}'
type VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR =
VkPhysicalDeviceSamplerYcbcrConversionFeatures
data VkPhysicalDeviceShaderCorePropertiesAMD = VkPhysicalDeviceShaderCorePropertiesAMD# Addr#
ByteArray#
instance Eq VkPhysicalDeviceShaderCorePropertiesAMD where
(VkPhysicalDeviceShaderCorePropertiesAMD# a _) ==
x@(VkPhysicalDeviceShaderCorePropertiesAMD# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceShaderCorePropertiesAMD where
(VkPhysicalDeviceShaderCorePropertiesAMD# a _) `compare`
x@(VkPhysicalDeviceShaderCorePropertiesAMD# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceShaderCorePropertiesAMD where
sizeOf ~_
= (72)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceShaderCorePropertiesAMD
where
unsafeAddr (VkPhysicalDeviceShaderCorePropertiesAMD# a _) = a
unsafeByteArray (VkPhysicalDeviceShaderCorePropertiesAMD# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceShaderCorePropertiesAMD#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceShaderCorePropertiesAMD
where
type StructFields VkPhysicalDeviceShaderCorePropertiesAMD =
'["sType", "pNext", "shaderEngineCount",
"shaderArraysPerEngineCount", "computeUnitsPerShaderArray",
"simdPerComputeUnit", "wavefrontsPerSimd", "wavefrontSize",
"sgprsPerSimd", "minSgprAllocation", "maxSgprAllocation",
"sgprAllocationGranularity", "vgprsPerSimd", "minVgprAllocation",
"maxVgprAllocation", "vgprAllocationGranularity"]
type CUnionType VkPhysicalDeviceShaderCorePropertiesAMD = 'False
type ReturnedOnly VkPhysicalDeviceShaderCorePropertiesAMD = 'True
type StructExtends VkPhysicalDeviceShaderCorePropertiesAMD =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceShaderCorePropertiesAMD where
type FieldType "sType" VkPhysicalDeviceShaderCorePropertiesAMD =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "sType" VkPhysicalDeviceShaderCorePropertiesAMD =
(0)
type FieldIsArray "sType" VkPhysicalDeviceShaderCorePropertiesAMD =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceShaderCorePropertiesAMD where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceShaderCorePropertiesAMD where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceShaderCorePropertiesAMD where
type FieldType "pNext" VkPhysicalDeviceShaderCorePropertiesAMD =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "pNext" VkPhysicalDeviceShaderCorePropertiesAMD =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceShaderCorePropertiesAMD =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceShaderCorePropertiesAMD where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceShaderCorePropertiesAMD where
writeField p
= pokeByteOff p (8)
instance
HasField "shaderEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "shaderEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "shaderEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "shaderEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(16)
type FieldIsArray "shaderEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "shaderEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "shaderEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (16)
instance
HasField "shaderArraysPerEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "shaderArraysPerEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "shaderArraysPerEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "shaderArraysPerEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(20)
type FieldIsArray "shaderArraysPerEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "shaderArraysPerEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "shaderArraysPerEngineCount"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (20)
instance
HasField "computeUnitsPerShaderArray"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "computeUnitsPerShaderArray"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "computeUnitsPerShaderArray"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "computeUnitsPerShaderArray"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(24)
type FieldIsArray "computeUnitsPerShaderArray"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "computeUnitsPerShaderArray"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "computeUnitsPerShaderArray"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (24)
instance
HasField "simdPerComputeUnit"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "simdPerComputeUnit"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "simdPerComputeUnit"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "simdPerComputeUnit"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(28)
type FieldIsArray "simdPerComputeUnit"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "simdPerComputeUnit"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "simdPerComputeUnit"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (28)
instance
HasField "wavefrontsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "wavefrontsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "wavefrontsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "wavefrontsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(32)
type FieldIsArray "wavefrontsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (32)
instance
CanReadField "wavefrontsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (32))
readField p
= peekByteOff p (32)
instance
CanWriteField "wavefrontsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (32)
instance
HasField "wavefrontSize" VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "wavefrontSize"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "wavefrontSize"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "wavefrontSize"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(36)
type FieldIsArray "wavefrontSize"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (36)
instance
CanReadField "wavefrontSize"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (36))
readField p
= peekByteOff p (36)
instance
CanWriteField "wavefrontSize"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (36)
instance
HasField "sgprsPerSimd" VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "sgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "sgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "sgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(40)
type FieldIsArray "sgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (40)
instance
CanReadField "sgprsPerSimd" VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (40))
readField p
= peekByteOff p (40)
instance
CanWriteField "sgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (40)
instance
HasField "minSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "minSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "minSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "minSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(44)
type FieldIsArray "minSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (44)
instance
CanReadField "minSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (44))
readField p
= peekByteOff p (44)
instance
CanWriteField "minSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (44)
instance
HasField "maxSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "maxSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "maxSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "maxSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(48)
type FieldIsArray "maxSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (48)
instance
CanReadField "maxSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (48))
readField p
= peekByteOff p (48)
instance
CanWriteField "maxSgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (48)
instance
HasField "sgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "sgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "sgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "sgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(52)
type FieldIsArray "sgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (52)
instance
CanReadField "sgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (52))
readField p
= peekByteOff p (52)
instance
CanWriteField "sgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (52)
instance
HasField "vgprsPerSimd" VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "vgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "vgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "vgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(56)
type FieldIsArray "vgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (56)
instance
CanReadField "vgprsPerSimd" VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (56))
readField p
= peekByteOff p (56)
instance
CanWriteField "vgprsPerSimd"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (56)
instance
HasField "minVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "minVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "minVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "minVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(60)
type FieldIsArray "minVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (60)
instance
CanReadField "minVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (60))
readField p
= peekByteOff p (60)
instance
CanWriteField "minVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (60)
instance
HasField "maxVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "maxVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "maxVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "maxVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(64)
type FieldIsArray "maxVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (64)
instance
CanReadField "maxVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (64))
readField p
= peekByteOff p (64)
instance
CanWriteField "maxVgprAllocation"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (64)
instance
HasField "vgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
where
type FieldType "vgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
= Word32
type FieldOptional "vgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
type FieldOffset "vgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
=
(68)
type FieldIsArray "vgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
= 'False
fieldOptional = False
fieldOffset
= (68)
instance
CanReadField "vgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (68))
readField p
= peekByteOff p (68)
instance
CanWriteField "vgprAllocationGranularity"
VkPhysicalDeviceShaderCorePropertiesAMD
where
writeField p
= pokeByteOff p (68)
instance Show VkPhysicalDeviceShaderCorePropertiesAMD where
showsPrec d x
= showString "VkPhysicalDeviceShaderCorePropertiesAMD {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "shaderEngineCount = " .
showsPrec d (getField @"shaderEngineCount" x) .
showString ", " .
showString "shaderArraysPerEngineCount = " .
showsPrec d (getField @"shaderArraysPerEngineCount" x) .
showString ", " .
showString "computeUnitsPerShaderArray = " .
showsPrec d (getField @"computeUnitsPerShaderArray" x) .
showString ", " .
showString "simdPerComputeUnit = " .
showsPrec d (getField @"simdPerComputeUnit" x) .
showString ", " .
showString "wavefrontsPerSimd = " .
showsPrec d (getField @"wavefrontsPerSimd" x) .
showString ", " .
showString "wavefrontSize = " .
showsPrec d (getField @"wavefrontSize" x)
.
showString ", " .
showString "sgprsPerSimd = " .
showsPrec d
(getField @"sgprsPerSimd" x)
.
showString ", " .
showString
"minSgprAllocation = "
.
showsPrec d
(getField
@"minSgprAllocation"
x)
.
showString ", " .
showString
"maxSgprAllocation = "
.
showsPrec d
(getField
@"maxSgprAllocation"
x)
.
showString ", " .
showString
"sgprAllocationGranularity = "
.
showsPrec d
(getField
@"sgprAllocationGranularity"
x)
.
showString ", "
.
showString
"vgprsPerSimd = "
.
showsPrec d
(getField
@"vgprsPerSimd"
x)
.
showString
", "
.
showString
"minVgprAllocation = "
.
showsPrec
d
(getField
@"minVgprAllocation"
x)
.
showString
", "
.
showString
"maxVgprAllocation = "
.
showsPrec
d
(getField
@"maxVgprAllocation"
x)
.
showString
", "
.
showString
"vgprAllocationGranularity = "
.
showsPrec
d
(getField
@"vgprAllocationGranularity"
x)
.
showChar
'}'
data VkPhysicalDeviceShaderDrawParameterFeatures = VkPhysicalDeviceShaderDrawParameterFeatures# Addr#
ByteArray#
instance Eq VkPhysicalDeviceShaderDrawParameterFeatures where
(VkPhysicalDeviceShaderDrawParameterFeatures# a _) ==
x@(VkPhysicalDeviceShaderDrawParameterFeatures# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceShaderDrawParameterFeatures where
(VkPhysicalDeviceShaderDrawParameterFeatures# a _) `compare`
x@(VkPhysicalDeviceShaderDrawParameterFeatures# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceShaderDrawParameterFeatures where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceShaderDrawParameterFeatures
where
unsafeAddr (VkPhysicalDeviceShaderDrawParameterFeatures# a _) = a
unsafeByteArray (VkPhysicalDeviceShaderDrawParameterFeatures# _ b)
= b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceShaderDrawParameterFeatures#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceShaderDrawParameterFeatures
where
type StructFields VkPhysicalDeviceShaderDrawParameterFeatures =
'["sType", "pNext", "shaderDrawParameters"]
type CUnionType VkPhysicalDeviceShaderDrawParameterFeatures =
'False
type ReturnedOnly VkPhysicalDeviceShaderDrawParameterFeatures =
'False
type StructExtends VkPhysicalDeviceShaderDrawParameterFeatures =
'[VkPhysicalDeviceFeatures2]
instance
HasField "sType" VkPhysicalDeviceShaderDrawParameterFeatures where
type FieldType "sType" VkPhysicalDeviceShaderDrawParameterFeatures
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceShaderDrawParameterFeatures
= 'False
type FieldOffset "sType"
VkPhysicalDeviceShaderDrawParameterFeatures
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceShaderDrawParameterFeatures
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceShaderDrawParameterFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceShaderDrawParameterFeatures
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceShaderDrawParameterFeatures where
type FieldType "pNext" VkPhysicalDeviceShaderDrawParameterFeatures
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceShaderDrawParameterFeatures
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceShaderDrawParameterFeatures
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceShaderDrawParameterFeatures
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceShaderDrawParameterFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceShaderDrawParameterFeatures
where
writeField p
= pokeByteOff p (8)
instance
HasField "shaderDrawParameters"
VkPhysicalDeviceShaderDrawParameterFeatures
where
type FieldType "shaderDrawParameters"
VkPhysicalDeviceShaderDrawParameterFeatures
= VkBool32
type FieldOptional "shaderDrawParameters"
VkPhysicalDeviceShaderDrawParameterFeatures
= 'False
type FieldOffset "shaderDrawParameters"
VkPhysicalDeviceShaderDrawParameterFeatures
=
(16)
type FieldIsArray "shaderDrawParameters"
VkPhysicalDeviceShaderDrawParameterFeatures
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "shaderDrawParameters"
VkPhysicalDeviceShaderDrawParameterFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "shaderDrawParameters"
VkPhysicalDeviceShaderDrawParameterFeatures
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceShaderDrawParameterFeatures where
showsPrec d x
= showString "VkPhysicalDeviceShaderDrawParameterFeatures {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "shaderDrawParameters = " .
showsPrec d (getField @"shaderDrawParameters" x) . showChar '}'
data VkPhysicalDeviceSparseImageFormatInfo2 = VkPhysicalDeviceSparseImageFormatInfo2# Addr#
ByteArray#
instance Eq VkPhysicalDeviceSparseImageFormatInfo2 where
(VkPhysicalDeviceSparseImageFormatInfo2# a _) ==
x@(VkPhysicalDeviceSparseImageFormatInfo2# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceSparseImageFormatInfo2 where
(VkPhysicalDeviceSparseImageFormatInfo2# a _) `compare`
x@(VkPhysicalDeviceSparseImageFormatInfo2# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceSparseImageFormatInfo2 where
sizeOf ~_
= (40)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceSparseImageFormatInfo2
where
unsafeAddr (VkPhysicalDeviceSparseImageFormatInfo2# a _) = a
unsafeByteArray (VkPhysicalDeviceSparseImageFormatInfo2# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceSparseImageFormatInfo2#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceSparseImageFormatInfo2 where
type StructFields VkPhysicalDeviceSparseImageFormatInfo2 =
'["sType", "pNext", "format", "type", "samples", "usage", "tiling"]
type CUnionType VkPhysicalDeviceSparseImageFormatInfo2 = 'False
type ReturnedOnly VkPhysicalDeviceSparseImageFormatInfo2 = 'False
type StructExtends VkPhysicalDeviceSparseImageFormatInfo2 = '[]
instance
HasField "sType" VkPhysicalDeviceSparseImageFormatInfo2 where
type FieldType "sType" VkPhysicalDeviceSparseImageFormatInfo2 =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
type FieldOffset "sType" VkPhysicalDeviceSparseImageFormatInfo2 =
(0)
type FieldIsArray "sType" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceSparseImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceSparseImageFormatInfo2 where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceSparseImageFormatInfo2 where
type FieldType "pNext" VkPhysicalDeviceSparseImageFormatInfo2 =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
type FieldOffset "pNext" VkPhysicalDeviceSparseImageFormatInfo2 =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceSparseImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceSparseImageFormatInfo2 where
writeField p
= pokeByteOff p (8)
instance
HasField "format" VkPhysicalDeviceSparseImageFormatInfo2 where
type FieldType "format" VkPhysicalDeviceSparseImageFormatInfo2 =
VkFormat
type FieldOptional "format" VkPhysicalDeviceSparseImageFormatInfo2
= 'False
type FieldOffset "format" VkPhysicalDeviceSparseImageFormatInfo2 =
(16)
type FieldIsArray "format" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "format" VkPhysicalDeviceSparseImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "format" VkPhysicalDeviceSparseImageFormatInfo2 where
writeField p
= pokeByteOff p (16)
instance
HasField "type" VkPhysicalDeviceSparseImageFormatInfo2 where
type FieldType "type" VkPhysicalDeviceSparseImageFormatInfo2 =
VkImageType
type FieldOptional "type" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
type FieldOffset "type" VkPhysicalDeviceSparseImageFormatInfo2 =
(20)
type FieldIsArray "type" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "type" VkPhysicalDeviceSparseImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "type" VkPhysicalDeviceSparseImageFormatInfo2 where
writeField p
= pokeByteOff p (20)
instance
HasField "samples" VkPhysicalDeviceSparseImageFormatInfo2 where
type FieldType "samples" VkPhysicalDeviceSparseImageFormatInfo2 =
VkSampleCountFlagBits
type FieldOptional "samples" VkPhysicalDeviceSparseImageFormatInfo2
= 'False
type FieldOffset "samples" VkPhysicalDeviceSparseImageFormatInfo2 =
(24)
type FieldIsArray "samples" VkPhysicalDeviceSparseImageFormatInfo2
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "samples" VkPhysicalDeviceSparseImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "samples" VkPhysicalDeviceSparseImageFormatInfo2
where
writeField p
= pokeByteOff p (24)
instance
HasField "usage" VkPhysicalDeviceSparseImageFormatInfo2 where
type FieldType "usage" VkPhysicalDeviceSparseImageFormatInfo2 =
VkImageUsageFlags
type FieldOptional "usage" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
type FieldOffset "usage" VkPhysicalDeviceSparseImageFormatInfo2 =
(28)
type FieldIsArray "usage" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "usage" VkPhysicalDeviceSparseImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "usage" VkPhysicalDeviceSparseImageFormatInfo2 where
writeField p
= pokeByteOff p (28)
instance
HasField "tiling" VkPhysicalDeviceSparseImageFormatInfo2 where
type FieldType "tiling" VkPhysicalDeviceSparseImageFormatInfo2 =
VkImageTiling
type FieldOptional "tiling" VkPhysicalDeviceSparseImageFormatInfo2
= 'False
type FieldOffset "tiling" VkPhysicalDeviceSparseImageFormatInfo2 =
(32)
type FieldIsArray "tiling" VkPhysicalDeviceSparseImageFormatInfo2 =
'False
fieldOptional = False
fieldOffset
= (32)
instance
CanReadField "tiling" VkPhysicalDeviceSparseImageFormatInfo2 where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (32))
readField p
= peekByteOff p (32)
instance
CanWriteField "tiling" VkPhysicalDeviceSparseImageFormatInfo2 where
writeField p
= pokeByteOff p (32)
instance Show VkPhysicalDeviceSparseImageFormatInfo2 where
showsPrec d x
= showString "VkPhysicalDeviceSparseImageFormatInfo2 {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "format = " .
showsPrec d (getField @"format" x) .
showString ", " .
showString "type = " .
showsPrec d (getField @"type" x) .
showString ", " .
showString "samples = " .
showsPrec d (getField @"samples" x) .
showString ", " .
showString "usage = " .
showsPrec d (getField @"usage" x) .
showString ", " .
showString "tiling = " .
showsPrec d (getField @"tiling" x) .
showChar '}'
type VkPhysicalDeviceSparseImageFormatInfo2KHR =
VkPhysicalDeviceSparseImageFormatInfo2
data VkPhysicalDeviceSparseProperties = VkPhysicalDeviceSparseProperties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceSparseProperties where
(VkPhysicalDeviceSparseProperties# a _) ==
x@(VkPhysicalDeviceSparseProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceSparseProperties where
(VkPhysicalDeviceSparseProperties# a _) `compare`
x@(VkPhysicalDeviceSparseProperties# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceSparseProperties where
sizeOf ~_ = (20)
alignment ~_
= (4)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceSparseProperties where
unsafeAddr (VkPhysicalDeviceSparseProperties# a _) = a
unsafeByteArray (VkPhysicalDeviceSparseProperties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceSparseProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceSparseProperties where
type StructFields VkPhysicalDeviceSparseProperties =
'["residencyStandard2DBlockShape",
"residencyStandard2DMultisampleBlockShape",
"residencyStandard3DBlockShape", "residencyAlignedMipSize",
"residencyNonResidentStrict"]
type CUnionType VkPhysicalDeviceSparseProperties = 'False
type ReturnedOnly VkPhysicalDeviceSparseProperties = 'True
type StructExtends VkPhysicalDeviceSparseProperties = '[]
instance
HasField "residencyStandard2DBlockShape"
VkPhysicalDeviceSparseProperties
where
type FieldType "residencyStandard2DBlockShape"
VkPhysicalDeviceSparseProperties
= VkBool32
type FieldOptional "residencyStandard2DBlockShape"
VkPhysicalDeviceSparseProperties
= 'False
type FieldOffset "residencyStandard2DBlockShape"
VkPhysicalDeviceSparseProperties
=
(0)
type FieldIsArray "residencyStandard2DBlockShape"
VkPhysicalDeviceSparseProperties
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "residencyStandard2DBlockShape"
VkPhysicalDeviceSparseProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "residencyStandard2DBlockShape"
VkPhysicalDeviceSparseProperties
where
writeField p
= pokeByteOff p (0)
instance
HasField "residencyStandard2DMultisampleBlockShape"
VkPhysicalDeviceSparseProperties
where
type FieldType "residencyStandard2DMultisampleBlockShape"
VkPhysicalDeviceSparseProperties
= VkBool32
type FieldOptional "residencyStandard2DMultisampleBlockShape"
VkPhysicalDeviceSparseProperties
= 'False
type FieldOffset "residencyStandard2DMultisampleBlockShape"
VkPhysicalDeviceSparseProperties
=
(4)
type FieldIsArray "residencyStandard2DMultisampleBlockShape"
VkPhysicalDeviceSparseProperties
= 'False
fieldOptional = False
fieldOffset
= (4)
instance
CanReadField "residencyStandard2DMultisampleBlockShape"
VkPhysicalDeviceSparseProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (4))
readField p
= peekByteOff p (4)
instance
CanWriteField "residencyStandard2DMultisampleBlockShape"
VkPhysicalDeviceSparseProperties
where
writeField p
= pokeByteOff p (4)
instance
HasField "residencyStandard3DBlockShape"
VkPhysicalDeviceSparseProperties
where
type FieldType "residencyStandard3DBlockShape"
VkPhysicalDeviceSparseProperties
= VkBool32
type FieldOptional "residencyStandard3DBlockShape"
VkPhysicalDeviceSparseProperties
= 'False
type FieldOffset "residencyStandard3DBlockShape"
VkPhysicalDeviceSparseProperties
=
(8)
type FieldIsArray "residencyStandard3DBlockShape"
VkPhysicalDeviceSparseProperties
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "residencyStandard3DBlockShape"
VkPhysicalDeviceSparseProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "residencyStandard3DBlockShape"
VkPhysicalDeviceSparseProperties
where
writeField p
= pokeByteOff p (8)
instance
HasField "residencyAlignedMipSize" VkPhysicalDeviceSparseProperties
where
type FieldType "residencyAlignedMipSize"
VkPhysicalDeviceSparseProperties
= VkBool32
type FieldOptional "residencyAlignedMipSize"
VkPhysicalDeviceSparseProperties
= 'False
type FieldOffset "residencyAlignedMipSize"
VkPhysicalDeviceSparseProperties
=
(12)
type FieldIsArray "residencyAlignedMipSize"
VkPhysicalDeviceSparseProperties
= 'False
fieldOptional = False
fieldOffset
= (12)
instance
CanReadField "residencyAlignedMipSize"
VkPhysicalDeviceSparseProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (12))
readField p
= peekByteOff p (12)
instance
CanWriteField "residencyAlignedMipSize"
VkPhysicalDeviceSparseProperties
where
writeField p
= pokeByteOff p (12)
instance
HasField "residencyNonResidentStrict"
VkPhysicalDeviceSparseProperties
where
type FieldType "residencyNonResidentStrict"
VkPhysicalDeviceSparseProperties
= VkBool32
type FieldOptional "residencyNonResidentStrict"
VkPhysicalDeviceSparseProperties
= 'False
type FieldOffset "residencyNonResidentStrict"
VkPhysicalDeviceSparseProperties
=
(16)
type FieldIsArray "residencyNonResidentStrict"
VkPhysicalDeviceSparseProperties
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "residencyNonResidentStrict"
VkPhysicalDeviceSparseProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "residencyNonResidentStrict"
VkPhysicalDeviceSparseProperties
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceSparseProperties where
showsPrec d x
= showString "VkPhysicalDeviceSparseProperties {" .
showString "residencyStandard2DBlockShape = " .
showsPrec d (getField @"residencyStandard2DBlockShape" x) .
showString ", " .
showString "residencyStandard2DMultisampleBlockShape = " .
showsPrec d
(getField @"residencyStandard2DMultisampleBlockShape" x)
.
showString ", " .
showString "residencyStandard3DBlockShape = " .
showsPrec d (getField @"residencyStandard3DBlockShape" x) .
showString ", " .
showString "residencyAlignedMipSize = " .
showsPrec d (getField @"residencyAlignedMipSize" x) .
showString ", " .
showString "residencyNonResidentStrict = " .
showsPrec d (getField @"residencyNonResidentStrict" x) .
showChar '}'
data VkPhysicalDeviceSubgroupProperties = VkPhysicalDeviceSubgroupProperties# Addr#
ByteArray#
instance Eq VkPhysicalDeviceSubgroupProperties where
(VkPhysicalDeviceSubgroupProperties# a _) ==
x@(VkPhysicalDeviceSubgroupProperties# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceSubgroupProperties where
(VkPhysicalDeviceSubgroupProperties# a _) `compare`
x@(VkPhysicalDeviceSubgroupProperties# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceSubgroupProperties where
sizeOf ~_ = (32)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceSubgroupProperties where
unsafeAddr (VkPhysicalDeviceSubgroupProperties# a _) = a
unsafeByteArray (VkPhysicalDeviceSubgroupProperties# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceSubgroupProperties#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceSubgroupProperties where
type StructFields VkPhysicalDeviceSubgroupProperties =
'["sType", "pNext", "subgroupSize", "supportedStages",
"supportedOperations", "quadOperationsInAllStages"]
type CUnionType VkPhysicalDeviceSubgroupProperties = 'False
type ReturnedOnly VkPhysicalDeviceSubgroupProperties = 'True
type StructExtends VkPhysicalDeviceSubgroupProperties =
'[VkPhysicalDeviceProperties2]
instance
HasField "sType" VkPhysicalDeviceSubgroupProperties where
type FieldType "sType" VkPhysicalDeviceSubgroupProperties =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceSubgroupProperties =
'False
type FieldOffset "sType" VkPhysicalDeviceSubgroupProperties =
(0)
type FieldIsArray "sType" VkPhysicalDeviceSubgroupProperties =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceSubgroupProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceSubgroupProperties where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceSubgroupProperties where
type FieldType "pNext" VkPhysicalDeviceSubgroupProperties =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceSubgroupProperties =
'False
type FieldOffset "pNext" VkPhysicalDeviceSubgroupProperties =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceSubgroupProperties =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceSubgroupProperties where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceSubgroupProperties where
writeField p
= pokeByteOff p (8)
instance
HasField "subgroupSize" VkPhysicalDeviceSubgroupProperties where
type FieldType "subgroupSize" VkPhysicalDeviceSubgroupProperties =
Word32
type FieldOptional "subgroupSize"
VkPhysicalDeviceSubgroupProperties
= 'False
type FieldOffset "subgroupSize" VkPhysicalDeviceSubgroupProperties
=
(16)
type FieldIsArray "subgroupSize" VkPhysicalDeviceSubgroupProperties
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "subgroupSize" VkPhysicalDeviceSubgroupProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "subgroupSize" VkPhysicalDeviceSubgroupProperties
where
writeField p
= pokeByteOff p (16)
instance
HasField "supportedStages" VkPhysicalDeviceSubgroupProperties where
type FieldType "supportedStages" VkPhysicalDeviceSubgroupProperties
= VkShaderStageFlags
type FieldOptional "supportedStages"
VkPhysicalDeviceSubgroupProperties
= 'False
type FieldOffset "supportedStages"
VkPhysicalDeviceSubgroupProperties
=
(20)
type FieldIsArray "supportedStages"
VkPhysicalDeviceSubgroupProperties
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "supportedStages" VkPhysicalDeviceSubgroupProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "supportedStages" VkPhysicalDeviceSubgroupProperties
where
writeField p
= pokeByteOff p (20)
instance
HasField "supportedOperations" VkPhysicalDeviceSubgroupProperties
where
type FieldType "supportedOperations"
VkPhysicalDeviceSubgroupProperties
= VkSubgroupFeatureFlags
type FieldOptional "supportedOperations"
VkPhysicalDeviceSubgroupProperties
= 'False
type FieldOffset "supportedOperations"
VkPhysicalDeviceSubgroupProperties
=
(24)
type FieldIsArray "supportedOperations"
VkPhysicalDeviceSubgroupProperties
= 'False
fieldOptional = False
fieldOffset
= (24)
instance
CanReadField "supportedOperations"
VkPhysicalDeviceSubgroupProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (24))
readField p
= peekByteOff p (24)
instance
CanWriteField "supportedOperations"
VkPhysicalDeviceSubgroupProperties
where
writeField p
= pokeByteOff p (24)
instance
HasField "quadOperationsInAllStages"
VkPhysicalDeviceSubgroupProperties
where
type FieldType "quadOperationsInAllStages"
VkPhysicalDeviceSubgroupProperties
= VkBool32
type FieldOptional "quadOperationsInAllStages"
VkPhysicalDeviceSubgroupProperties
= 'False
type FieldOffset "quadOperationsInAllStages"
VkPhysicalDeviceSubgroupProperties
=
(28)
type FieldIsArray "quadOperationsInAllStages"
VkPhysicalDeviceSubgroupProperties
= 'False
fieldOptional = False
fieldOffset
= (28)
instance
CanReadField "quadOperationsInAllStages"
VkPhysicalDeviceSubgroupProperties
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (28))
readField p
= peekByteOff p (28)
instance
CanWriteField "quadOperationsInAllStages"
VkPhysicalDeviceSubgroupProperties
where
writeField p
= pokeByteOff p (28)
instance Show VkPhysicalDeviceSubgroupProperties where
showsPrec d x
= showString "VkPhysicalDeviceSubgroupProperties {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "subgroupSize = " .
showsPrec d (getField @"subgroupSize" x) .
showString ", " .
showString "supportedStages = " .
showsPrec d (getField @"supportedStages" x) .
showString ", " .
showString "supportedOperations = " .
showsPrec d (getField @"supportedOperations" x) .
showString ", " .
showString "quadOperationsInAllStages = " .
showsPrec d (getField @"quadOperationsInAllStages" x)
. showChar '}'
data VkPhysicalDeviceSurfaceInfo2KHR = VkPhysicalDeviceSurfaceInfo2KHR# Addr#
ByteArray#
instance Eq VkPhysicalDeviceSurfaceInfo2KHR where
(VkPhysicalDeviceSurfaceInfo2KHR# a _) ==
x@(VkPhysicalDeviceSurfaceInfo2KHR# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceSurfaceInfo2KHR where
(VkPhysicalDeviceSurfaceInfo2KHR# a _) `compare`
x@(VkPhysicalDeviceSurfaceInfo2KHR# b _) = cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceSurfaceInfo2KHR where
sizeOf ~_ = (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceSurfaceInfo2KHR where
unsafeAddr (VkPhysicalDeviceSurfaceInfo2KHR# a _) = a
unsafeByteArray (VkPhysicalDeviceSurfaceInfo2KHR# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceSurfaceInfo2KHR#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceSurfaceInfo2KHR where
type StructFields VkPhysicalDeviceSurfaceInfo2KHR =
'["sType", "pNext", "surface"]
type CUnionType VkPhysicalDeviceSurfaceInfo2KHR = 'False
type ReturnedOnly VkPhysicalDeviceSurfaceInfo2KHR = 'False
type StructExtends VkPhysicalDeviceSurfaceInfo2KHR = '[]
instance
HasField "sType" VkPhysicalDeviceSurfaceInfo2KHR where
type FieldType "sType" VkPhysicalDeviceSurfaceInfo2KHR =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceSurfaceInfo2KHR = 'False
type FieldOffset "sType" VkPhysicalDeviceSurfaceInfo2KHR =
(0)
type FieldIsArray "sType" VkPhysicalDeviceSurfaceInfo2KHR = 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceSurfaceInfo2KHR where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceSurfaceInfo2KHR where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceSurfaceInfo2KHR where
type FieldType "pNext" VkPhysicalDeviceSurfaceInfo2KHR = Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceSurfaceInfo2KHR = 'False
type FieldOffset "pNext" VkPhysicalDeviceSurfaceInfo2KHR =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceSurfaceInfo2KHR = 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceSurfaceInfo2KHR where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceSurfaceInfo2KHR where
writeField p
= pokeByteOff p (8)
instance
HasField "surface" VkPhysicalDeviceSurfaceInfo2KHR where
type FieldType "surface" VkPhysicalDeviceSurfaceInfo2KHR =
VkSurfaceKHR
type FieldOptional "surface" VkPhysicalDeviceSurfaceInfo2KHR =
'False
type FieldOffset "surface" VkPhysicalDeviceSurfaceInfo2KHR =
(16)
type FieldIsArray "surface" VkPhysicalDeviceSurfaceInfo2KHR =
'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "surface" VkPhysicalDeviceSurfaceInfo2KHR where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "surface" VkPhysicalDeviceSurfaceInfo2KHR where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceSurfaceInfo2KHR where
showsPrec d x
= showString "VkPhysicalDeviceSurfaceInfo2KHR {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "surface = " .
showsPrec d (getField @"surface" x) . showChar '}'
data VkPhysicalDeviceVariablePointerFeatures = VkPhysicalDeviceVariablePointerFeatures# Addr#
ByteArray#
instance Eq VkPhysicalDeviceVariablePointerFeatures where
(VkPhysicalDeviceVariablePointerFeatures# a _) ==
x@(VkPhysicalDeviceVariablePointerFeatures# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceVariablePointerFeatures where
(VkPhysicalDeviceVariablePointerFeatures# a _) `compare`
x@(VkPhysicalDeviceVariablePointerFeatures# b _)
= cmpBytes# (sizeOf x) a b
instance Storable VkPhysicalDeviceVariablePointerFeatures where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim VkPhysicalDeviceVariablePointerFeatures
where
unsafeAddr (VkPhysicalDeviceVariablePointerFeatures# a _) = a
unsafeByteArray (VkPhysicalDeviceVariablePointerFeatures# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceVariablePointerFeatures#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal VkPhysicalDeviceVariablePointerFeatures
where
type StructFields VkPhysicalDeviceVariablePointerFeatures =
'["sType", "pNext", "variablePointersStorageBuffer",
"variablePointers"]
type CUnionType VkPhysicalDeviceVariablePointerFeatures = 'False
type ReturnedOnly VkPhysicalDeviceVariablePointerFeatures = 'False
type StructExtends VkPhysicalDeviceVariablePointerFeatures =
'[VkPhysicalDeviceFeatures2, VkDeviceCreateInfo]
instance
HasField "sType" VkPhysicalDeviceVariablePointerFeatures where
type FieldType "sType" VkPhysicalDeviceVariablePointerFeatures =
VkStructureType
type FieldOptional "sType" VkPhysicalDeviceVariablePointerFeatures
= 'False
type FieldOffset "sType" VkPhysicalDeviceVariablePointerFeatures =
(0)
type FieldIsArray "sType" VkPhysicalDeviceVariablePointerFeatures =
'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType" VkPhysicalDeviceVariablePointerFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType" VkPhysicalDeviceVariablePointerFeatures where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext" VkPhysicalDeviceVariablePointerFeatures where
type FieldType "pNext" VkPhysicalDeviceVariablePointerFeatures =
Ptr Void
type FieldOptional "pNext" VkPhysicalDeviceVariablePointerFeatures
= 'False
type FieldOffset "pNext" VkPhysicalDeviceVariablePointerFeatures =
(8)
type FieldIsArray "pNext" VkPhysicalDeviceVariablePointerFeatures =
'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext" VkPhysicalDeviceVariablePointerFeatures where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext" VkPhysicalDeviceVariablePointerFeatures where
writeField p
= pokeByteOff p (8)
instance
HasField "variablePointersStorageBuffer"
VkPhysicalDeviceVariablePointerFeatures
where
type FieldType "variablePointersStorageBuffer"
VkPhysicalDeviceVariablePointerFeatures
= VkBool32
type FieldOptional "variablePointersStorageBuffer"
VkPhysicalDeviceVariablePointerFeatures
= 'False
type FieldOffset "variablePointersStorageBuffer"
VkPhysicalDeviceVariablePointerFeatures
=
(16)
type FieldIsArray "variablePointersStorageBuffer"
VkPhysicalDeviceVariablePointerFeatures
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "variablePointersStorageBuffer"
VkPhysicalDeviceVariablePointerFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "variablePointersStorageBuffer"
VkPhysicalDeviceVariablePointerFeatures
where
writeField p
= pokeByteOff p (16)
instance
HasField "variablePointers" VkPhysicalDeviceVariablePointerFeatures
where
type FieldType "variablePointers"
VkPhysicalDeviceVariablePointerFeatures
= VkBool32
type FieldOptional "variablePointers"
VkPhysicalDeviceVariablePointerFeatures
= 'False
type FieldOffset "variablePointers"
VkPhysicalDeviceVariablePointerFeatures
=
(20)
type FieldIsArray "variablePointers"
VkPhysicalDeviceVariablePointerFeatures
= 'False
fieldOptional = False
fieldOffset
= (20)
instance
CanReadField "variablePointers"
VkPhysicalDeviceVariablePointerFeatures
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (20))
readField p
= peekByteOff p (20)
instance
CanWriteField "variablePointers"
VkPhysicalDeviceVariablePointerFeatures
where
writeField p
= pokeByteOff p (20)
instance Show VkPhysicalDeviceVariablePointerFeatures where
showsPrec d x
= showString "VkPhysicalDeviceVariablePointerFeatures {" .
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "variablePointersStorageBuffer = " .
showsPrec d (getField @"variablePointersStorageBuffer" x) .
showString ", " .
showString "variablePointers = " .
showsPrec d (getField @"variablePointers" x) . showChar '}'
type VkPhysicalDeviceVariablePointerFeaturesKHR =
VkPhysicalDeviceVariablePointerFeatures
data VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT = VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT# Addr#
ByteArray#
instance Eq VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT# a _) ==
x@(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT# b _)
= EQ == cmpBytes# (sizeOf x) a b
instance Ord VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT# a _)
`compare`
x@(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT# b _)
= cmpBytes# (sizeOf x) a b
instance Storable
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
sizeOf ~_
= (24)
alignment ~_
= (8)
peek = peekVkData#
poke = pokeVkData#
instance VulkanMarshalPrim
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
unsafeAddr
(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT# a _) = a
unsafeByteArray
(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT# _ b) = b
unsafeFromByteArrayOffset off b
= VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT#
(plusAddr# (byteArrayContents# b) off)
b
instance VulkanMarshal
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
type StructFields
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= '["sType", "pNext", "maxVertexAttribDivisor"]
type CUnionType VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= 'False
type ReturnedOnly
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= 'False
type StructExtends
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= '[VkPhysicalDeviceProperties2]
instance
HasField "sType"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
type FieldType "sType"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= VkStructureType
type FieldOptional "sType"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= 'False
type FieldOffset "sType"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
=
(0)
type FieldIsArray "sType"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (0)
instance
CanReadField "sType"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (0))
readField p
= peekByteOff p (0)
instance
CanWriteField "sType"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
writeField p
= pokeByteOff p (0)
instance
HasField "pNext"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
type FieldType "pNext"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= Ptr Void
type FieldOptional "pNext"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= 'False
type FieldOffset "pNext"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
=
(8)
type FieldIsArray "pNext"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (8)
instance
CanReadField "pNext"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (8))
readField p
= peekByteOff p (8)
instance
CanWriteField "pNext"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
writeField p
= pokeByteOff p (8)
instance
HasField "maxVertexAttribDivisor"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
type FieldType "maxVertexAttribDivisor"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= Word32
type FieldOptional "maxVertexAttribDivisor"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= 'False
type FieldOffset "maxVertexAttribDivisor"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
=
(16)
type FieldIsArray "maxVertexAttribDivisor"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
= 'False
fieldOptional = False
fieldOffset
= (16)
instance
CanReadField "maxVertexAttribDivisor"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
getField x
= unsafeDupablePerformIO
(peekByteOff (unsafePtr x) (16))
readField p
= peekByteOff p (16)
instance
CanWriteField "maxVertexAttribDivisor"
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
writeField p
= pokeByteOff p (16)
instance Show VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
where
showsPrec d x
= showString
"VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT {"
.
showString "sType = " .
showsPrec d (getField @"sType" x) .
showString ", " .
showString "pNext = " .
showsPrec d (getField @"pNext" x) .
showString ", " .
showString "maxVertexAttribDivisor = " .
showsPrec d (getField @"maxVertexAttribDivisor" x) . showChar '}'