{-# LINE 1 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE Strict #-}
{-# LANGUAGE TypeFamilies #-}
module Graphics.Vulkan.Types.Struct.Subpass
(VkSubpassBeginInfo, VkSubpassBeginInfoKHR, VkSubpassDependency,
VkSubpassDependency2, VkSubpassDependency2KHR,
VkSubpassDescription, VkSubpassDescription2,
VkSubpassDescription2KHR, VkSubpassDescriptionDepthStencilResolve,
VkSubpassDescriptionDepthStencilResolveKHR, VkSubpassEndInfo,
VkSubpassEndInfoKHR, VkSubpassSampleLocationsEXT)
where
import Graphics.Vulkan.Marshal
import Graphics.Vulkan.Marshal.Internal
import Graphics.Vulkan.Types.Enum.AccessFlags (VkAccessFlags)
import Graphics.Vulkan.Types.Enum.DependencyFlags (VkDependencyFlags)
import Graphics.Vulkan.Types.Enum.Pipeline (VkPipelineBindPoint,
VkPipelineStageFlags)
import Graphics.Vulkan.Types.Enum.ResolveModeFlag (VkResolveModeFlagBits)
import Graphics.Vulkan.Types.Enum.StructureType (VkStructureType)
import Graphics.Vulkan.Types.Enum.Subpass (VkSubpassContents,
VkSubpassDescriptionFlags)
import Graphics.Vulkan.Types.Struct.Attachment (VkAttachmentReference,
VkAttachmentReference2)
import {-# SOURCE #-} Graphics.Vulkan.Types.Struct.SampleLocation (VkSampleLocationsInfoEXT)
type VkSubpassBeginInfo = VkStruct VkSubpassBeginInfo'
data VkSubpassBeginInfo'
instance VulkanMarshal VkSubpassBeginInfo where
type StructRep VkSubpassBeginInfo =
'StructMeta "VkSubpassBeginInfo" VkSubpassBeginInfo
(24)
{-# LINE 45 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
8
{-# LINE 46 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
'[('FieldMeta "sType" VkStructureType 'False
(0)
{-# LINE 48 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pNext" (Ptr Void) 'False
(8)
{-# LINE 53 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "contents" VkSubpassContents 'False
(16)
{-# LINE 58 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True)]
'False
'False
'[]
type VkSubpassBeginInfoKHR = VkSubpassBeginInfo
type VkSubpassDependency = VkStruct VkSubpassDependency'
data VkSubpassDependency'
instance VulkanMarshal VkSubpassDependency where
type StructRep VkSubpassDependency =
'StructMeta "VkSubpassDependency" VkSubpassDependency
(28)
{-# LINE 87 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
4
{-# LINE 88 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
'[('FieldMeta "srcSubpass" Word32 'False
(0)
{-# LINE 90 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "dstSubpass" Word32 'False
(4)
{-# LINE 95 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "srcStageMask" VkPipelineStageFlags 'False
(8)
{-# LINE 100 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "dstStageMask" VkPipelineStageFlags 'False
(12)
{-# LINE 105 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "srcAccessMask" VkAccessFlags 'True
(16)
{-# LINE 110 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "dstAccessMask" VkAccessFlags 'True
(20)
{-# LINE 115 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "dependencyFlags" VkDependencyFlags 'True
(24)
{-# LINE 120 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True)]
'False
'False
'[]
type VkSubpassDependency2 = VkStruct VkSubpassDependency2'
data VkSubpassDependency2'
instance VulkanMarshal VkSubpassDependency2 where
type StructRep VkSubpassDependency2 =
'StructMeta "VkSubpassDependency2" VkSubpassDependency2
(48)
{-# LINE 149 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
8
{-# LINE 150 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
'[('FieldMeta "sType" VkStructureType 'False
(0)
{-# LINE 152 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pNext" (Ptr Void) 'False
(8)
{-# LINE 157 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "srcSubpass" Word32 'False
(16)
{-# LINE 162 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "dstSubpass" Word32 'False
(20)
{-# LINE 167 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "srcStageMask" VkPipelineStageFlags 'False
(24)
{-# LINE 172 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "dstStageMask" VkPipelineStageFlags 'False
(28)
{-# LINE 177 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "srcAccessMask" VkAccessFlags 'True
(32)
{-# LINE 182 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "dstAccessMask" VkAccessFlags 'True
(36)
{-# LINE 187 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "dependencyFlags" VkDependencyFlags 'True
(40)
{-# LINE 192 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "viewOffset" Int32 'True
(44)
{-# LINE 197 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True)]
'False
'False
'[]
type VkSubpassDependency2KHR = VkSubpassDependency2
type VkSubpassDescription = VkStruct VkSubpassDescription'
data VkSubpassDescription'
instance VulkanMarshal VkSubpassDescription where
type StructRep VkSubpassDescription =
'StructMeta "VkSubpassDescription" VkSubpassDescription
(72)
{-# LINE 229 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
8
{-# LINE 230 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
'[('FieldMeta "flags" VkSubpassDescriptionFlags 'True
(0)
{-# LINE 232 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pipelineBindPoint" VkPipelineBindPoint 'False
(4)
{-# LINE 237 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "inputAttachmentCount" Word32 'True
(8)
{-# LINE 242 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pInputAttachments" (Ptr VkAttachmentReference) 'False
(16)
{-# LINE 247 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "colorAttachmentCount" Word32 'True
(24)
{-# LINE 252 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pColorAttachments" (Ptr VkAttachmentReference) 'False
(32)
{-# LINE 257 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pResolveAttachments" (Ptr VkAttachmentReference) 'True
(40)
{-# LINE 262 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pDepthStencilAttachment" (Ptr VkAttachmentReference)
'True
(48)
{-# LINE 268 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "preserveAttachmentCount" Word32 'True
(56)
{-# LINE 273 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pPreserveAttachments" (Ptr Word32) 'False
(64)
{-# LINE 278 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True)]
'False
'False
'[]
type VkSubpassDescription2 = VkStruct VkSubpassDescription2'
data VkSubpassDescription2'
instance VulkanMarshal VkSubpassDescription2 where
type StructRep VkSubpassDescription2 =
'StructMeta "VkSubpassDescription2" VkSubpassDescription2
(88)
{-# LINE 310 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
8
{-# LINE 311 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
'[('FieldMeta "sType" VkStructureType 'False
(0)
{-# LINE 313 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pNext" (Ptr Void) 'False
(8)
{-# LINE 318 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "flags" VkSubpassDescriptionFlags 'True
(16)
{-# LINE 323 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pipelineBindPoint" VkPipelineBindPoint 'False
(20)
{-# LINE 328 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "viewMask" Word32 'False
(24)
{-# LINE 333 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "inputAttachmentCount" Word32 'True
(28)
{-# LINE 338 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pInputAttachments" (Ptr VkAttachmentReference2) 'False
(32)
{-# LINE 343 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "colorAttachmentCount" Word32 'True
(40)
{-# LINE 348 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pColorAttachments" (Ptr VkAttachmentReference2) 'False
(48)
{-# LINE 353 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pResolveAttachments" (Ptr VkAttachmentReference2)
'True
(56)
{-# LINE 359 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pDepthStencilAttachment" (Ptr VkAttachmentReference2)
'True
(64)
{-# LINE 365 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "preserveAttachmentCount" Word32 'True
(72)
{-# LINE 370 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pPreserveAttachments" (Ptr Word32) 'False
(80)
{-# LINE 375 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True)]
'False
'False
'[]
type VkSubpassDescription2KHR = VkSubpassDescription2
type VkSubpassDescriptionDepthStencilResolve =
VkStruct VkSubpassDescriptionDepthStencilResolve'
data VkSubpassDescriptionDepthStencilResolve'
instance VulkanMarshal VkSubpassDescriptionDepthStencilResolve
where
type StructRep VkSubpassDescriptionDepthStencilResolve =
'StructMeta "VkSubpassDescriptionDepthStencilResolve"
VkSubpassDescriptionDepthStencilResolve
(32)
{-# LINE 405 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
8
{-# LINE 406 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
'[('FieldMeta "sType" VkStructureType 'False
(0)
{-# LINE 408 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pNext" (Ptr Void) 'False
(8)
{-# LINE 413 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "depthResolveMode" VkResolveModeFlagBits 'False
(16)
{-# LINE 418 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "stencilResolveMode" VkResolveModeFlagBits 'False
(20)
{-# LINE 423 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pDepthStencilResolveAttachment"
(Ptr VkAttachmentReference2)
'True
(24)
{-# LINE 430 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True)]
'False
'False
'[VkSubpassDescription2]
type VkSubpassDescriptionDepthStencilResolveKHR =
VkSubpassDescriptionDepthStencilResolve
type VkSubpassEndInfo = VkStruct VkSubpassEndInfo'
data VkSubpassEndInfo'
instance VulkanMarshal VkSubpassEndInfo where
type StructRep VkSubpassEndInfo =
'StructMeta "VkSubpassEndInfo" VkSubpassEndInfo
(16)
{-# LINE 455 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
8
{-# LINE 456 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
'[('FieldMeta "sType" VkStructureType 'False
(0)
{-# LINE 458 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "pNext" (Ptr Void) 'False
(8)
{-# LINE 463 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True)]
'False
'False
'[]
type VkSubpassEndInfoKHR = VkSubpassEndInfo
type VkSubpassSampleLocationsEXT =
VkStruct VkSubpassSampleLocationsEXT'
data VkSubpassSampleLocationsEXT'
instance VulkanMarshal VkSubpassSampleLocationsEXT where
type StructRep VkSubpassSampleLocationsEXT =
'StructMeta "VkSubpassSampleLocationsEXT"
VkSubpassSampleLocationsEXT
(48)
{-# LINE 489 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
8
{-# LINE 490 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
'[('FieldMeta "subpassIndex" Word32 'False
(0)
{-# LINE 492 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True),
('FieldMeta "sampleLocationsInfo" VkSampleLocationsInfoEXT 'False
(8)
{-# LINE 497 "src-gen/Graphics/Vulkan/Types/Struct/Subpass.hsc" #-}
1
'True
'True)]
'False
'False
'[]