| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_KHR_dynamic_rendering
Description
Name
VK_KHR_dynamic_rendering - device extension
VK_KHR_dynamic_rendering
- Name String
VK_KHR_dynamic_rendering
- Extension Type
- Device extension
- Registered Extension Number
- 45
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- Contact
- Extension Proposal
- VK_KHR_dynamic_rendering
Other Extension Metadata
- Last Modified Date
- 2021-10-06
- Contributors
- Tobias Hector, AMD
- Arseny Kapoulkine, Roblox
- François Duranleau, Gameloft
- Stuart Smith, AMD
- Hai Nguyen, Google
- Jean-François Roy, Google
- Jeff Leger, Qualcomm
- Jan-Harald Fredriksen, Arm
- Piers Daniell, Nvidia
- James Fitzpatrick, Imagination
- Piotr Byszewski, Mobica
- Jesse Hall, Google
- Mike Blumenkrantz, Valve
Description
This extension allows applications to create single-pass render pass instances without needing to create render pass objects or framebuffers. Dynamic render passes can also span across multiple primary command buffers, rather than relying on secondary command buffers.
This extension also incorporates
ATTACHMENT_STORE_OP_NONE_KHR
from VK_QCOM_render_pass_store_ops,
enabling applications to avoid unnecessary synchronization when an
attachment is not written during a render pass.
New Commands
New Structures
RenderingInfoKHRExtending
CommandBufferInheritanceInfo:Extending
GraphicsPipelineCreateInfo:Extending
PhysicalDeviceFeatures2,DeviceCreateInfo:
If VK_AMD_mixed_attachment_samples is supported:
If VK_EXT_fragment_density_map is supported:
If VK_KHR_fragment_shading_rate is supported:
If VK_NV_framebuffer_mixed_samples is supported:
If VK_NVX_multiview_per_view_attributes is supported:
New Enums
New Bitmasks
New Enum Constants
KHR_DYNAMIC_RENDERING_SPEC_VERSIONExtending
AttachmentStoreOp:Extending
StructureType:
If VK_AMD_mixed_attachment_samples is supported:
If VK_EXT_fragment_density_map is supported:
Extending
PipelineCreateFlagBits:Extending
StructureType:
If VK_KHR_fragment_shading_rate is supported:
Extending
PipelineCreateFlagBits:Extending
StructureType:
If VK_NV_framebuffer_mixed_samples is supported:
If VK_NVX_multiview_per_view_attributes is supported:
Version History
Revision 1, 2021-10-06 (Tobias Hector)
- Initial revision
See Also
CommandBufferInheritanceRenderingInfoKHR,
PhysicalDeviceDynamicRenderingFeaturesKHR,
PipelineRenderingCreateInfoKHR, RenderingAttachmentInfoKHR,
RenderingFlagBitsKHR, RenderingFlagsKHR, RenderingInfoKHR,
cmdBeginRenderingKHR, cmdEndRenderingKHR
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- cmdBeginRenderingKHR :: forall a io. (Extendss RenderingInfoKHR a, PokeChain a, MonadIO io) => CommandBuffer -> RenderingInfoKHR a -> io ()
- cmdUseRenderingKHR :: forall a io r. (Extendss RenderingInfoKHR a, PokeChain a, MonadIO io) => CommandBuffer -> RenderingInfoKHR a -> io r -> io r
- cmdEndRenderingKHR :: forall io. MonadIO io => CommandBuffer -> io ()
- pattern PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR :: PipelineCreateFlagBits
- pattern PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT :: PipelineCreateFlagBits
- pattern STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_NV :: StructureType
- data PipelineRenderingCreateInfoKHR = PipelineRenderingCreateInfoKHR {}
- data RenderingInfoKHR (es :: [Type]) = RenderingInfoKHR {}
- data RenderingAttachmentInfoKHR = RenderingAttachmentInfoKHR {}
- data RenderingFragmentShadingRateAttachmentInfoKHR = RenderingFragmentShadingRateAttachmentInfoKHR {}
- data RenderingFragmentDensityMapAttachmentInfoEXT = RenderingFragmentDensityMapAttachmentInfoEXT {}
- data PhysicalDeviceDynamicRenderingFeaturesKHR = PhysicalDeviceDynamicRenderingFeaturesKHR {}
- data CommandBufferInheritanceRenderingInfoKHR = CommandBufferInheritanceRenderingInfoKHR {}
- data AttachmentSampleCountInfoAMD = AttachmentSampleCountInfoAMD {}
- data MultiviewPerViewAttributesInfoNVX = MultiviewPerViewAttributesInfoNVX {}
- type RenderingFlagsKHR = RenderingFlagBitsKHR
- newtype RenderingFlagBitsKHR where
- type AttachmentSampleCountInfoNV = AttachmentSampleCountInfoAMD
- type KHR_DYNAMIC_RENDERING_SPEC_VERSION = 1
- pattern KHR_DYNAMIC_RENDERING_SPEC_VERSION :: forall a. Integral a => a
- type KHR_DYNAMIC_RENDERING_EXTENSION_NAME = "VK_KHR_dynamic_rendering"
- pattern KHR_DYNAMIC_RENDERING_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
Arguments
| :: forall a io. (Extendss RenderingInfoKHR a, PokeChain a, MonadIO io) | |
| => CommandBuffer |
|
| -> RenderingInfoKHR a |
|
| -> io () |
vkCmdBeginRenderingKHR - Begin a dynamic render pass instance
Description
After beginning a render pass instance, the command buffer is ready to record draw commands.
If pRenderingInfo->flags includes RENDERING_RESUMING_BIT_KHR then
this render pass is resumed from a render pass instance that has been
suspended earlier in
submission order.
Valid Usage
- The dynamicRendering feature must be enabled
- If
commandBufferis a secondary command buffer,pRenderingInfo->flagsmust not includeRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR
Valid Usage (Implicit)
-
commandBuffermust be a validCommandBufferhandle
-
pRenderingInfomust be a valid pointer to a validRenderingInfoKHRstructure -
commandBuffermust be in the recording state - The
CommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized
- Host access to the
CommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
'
| Command Buffer Levels | Render Pass Scope | Supported Queue Types |
|---|---|---|
| Primary Secondary | Outside | Graphics |
See Also
cmdUseRenderingKHR :: forall a io r. (Extendss RenderingInfoKHR a, PokeChain a, MonadIO io) => CommandBuffer -> RenderingInfoKHR a -> io r -> io r Source #
This function will call the supplied action between calls to
cmdBeginRenderingKHR and cmdEndRenderingKHR
Note that cmdEndRenderingKHR is *not* called if an exception is thrown
by the inner action.
Arguments
| :: forall io. MonadIO io | |
| => CommandBuffer |
|
| -> io () |
vkCmdEndRenderingKHR - End a dynamic render pass instance
Description
If the value of pRenderingInfo->flags used to begin this render pass
instance included RENDERING_SUSPENDING_BIT_KHR, then this render pass
is suspended and will be resumed later in
submission order.
Valid Usage
- The current render pass
instance must have been begun with
cmdBeginRenderingKHR
Valid Usage (Implicit)
-
commandBuffermust be a validCommandBufferhandle
-
commandBuffermust be in the recording state - The
CommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called inside of a render pass instance
Host Synchronization
- Host access to
commandBuffermust be externally synchronized
- Host access to the
CommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
'
| Command Buffer Levels | Render Pass Scope | Supported Queue Types |
|---|---|---|
| Primary Secondary | Inside | Graphics |
See Also
pattern PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR :: PipelineCreateFlagBits Source #
pattern PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT :: PipelineCreateFlagBits Source #
data PipelineRenderingCreateInfoKHR Source #
VkPipelineRenderingCreateInfoKHR - Structure specifying attachment formats
Description
When a pipeline is created without a RenderPass,
if this structure is present in the pNext chain of
GraphicsPipelineCreateInfo, it specifies the
view mask and format of attachments used for rendering. If this
structure is not specified, and the pipeline does not include a
RenderPass, viewMask and
colorAttachmentCount are 0, and depthAttachmentFormat and
stencilAttachmentFormat are
FORMAT_UNDEFINED. If a graphics pipeline is
created with a valid RenderPass, parameters of
this structure are ignored.
If depthAttachmentFormat, stencilAttachmentFormat, or any element of
pColorAttachmentFormats is
FORMAT_UNDEFINED, it indicates that the
corresponding attachment is unused within the render pass. Valid formats
indicate that an attachment can be used - but it is still valid to set
the attachment to NULL when beginning rendering.
Valid Usage
-
If any element of
pColorAttachmentFormatsis notFORMAT_UNDEFINED, it must be a format with potential format features that includeFORMAT_FEATURE_COLOR_ATTACHMENT_BIT
-
If
depthAttachmentFormatis notFORMAT_UNDEFINED, it must be a format with potential format features that includeFORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT -
If
stencilAttachmentFormatis notFORMAT_UNDEFINED, it must be a format with potential format features that includeFORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT -
If
depthAttachmentFormatis notFORMAT_UNDEFINEDandstencilAttachmentFormatis notFORMAT_UNDEFINED,depthAttachmentFormatmust equalstencilAttachmentFormat - If the
multiview
feature is not enabled,
viewMaskmust be0 - The index of
the most significant bit in
viewMaskmust be less than maxMultiviewViewCount
Valid Usage (Implicit)
-
sTypemust beSTRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO_KHR
-
If
colorAttachmentCountis not0,pColorAttachmentFormatsmust be a valid pointer to an array ofcolorAttachmentCountvalidFormatvalues -
depthAttachmentFormatmust be a validFormatvalue -
stencilAttachmentFormatmust be a validFormatvalue
See Also
Constructors
| PipelineRenderingCreateInfoKHR | |
Fields
| |
Instances
| Show PipelineRenderingCreateInfoKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods showsPrec :: Int -> PipelineRenderingCreateInfoKHR -> ShowS # show :: PipelineRenderingCreateInfoKHR -> String # showList :: [PipelineRenderingCreateInfoKHR] -> ShowS # | |
| FromCStruct PipelineRenderingCreateInfoKHR Source # | |
| ToCStruct PipelineRenderingCreateInfoKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods withCStruct :: PipelineRenderingCreateInfoKHR -> (Ptr PipelineRenderingCreateInfoKHR -> IO b) -> IO b Source # pokeCStruct :: Ptr PipelineRenderingCreateInfoKHR -> PipelineRenderingCreateInfoKHR -> IO b -> IO b Source # withZeroCStruct :: (Ptr PipelineRenderingCreateInfoKHR -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr PipelineRenderingCreateInfoKHR -> IO b -> IO b Source # cStructSize :: Int Source # | |
| Zero PipelineRenderingCreateInfoKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods | |
data RenderingInfoKHR (es :: [Type]) Source #
VkRenderingInfoKHR - Structure specifying render pass instance begin info
Description
If viewMask is not 0, multiview is enabled.
If there is an instance of
DeviceGroupRenderPassBeginInfo
included in the pNext chain and its deviceCount member is not 0,
then renderArea is ignored, and the render area is defined per-device
by that structure.
Each element of the pColorAttachments array corresponds to an output
location in the shader, i.e. if the shader declares an output variable
decorated with a Location value of X, then it uses the attachment
provided in pColorAttachments[X]. If the imageView member of any
element of pColorAttachments is
NULL_HANDLE, writes to the corresponding
location by a fragment are discarded.
Valid Usage
- If neither the
VK_AMD_mixed_attachment_samples
nor the
VK_NV_framebuffer_mixed_samples
extensions are enabled,
imageViewmembers ofpDepthAttachment,pStencilAttachment, and elements ofpColorAttachmentsthat are notNULL_HANDLEmust have been created with the samesampleCount - If the
pNextchain does not containDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0,renderArea.offset.xmust be greater than or equal to 0 - If the
pNextchain does not containDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0,renderArea.offset.ymust be greater than or equal to 0 - If the
pNextchain does not containDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0, the width of theimageViewmember of any element ofpColorAttachments,pDepthAttachment, orpStencilAttachmentthat is notNULL_HANDLEmust be greater than or equal torenderArea.offset.x+renderArea.extent.width - If the
pNextchain does not containDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0, the height of theimageViewmember of any element ofpColorAttachments,pDepthAttachment, orpStencilAttachmentthat is notNULL_HANDLEmust be greater than or equal torenderArea.offset.y+renderArea.extent.height - If the
pNextchain containsDeviceGroupRenderPassBeginInfo, the width of theimageViewmember of any element ofpColorAttachments,pDepthAttachment, orpStencilAttachmentthat is notNULL_HANDLEmust be greater than or equal to the sum of theoffset.xandextent.widthmembers of each element ofpDeviceRenderAreas - If the
pNextchain containsDeviceGroupRenderPassBeginInfo, the height of theimageViewmember of any element ofpColorAttachments,pDepthAttachment, orpStencilAttachmentthat is notNULL_HANDLEmust be greater than or equal to the sum of theoffset.yandextent.heightmembers of each element ofpDeviceRenderAreas - If neither
pDepthAttachmentorpStencilAttachmentareNULLand theimageViewmember of either structure is notNULL_HANDLE, theimageViewmember of each structure must be the same - If neither
pDepthAttachmentorpStencilAttachmentareNULL, and theresolveModemember of each is notRESOLVE_MODE_NONE, theresolveImageViewmember of each structure must be the same - If
colorAttachmentCountis not0and theimageViewmember of an element ofpColorAttachmentsis notNULL_HANDLE, thatimageViewmust have been created withIMAGE_USAGE_COLOR_ATTACHMENT_BIT - If
pDepthAttachmentis notNULLandpDepthAttachment->imageViewis notNULL_HANDLE,pDepthAttachment->imageViewmust have been created withIMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT - If
pStencilAttachmentis notNULLandpStencilAttachment->imageViewis notNULL_HANDLE,pStencilAttachment->imageViewmust have been created with a stencil usage includingIMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT - If
colorAttachmentCountis not0and theimageViewmember of an element ofpColorAttachmentsis notNULL_HANDLE, thelayoutmember of that element ofpColorAttachmentsmust not beIMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMALorIMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL - If
colorAttachmentCountis not0and theimageViewmember of an element ofpColorAttachmentsis notNULL_HANDLE, if theresolveModemember of that element ofpColorAttachmentsis notRESOLVE_MODE_NONE, itsresolveImageLayoutmember must not beIMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMALorIMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL - If
pDepthAttachmentis notNULLandpDepthAttachment->imageViewis notNULL_HANDLE,pDepthAttachment->layoutmust not beIMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL - If
pDepthAttachmentis notNULL,pDepthAttachment->imageViewis notNULL_HANDLE, andpDepthAttachment->resolveModeis notRESOLVE_MODE_NONE,pDepthAttachment->resolveImageLayoutmust not beIMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL - If
pStencilAttachmentis notNULLandpStencilAttachment->imageViewis notNULL_HANDLE,pStencilAttachment->layoutmust not beIMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL - If
pStencilAttachmentis notNULL,pStencilAttachment->imageViewis notNULL_HANDLE, andpStencilAttachment->resolveModeis notRESOLVE_MODE_NONE,pStencilAttachment->resolveImageLayoutmust not beIMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL - If
colorAttachmentCountis not0and theimageViewmember of an element ofpColorAttachmentsis notNULL_HANDLE, thelayoutmember of that element ofpColorAttachmentsmust not beIMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMALorIMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL - If
colorAttachmentCountis not0and theimageViewmember of an element ofpColorAttachmentsis notNULL_HANDLE, if theresolveModemember of that element ofpColorAttachmentsis notRESOLVE_MODE_NONE, itsresolveImageLayoutmember must not beIMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMALorIMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL - If
pDepthAttachmentis notNULL,pDepthAttachment->imageViewis notNULL_HANDLE, andpDepthAttachment->resolveModeis notRESOLVE_MODE_NONE,pDepthAttachment->resolveImageLayoutmust not beIMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL - If
pStencilAttachmentis notNULL,pStencilAttachment->imageViewis notNULL_HANDLE, andpStencilAttachment->resolveModeis notRESOLVE_MODE_NONE,pStencilAttachment->resolveImageLayoutmust not beIMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL - If
colorAttachmentCountis not0and theimageViewmember of an element ofpColorAttachmentsis notNULL_HANDLE, thelayoutmember of that element ofpColorAttachmentsmust not beIMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL,IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL,IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL, orIMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL - If
colorAttachmentCountis not0and theimageViewmember of an element ofpColorAttachmentsis notNULL_HANDLE, if theresolveModemember of that element ofpColorAttachmentsis notRESOLVE_MODE_NONE, itsresolveImageLayoutmember must not beIMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL,IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL,IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL, orIMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL - If
pDepthAttachmentis notNULLandpDepthAttachment->imageViewis notNULL_HANDLE,pDepthAttachment->resolveModemust be one of the bits set inPhysicalDeviceDepthStencilResolveProperties::supportedDepthResolveModes - If
pStencilAttachmentis notNULLandpStencilAttachment->imageViewis notNULL_HANDLE,pStencilAttachment->resolveModemust be one of the bits set inPhysicalDeviceDepthStencilResolveProperties::supportedStencilResolveModes - If
pDepthAttachmentorpStencilAttachmentare both notNULL,pDepthAttachment->imageViewandpStencilAttachment->imageVieware both notNULL_HANDLE, andPhysicalDeviceDepthStencilResolveProperties::independentResolveNoneisFALSE, theresolveModeof both structures must be the same value - If
pDepthAttachmentorpStencilAttachmentare both notNULL,pDepthAttachment->imageViewandpStencilAttachment->imageVieware both notNULL_HANDLE,PhysicalDeviceDepthStencilResolveProperties::independentResolveisFALSE, and theresolveModeof neither structure isRESOLVE_MODE_NONE, theresolveModeof both structures must be the same value -
colorAttachmentCountmust be less than or equal toPhysicalDeviceLimits::maxColorAttachments - If the
imageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain is notNULL_HANDLE, and non-subsample image feature is not enabled, validimageViewandresolveImageViewmembers ofpDepthAttachment,pStencilAttachment, and each element ofpColorAttachmentsmust be aImageViewcreated withIMAGE_CREATE_SUBSAMPLED_BIT_EXT - If the
imageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain is notNULL_HANDLE, andviewMaskis not0,imageViewmust have alayerCountgreater than or equal to the index of the most significant bit inviewMask - If the
imageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain is notNULL_HANDLE, andviewMaskis0,imageViewmust have alayerCountequal to1 - If the
pNextchain does not containDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0 and theimageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain is notNULL_HANDLE,imageViewmust have a width greater than or equal to \(\left\lceil{\frac{renderArea_{x}+renderArea_{width}}{maxFragmentDensityTexelSize_{width}}}\right\rceil\) - If the
pNextchain contains aDeviceGroupRenderPassBeginInfostructure, itsdeviceRenderAreaCountmember is not 0, and theimageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain is notNULL_HANDLE,imageViewmust have a width greater than or equal to \(\left\lceil{\frac{pDeviceRenderAreas_{x}+pDeviceRenderAreas_{width}}{maxFragmentDensityTexelSize_{width}}}\right\rceil\) for each element ofpDeviceRenderAreas - If the
pNextchain does not containDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0 and theimageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain is notNULL_HANDLE,imageViewmust have a height greater than or equal to \(\left\lceil{\frac{renderArea_{y}+renderArea_{height}}{maxFragmentDensityTexelSize_{height}}}\right\rceil\) - If the
pNextchain contains aDeviceGroupRenderPassBeginInfostructure, itsdeviceRenderAreaCountmember is not 0, and theimageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain is notNULL_HANDLE,imageViewmust have a height greater than or equal to \(\left\lceil{\frac{pDeviceRenderAreas_{y}+pDeviceRenderAreas_{height}}{maxFragmentDensityTexelSize_{height}}}\right\rceil\) for each element ofpDeviceRenderAreas - If the
imageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain is notNULL_HANDLE, it must not be equal to theimageVieworresolveImageViewmember ofpDepthAttachment,pStencilAttachment, or any element ofpColorAttachments - If the
pNextchain does not containDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0 and theimageViewmember of aRenderingFragmentShadingRateAttachmentInfoKHRstructure included in thepNextchain is notNULL_HANDLE,imageViewmust have a width greater than or equal to \(\left\lceil{\frac{renderArea_{x}+renderArea_{width}}{shadingRateAttachmentTexelSize_{width}}}\right\rceil\) - If the
pNextchain contains aDeviceGroupRenderPassBeginInfostructure, itsdeviceRenderAreaCountmember is not 0, and theimageViewmember of aRenderingFragmentShadingRateAttachmentInfoKHRstructure included in thepNextchain is notNULL_HANDLE,imageViewmust have a width greater than or equal to \(\left\lceil{\frac{pDeviceRenderAreas_{x}+pDeviceRenderAreas_{width}}{shadingRateAttachmentTexelSize_{width}}}\right\rceil\) for each element ofpDeviceRenderAreas - If the
pNextchain does not containDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0 and theimageViewmember of aRenderingFragmentShadingRateAttachmentInfoKHRstructure included in thepNextchain is notNULL_HANDLE,imageViewmust have a height greater than or equal to \(\left\lceil{\frac{renderArea_{y}+renderArea_{height}}{shadingRateAttachmentTexelSize_{height}}}\right\rceil\) - If the
pNextchain contains aDeviceGroupRenderPassBeginInfostructure, itsdeviceRenderAreaCountmember is not 0, and theimageViewmember of aRenderingFragmentShadingRateAttachmentInfoKHRstructure included in thepNextchain is notNULL_HANDLE,imageViewmust have a height greater than or equal to \(\left\lceil{\frac{pDeviceRenderAreas_{y}+pDeviceRenderAreas_{height}}{shadingRateAttachmentTexelSize_{height}}}\right\rceil\) for each element ofpDeviceRenderAreas - If the
imageViewmember of aRenderingFragmentShadingRateAttachmentInfoKHRstructure included in thepNextchain is notNULL_HANDLE, andviewMaskis0,imageViewmust have alayerCountthat is either equal to1or greater than or equal tolayerCount - If the
imageViewmember of aRenderingFragmentShadingRateAttachmentInfoKHRstructure included in thepNextchain is notNULL_HANDLE, andviewMaskis not0,imageViewmust have alayerCountthat either equal to1or greater than or equal to the index of the most significant bit inviewMask - If the
imageViewmember of aRenderingFragmentShadingRateAttachmentInfoKHRstructure included in thepNextchain is notNULL_HANDLE, it must not be equal to theimageVieworresolveImageViewmember ofpDepthAttachment,pStencilAttachment, or any element ofpColorAttachments - If the
imageViewmember of aRenderingFragmentShadingRateAttachmentInfoKHRstructure included in thepNextchain is notNULL_HANDLE, it must not be equal to theimageViewmember of aRenderingFragmentDensityMapAttachmentInfoEXTstructure included in thepNextchain - If the
multiview
feature is not enabled,
viewMaskmust be0 - The index of the most
significant bit in
viewMaskmust be less than maxMultiviewViewCount
Valid Usage (Implicit)
-
sTypemust beSTRUCTURE_TYPE_RENDERING_INFO_KHR
- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofDeviceGroupRenderPassBeginInfo,MultiviewPerViewAttributesInfoNVX,RenderingFragmentDensityMapAttachmentInfoEXT, orRenderingFragmentShadingRateAttachmentInfoKHR - The
sTypevalue of each struct in thepNextchain must be unique -
flagsmust be a valid combination ofRenderingFlagBitsKHRvalues - If
colorAttachmentCountis not0,pColorAttachmentsmust be a valid pointer to an array ofcolorAttachmentCountvalidRenderingAttachmentInfoKHRstructures - If
pDepthAttachmentis notNULL,pDepthAttachmentmust be a valid pointer to a validRenderingAttachmentInfoKHRstructure - If
pStencilAttachmentis notNULL,pStencilAttachmentmust be a valid pointer to a validRenderingAttachmentInfoKHRstructure
See Also
VK_KHR_dynamic_rendering,
Rect2D, RenderingAttachmentInfoKHR,
RenderingFlagsKHR, StructureType,
cmdBeginRenderingKHR
Constructors
| RenderingInfoKHR | |
Fields
| |
Instances
data RenderingAttachmentInfoKHR Source #
VkRenderingAttachmentInfoKHR - Structure specifying attachment information
Description
Values in imageView are loaded and stored according to the values of
loadOp and storeOp, within the render area for each device specified
in RenderingInfoKHR. If imageView is
NULL_HANDLE, other members of this
structure are ignored; writes to this attachment will be discarded, and
no load, store, or resolve operations will be performed.
If resolveMode is
RESOLVE_MODE_NONE, then
resolveImageView is ignored. If resolveMode is not
RESOLVE_MODE_NONE, values in
resolveImageView within the render area become undefined once
rendering begins. At the end of rendering, the color values written to
each pixel location in imageView will be resolved according to
resolveMode and stored into the the same location in
resolveImageView.
Note
The resolve mode and store operation are independent; it is valid to write both resolved and unresolved values, and equally valid to discard the unresolved values while writing the resolved ones.
Store and resolve operations are only performed at the end of a render
pass instance that does not specify the RENDERING_SUSPENDING_BIT_KHR
flag.
Load operations are only performed at the beginning of a render pass
instance that does not specify the RENDERING_RESUMING_BIT_KHR flag.
Image contents at the end of a suspended render pass instance remain defined for access by a resuming render pass instance.
Valid Usage
- If
imageViewis notNULL_HANDLEand has a non-integer color format,resolveModemust beRESOLVE_MODE_NONEorRESOLVE_MODE_AVERAGE_BIT
- If
imageViewis notNULL_HANDLEand has an integer color format,resolveModemust beRESOLVE_MODE_NONEorRESOLVE_MODE_SAMPLE_ZERO_BIT - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,imageViewmust not have a sample count ofSAMPLE_COUNT_1_BIT - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,resolveImageViewmust have a sample count ofSAMPLE_COUNT_1_BIT - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,imageViewandresolveImageViewmust have the sameFormat - If
imageViewis notNULL_HANDLE,layoutmust not beIMAGE_LAYOUT_UNDEFINED,IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, orIMAGE_LAYOUT_PREINITIALIZED - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,resolveImageLayoutmust not beIMAGE_LAYOUT_UNDEFINED,IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL,IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, orIMAGE_LAYOUT_PREINITIALIZED - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,resolveImageLayoutmust not beIMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMALorIMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL - If
imageViewis notNULL_HANDLE,layoutmust not beIMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,resolveImageLayoutmust not beIMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV - If
imageViewis notNULL_HANDLE,layoutmust not beIMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,resolveImageLayoutmust not beIMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,resolveImageLayoutmust not beIMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHR - If
imageViewis notNULL_HANDLE,layoutmust not beIMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,resolveImageLayoutmust not beIMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR - If
imageViewis notNULL_HANDLE,layoutmust not beIMAGE_LAYOUT_PRESENT_SRC_KHR - If
imageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE,resolveImageLayoutmust not beIMAGE_LAYOUT_PRESENT_SRC_KHR
Valid Usage (Implicit)
-
sTypemust beSTRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO_KHR
-
pNextmust beNULL - If
imageViewis notNULL_HANDLE,imageViewmust be a validImageViewhandle -
imageLayoutmust be a validImageLayoutvalue - If
resolveModeis not0,resolveModemust be a validResolveModeFlagBitsvalue - If
resolveImageViewis notNULL_HANDLE,resolveImageViewmust be a validImageViewhandle -
resolveImageLayoutmust be a validImageLayoutvalue -
loadOpmust be a validAttachmentLoadOpvalue -
storeOpmust be a validAttachmentStoreOpvalue -
clearValuemust be a validClearValueunion - Both of
imageView, andresolveImageViewthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameDevice
See Also
VK_KHR_dynamic_rendering,
AttachmentLoadOp,
AttachmentStoreOp,
ClearValue,
ImageLayout,
ImageView, RenderingInfoKHR,
ResolveModeFlagBits,
StructureType
Constructors
| RenderingAttachmentInfoKHR | |
Fields
| |
Instances
| Show RenderingAttachmentInfoKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods showsPrec :: Int -> RenderingAttachmentInfoKHR -> ShowS # show :: RenderingAttachmentInfoKHR -> String # showList :: [RenderingAttachmentInfoKHR] -> ShowS # | |
| ToCStruct RenderingAttachmentInfoKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods withCStruct :: RenderingAttachmentInfoKHR -> (Ptr RenderingAttachmentInfoKHR -> IO b) -> IO b Source # pokeCStruct :: Ptr RenderingAttachmentInfoKHR -> RenderingAttachmentInfoKHR -> IO b -> IO b Source # withZeroCStruct :: (Ptr RenderingAttachmentInfoKHR -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr RenderingAttachmentInfoKHR -> IO b -> IO b Source # cStructSize :: Int Source # | |
| Zero RenderingAttachmentInfoKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods | |
data RenderingFragmentShadingRateAttachmentInfoKHR Source #
VkRenderingFragmentShadingRateAttachmentInfoKHR - Structure specifying fragment shading rate attachment information
Description
This structure can be included in the pNext chain of
RenderingInfoKHR to define a
fragment shading rate attachment.
If imageView is NULL_HANDLE, or if this
structure is not specified, the implementation behaves as if a valid
shading rate attachment was specified with all texels specifying a
single pixel per fragment.
Valid Usage
-
If
imageViewis notNULL_HANDLE,layoutmust beIMAGE_LAYOUT_GENERALorIMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR
-
If
imageViewis notNULL_HANDLE, it must have been created withIMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR -
If
imageViewis notNULL_HANDLE,shadingRateAttachmentTexelSize.widthmust be a power of two value -
If
imageViewis notNULL_HANDLE,shadingRateAttachmentTexelSize.widthmust be less than or equal to maxFragmentShadingRateAttachmentTexelSize.width -
If
imageViewis notNULL_HANDLE,shadingRateAttachmentTexelSize.widthmust be greater than or equal to minFragmentShadingRateAttachmentTexelSize.width -
If
imageViewis notNULL_HANDLE,shadingRateAttachmentTexelSize.heightmust be a power of two value -
If
imageViewis notNULL_HANDLE,shadingRateAttachmentTexelSize.heightmust be less than or equal to maxFragmentShadingRateAttachmentTexelSize.height -
If
imageViewis notNULL_HANDLE,shadingRateAttachmentTexelSize.heightmust be greater than or equal to minFragmentShadingRateAttachmentTexelSize.height -
If
imageViewis notNULL_HANDLE, the quotient ofshadingRateAttachmentTexelSize.widthandshadingRateAttachmentTexelSize.heightmust be less than or equal to maxFragmentShadingRateAttachmentTexelSizeAspectRatio -
If
imageViewis notNULL_HANDLE, the quotient ofshadingRateAttachmentTexelSize.heightandshadingRateAttachmentTexelSize.widthmust be less than or equal to maxFragmentShadingRateAttachmentTexelSizeAspectRatio
Valid Usage (Implicit)
-
If
imageViewis notNULL_HANDLE,imageViewmust be a validImageViewhandle -
imageLayoutmust be a validImageLayoutvalue
See Also
VK_KHR_dynamic_rendering,
VK_KHR_fragment_shading_rate,
Extent2D,
ImageLayout,
ImageView,
StructureType
Constructors
| RenderingFragmentShadingRateAttachmentInfoKHR | |
Fields
| |
Instances
data RenderingFragmentDensityMapAttachmentInfoEXT Source #
VkRenderingFragmentDensityMapAttachmentInfoEXT - Structure specifying fragment shading rate attachment information
Description
This structure can be included in the pNext chain of
RenderingInfoKHR to define a fragment density map. If imageView is
NULL_HANDLE, or if this structure is not
specified, imageView is NULL_HANDLE.
Valid Usage
-
If
imageViewis notNULL_HANDLE,layoutmust beIMAGE_LAYOUT_GENERALorIMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT
-
If
imageViewis notNULL_HANDLE, it must have been created withIMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT -
If
imageViewis notNULL_HANDLE, it must not have been created withIMAGE_CREATE_SUBSAMPLED_BIT_EXT
Valid Usage (Implicit)
-
imageViewmust be a validImageViewhandle -
imageLayoutmust be a validImageLayoutvalue
See Also
VK_EXT_fragment_density_map,
VK_KHR_dynamic_rendering,
ImageLayout,
ImageView,
StructureType
Constructors
| RenderingFragmentDensityMapAttachmentInfoEXT | |
Fields
| |
Instances
data PhysicalDeviceDynamicRenderingFeaturesKHR Source #
VkPhysicalDeviceDynamicRenderingFeaturesKHR - Structure indicating support for dynamic render pass instances
Members
The members of the PhysicalDeviceDynamicRenderingFeaturesKHR structure
describe the following features:
Description
If the PhysicalDeviceDynamicRenderingFeaturesKHR structure is included
in the pNext chain of the
PhysicalDeviceFeatures2
structure passed to
getPhysicalDeviceFeatures2,
it is filled in to indicate whether each corresponding feature is
supported. PhysicalDeviceDynamicRenderingFeaturesKHR can also be
used in the pNext chain of DeviceCreateInfo to
selectively enable these features.
Valid Usage (Implicit)
See Also
Constructors
| PhysicalDeviceDynamicRenderingFeaturesKHR | |
Fields
| |
Instances
data CommandBufferInheritanceRenderingInfoKHR Source #
VkCommandBufferInheritanceRenderingInfoKHR - Structure specifying command buffer inheritance info for dynamic render pass instances
Description
If the pNext chain of
CommandBufferInheritanceInfo includes a
CommandBufferInheritanceRenderingInfoKHR structure, then that
structure controls parameters of dynamic render pass instances that the
CommandBuffer can be executed within. If
CommandBufferInheritanceInfo::renderPass
is not NULL_HANDLE, or
COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
is not specified in
CommandBufferBeginInfo::flags,
parameters of this structure are ignored.
If colorAttachmentCount is 0 and the
variableMultisampleRate
feature is enabled, rasterizationSamples is ignored.
If depthAttachmentFormat, stencilAttachmentFormat, or any element of
pColorAttachmentFormats is
FORMAT_UNDEFINED, it indicates that the
corresponding attachment is unused within the render pass.
Valid Usage
-
If
colorAttachmentCountis not0,rasterizationSamplesmust be a validSampleCountFlagBitsvalue
-
If the
variableMultisampleRate
feature is not enabled,
rasterizationSamplesmust be a validSampleCountFlagBitsvalue -
If any element of
pColorAttachmentFormatsis notFORMAT_UNDEFINED, it must be a format with potential format features that includeFORMAT_FEATURE_COLOR_ATTACHMENT_BIT -
If
depthAttachmentFormatis notFORMAT_UNDEFINED, it must be a format with potential format features that includeFORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT -
If
stencilAttachmentFormatis notFORMAT_UNDEFINED, it must be a format with potential format features that includeFORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT -
If
depthAttachmentFormatis notFORMAT_UNDEFINEDandstencilAttachmentFormatis notFORMAT_UNDEFINED,depthAttachmentFormatmust equalstencilAttachmentFormat - If
the
multiview
feature is not enabled,
viewMaskmust be0 - The
index of the most significant bit in
viewMaskmust be less than maxMultiviewViewCount
Valid Usage (Implicit)
-
flagsmust be a valid combination ofRenderingFlagBitsKHRvalues -
If
colorAttachmentCountis not0,pColorAttachmentFormatsmust be a valid pointer to an array ofcolorAttachmentCountvalidFormatvalues -
depthAttachmentFormatmust be a validFormatvalue -
stencilAttachmentFormatmust be a validFormatvalue -
If
rasterizationSamplesis not0,rasterizationSamplesmust be a validSampleCountFlagBitsvalue
See Also
VK_KHR_dynamic_rendering,
Format, RenderingFlagsKHR,
SampleCountFlagBits,
StructureType
Constructors
| CommandBufferInheritanceRenderingInfoKHR | |
Fields
| |
Instances
data AttachmentSampleCountInfoAMD Source #
VkAttachmentSampleCountInfoAMD - Structure specifying command buffer inheritance info for dynamic render pass instances
Description
If
CommandBufferInheritanceInfo::renderPass
is NULL_HANDLE,
COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
is specified in
CommandBufferBeginInfo::flags, and the
pNext chain of
CommandBufferInheritanceInfo includes
AttachmentSampleCountInfoAMD, then this structure defines the sample
counts of each attachment within the render pass instance. If
AttachmentSampleCountInfoAMD is not included, the value of
CommandBufferInheritanceRenderingInfoKHR::rasterizationSamples is
used as the sample count for each attachment. If
CommandBufferInheritanceInfo::renderPass
is not NULL_HANDLE, or
COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
is not specified in
CommandBufferBeginInfo::flags,
parameters of this structure are ignored.
AttachmentSampleCountInfoAMD can also be included in the pNext
chain of GraphicsPipelineCreateInfo. When a
graphics pipeline is created without a
RenderPass, if this structure is present in the
pNext chain of GraphicsPipelineCreateInfo, it
specifies the sample count of attachments used for rendering. If this
structure is not specified, and the pipeline does not include a
RenderPass, the value of
PipelineMultisampleStateCreateInfo::rasterizationSamples
is used as the sample count for each attachment. If a graphics pipeline
is created with a valid RenderPass, parameters
of this structure are ignored.
Valid Usage (Implicit)
-
sTypemust beSTRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD
-
pColorAttachmentSamplesmust be a valid pointer to an array ofcolorAttachmentCountvalid orNULL_HANDLESampleCountFlagBitsvalues -
If
depthStencilAttachmentSamplesis not0,depthStencilAttachmentSamplesmust be a validSampleCountFlagBitsvalue -
colorAttachmentCountmust be greater than0
See Also
VK_AMD_mixed_attachment_samples,
VK_KHR_dynamic_rendering,
VK_NV_framebuffer_mixed_samples,
SampleCountFlagBits,
StructureType
Constructors
| AttachmentSampleCountInfoAMD | |
Fields
| |
Instances
| Show AttachmentSampleCountInfoAMD Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods showsPrec :: Int -> AttachmentSampleCountInfoAMD -> ShowS # show :: AttachmentSampleCountInfoAMD -> String # showList :: [AttachmentSampleCountInfoAMD] -> ShowS # | |
| FromCStruct AttachmentSampleCountInfoAMD Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering | |
| ToCStruct AttachmentSampleCountInfoAMD Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods withCStruct :: AttachmentSampleCountInfoAMD -> (Ptr AttachmentSampleCountInfoAMD -> IO b) -> IO b Source # pokeCStruct :: Ptr AttachmentSampleCountInfoAMD -> AttachmentSampleCountInfoAMD -> IO b -> IO b Source # withZeroCStruct :: (Ptr AttachmentSampleCountInfoAMD -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr AttachmentSampleCountInfoAMD -> IO b -> IO b Source # cStructSize :: Int Source # | |
| Zero AttachmentSampleCountInfoAMD Source # | |
Defined in Vulkan.Extensions.VK_KHR_dynamic_rendering Methods | |
data MultiviewPerViewAttributesInfoNVX Source #
VkMultiviewPerViewAttributesInfoNVX - Structure specifying the multiview per-attribute properties
Description
When dynamic render pass instances are being used, instead of specifying
SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX
or
SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX
in the subpass description flags, the per-attibute properties of the
render pass instance must be specified by the
MultiviewPerViewAttributesInfoNVX structure Include the
MultiviewPerViewAttributesInfoNVX structure in the pNext chain of
GraphicsPipelineCreateInfo when creating a
graphics pipeline for dynamic rendering, RenderingInfoKHR when
starting a dynamic render pass instance, and
CommandBufferInheritanceInfo when
specifying the dynamic render pass instance parameters for secondary
command buffers.
Valid Usage
Valid Usage (Implicit)
-
sTypemust beSTRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX
See Also
VK_KHR_dynamic_rendering,
VK_NVX_multiview_per_view_attributes,
Bool32,
StructureType
Constructors
| MultiviewPerViewAttributesInfoNVX | |
Fields
| |
Instances
newtype RenderingFlagBitsKHR Source #
VkRenderingFlagBitsKHR - Bitmask specifying additional properties of a dynamic render pass instance
Description
The contents of pRenderingInfo must match between suspended render
pass instances and the render pass instances that resume them, other
than the presence or absence of the RENDERING_RESUMING_BIT_KHR,
RENDERING_SUSPENDING_BIT_KHR, and
RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR flags. No action
or synchronization commands, or other render pass instances, are allowed
between suspending and resuming render pass instances.
See Also
Constructors
| RenderingFlagBitsKHR Flags |
Bundled Patterns
| pattern RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR :: RenderingFlagBitsKHR |
|
| pattern RENDERING_SUSPENDING_BIT_KHR :: RenderingFlagBitsKHR |
|
| pattern RENDERING_RESUMING_BIT_KHR :: RenderingFlagBitsKHR |
|
Instances
type KHR_DYNAMIC_RENDERING_SPEC_VERSION = 1 Source #
pattern KHR_DYNAMIC_RENDERING_SPEC_VERSION :: forall a. Integral a => a Source #
type KHR_DYNAMIC_RENDERING_EXTENSION_NAME = "VK_KHR_dynamic_rendering" Source #
pattern KHR_DYNAMIC_RENDERING_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #