Modulevulkan-3.27GHC2021
Vulkan.Extensions.VK_KHR_create_renderpass2
Name
VK_KHR_create_renderpass2 - device extension
VK_KHR_create_renderpass2
- Name String
VK_KHR_create_renderpass2
- Extension Type
Device extension
- Registered Extension Number
110
- Revision
1
- Ratification Status
Ratified
- Extension and Version Dependencies
VK_KHR_multiview and
VK_KHR_maintenance2 or Vulkan Version 1.1
- Deprecation State
Promoted to Vulkan 1.2
- Contact
Other Extension Metadata
- Last Modified Date
2018-02-07
- Contributors
Tobias Hector
Jeff Bolz
Description
This extension provides a new command to create render passes in a way
that can be easily extended by other extensions through the
substructures of render pass creation. The Vulkan 1.0 render pass
creation sub-structures do not include sType/pNext members.
Additionally, the render pass begin/next/end commands have been
augmented with new extensible structures for passing additional subpass
information.
The RenderPassMultiviewCreateInfo and InputAttachmentAspectReference structures that extended the original RenderPassCreateInfo are not accepted into the new creation functions, and instead their parameters are folded into this extension as follows:
Elements of RenderPassMultiviewCreateInfo::
pViewMasksare now specified in SubpassDescription2KHR::viewMask.Elements of RenderPassMultiviewCreateInfo::
pViewOffsetsare now specified in SubpassDependency2KHR::viewOffset.RenderPassMultiviewCreateInfo::
correlationMaskCountand RenderPassMultiviewCreateInfo::pCorrelationMasksare directly specified in RenderPassCreateInfo2KHR.InputAttachmentAspectReference::
aspectMaskis now specified in the relevant input attachment reference in AttachmentReference2KHR::aspectMask
The details of these mappings are explained fully in the new structures.
Promotion to Vulkan 1.2
All functionality in this extension is included in core Vulkan 1.2, with the KHR suffix omitted. The original type, enum, and command names are still available as aliases of the core functionality.
New Commands
New Structures
New Enum Constants
Extending StructureType:
Version History
Revision 1, 2018-02-07 (Tobias Hector)
Internal revisions
See Also
No cross-references are available
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.
- 9 types
- 4 values
- Packagevulkan-3.27
- Exports22
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceVK_KHR_create_renderpass2.hs