Ignore aspectMask if attachment is unused (#1028)

This commit is contained in:
Petr Kraus 2019-10-06 20:16:17 +02:00 committed by Jon Leech
parent c5261decf6
commit f88e5bf20b

View File

@ -1871,14 +1871,14 @@ ifdef::VK_NVX_multiview_per_view_attributes[]
ename:VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX, it must: ename:VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX, it must:
also include ename:VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX. also include ename:VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX.
endif::VK_NVX_multiview_per_view_attributes[] endif::VK_NVX_multiview_per_view_attributes[]
* [[VUID-VkSubpassDescription2KHR-aspectMask-03175]] * If the pname:attachment member of any element of pname:pInputAttachments
The pname:aspectMask member of any element of pname:pInputAttachments is not ename:VK_ATTACHMENT_UNUSED, then the pname:aspectMask member
must: be a valid combination of elink:VkImageAspectFlagBits must: be a valid combination of elink:VkImageAspectFlagBits
* [[VUID-VkSubpassDescription2KHR-aspectMask-03176]] * If the pname:attachment member of any element of pname:pInputAttachments
The pname:aspectMask member of any element of pname:pInputAttachments is not ename:VK_ATTACHMENT_UNUSED, then the pname:aspectMask member
must: not be `0` must: not be `0`
* [[VUID-VkSubpassDescription2KHR-aspectMask-02529]] * If the pname:attachment member of any element of pname:pInputAttachments
The pname:aspectMask member of each element of pname:pInputAttachments is not ename:VK_ATTACHMENT_UNUSED, then the pname:aspectMask member
must: not include ename:VK_IMAGE_ASPECT_METADATA_BIT must: not include ename:VK_IMAGE_ASPECT_METADATA_BIT
**** ****