From 56e4ed839f75862ff310dc7430296b636bc077ae Mon Sep 17 00:00:00 2001 From: Tobski Date: Fri, 31 Aug 2018 17:11:30 +0100 Subject: [PATCH] Better specify promoted parameter mapping The appendix now points explicitly at structures and parameters mapped into the new extension. --- appendices/VK_KHR_create_renderpass2.txt | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/appendices/VK_KHR_create_renderpass2.txt b/appendices/VK_KHR_create_renderpass2.txt index cb2e68b8..508af74f 100644 --- a/appendices/VK_KHR_create_renderpass2.txt +++ b/appendices/VK_KHR_create_renderpass2.txt @@ -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 <> and <> -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