From 9396edf859dc075a3db5d9202c2f8a426c84ed01 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Fri, 4 May 2018 16:44:59 -0600 Subject: [PATCH] Add VU for depth/stencil image descriptor There's a paragraph under VkImageSubresourceRange description that contains this restriction but no VU under the vkUpdateDescriptors() section. Adding the VU for clarity as the existing paragraph is easy to miss. --- chapters/descriptorsets.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chapters/descriptorsets.txt b/chapters/descriptorsets.txt index 9601c384..aa32ac0c 100644 --- a/chapters/descriptorsets.txt +++ b/chapters/descriptorsets.txt @@ -2584,6 +2584,10 @@ ifdef::VK_VERSION_1_1,VK_KHR_maintenance1[] pname:imageView must: not be 2D or 2D array image view created from a 3D image endif::VK_VERSION_1_1,VK_KHR_maintenance1[] + * If pname:imageView is created from a depth/stencil image, the + pname:aspectMask used to create the pname:imageView must: include either + ename:VK_IMAGE_ASPECT_DEPTH_BIT or ename:VK_IMAGE_ASPECT_STENCIL_BIT but + not both. * [[VUID-VkDescriptorImageInfo-imageLayout-00344]] pname:imageLayout must: match the actual elink:VkImageLayout of each subresource accessible from pname:imageView at the time this descriptor