Merge pull request #782 from KhronosGroup/736-mapping-clarification

Better specify parameter mapping for VK_KHR_create_renderpass2
This commit is contained in:
Jon Leech 2018-09-15 18:17:15 -07:00 committed by GitHub
commit 68d4e193a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 3 deletions

View File

@ -18,9 +18,24 @@ ptext:sType/ptext:pNext members.
Additionally, the renderpass begin/next/end commands have been augmented
with new extensible structures for passing additional subpass information.
Parameters from the <<VK_KHR_multiview>> and <<VK_KHR_maintenance2>>
extensions which previously extended slink:VkRenderPassCreateInfo are folded
into the new structures in more appropriate locations.
The slink:VkRenderPassMultiviewCreateInfo and
slink:VkInputAttachmentAspectReference structures that extended the
original slink:VkRenderPassCreateInfo are not accepted into the new
creation functions, and instead their parameters are folded into this
extension as follows:
* Elements of slink:VkRenderPassMultiviewCreateInfo::pname:pViewMasks are
now specified in slink:VkSubpassDescription2KHR::pname:viewMask.
* Elements of slink:VkRenderPassMultiviewCreateInfo::pname:pViewOffsets
are now specified in slink:VkSubpassDependency2KHR::pname:viewOffset.
* slink:VkRenderPassMultiviewCreateInfo::pname:correlationMaskCount and
slink:VkRenderPassMultiviewCreateInfo::pname:pCorrelationMasks are
directly specified in slink::VkRenderPassCreateInfo2KHR.
* slink:VkInputAttachmentAspectReference::pname:aspectMask is now
specified in the relevant input attachment description in
slink:VkAttachmentDescription2KHR::pname:aspectMask
The details of these mappings are explained fully in the new structures.
=== New Enum Constants