From b7b1952cc2e0c5dc7e765f4905b89b645a6c857b Mon Sep 17 00:00:00 2001 From: Petr Kraus Date: Sat, 10 Mar 2018 01:07:49 +0100 Subject: [PATCH] Add missing sparse VUs to VkImageCreateInfo --- doc/specs/vulkan/chapters/resources.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/specs/vulkan/chapters/resources.txt b/doc/specs/vulkan/chapters/resources.txt index 75009280..b1137a0d 100644 --- a/doc/specs/vulkan/chapters/resources.txt +++ b/doc/specs/vulkan/chapters/resources.txt @@ -805,6 +805,9 @@ endif::VK_VERSION_1_1,VK_KHR_maintenance1[] If the <> feature is not enabled, pname:flags must: not contain ename:VK_IMAGE_CREATE_SPARSE_BINDING_BIT + * If the <> feature is not enabled, pname:flags must: not contain + ename:VK_IMAGE_CREATE_SPARSE_ALIASED_BIT * [[VUID-VkImageCreateInfo-imageType-00970]] If pname:imageType is ename:VK_IMAGE_TYPE_1D, pname:flags must: not contain ename:VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT @@ -914,6 +917,10 @@ endif::VK_VERSION_1_1,VK_KHR_maintenance1[] If pname:flags contains ename:VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT or ename:VK_IMAGE_CREATE_SPARSE_ALIASED_BIT, it must: also contain ename:VK_IMAGE_CREATE_SPARSE_BINDING_BIT + * If any of the bits ename:VK_IMAGE_CREATE_SPARSE_BINDING_BIT, + ename:VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT, or + ename:VK_IMAGE_CREATE_SPARSE_ALIASED_BIT are set, + ename:VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT must: not also be set ifdef::VK_VERSION_1_1[] * If the protected memory feature is not enabled, pname:flags must: not contain ename:VK_IMAGE_CREATE_PROTECTED_BIT. @@ -1351,11 +1358,6 @@ ifdef::VK_EXT_sample_locations[] attachment. endif::VK_EXT_sample_locations[] -If any of the bits ename:VK_IMAGE_CREATE_SPARSE_BINDING_BIT, -ename:VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT, or -ename:VK_IMAGE_CREATE_SPARSE_ALIASED_BIT are set, -ename:VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT must: not also be set. - See <> and <> for more details.