1// Copyright 2020-2023 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5// Common Valid Usage 6// Common to VkImageResolve* struct 7 * [[VUID-{refpage}-aspectMask-00266]] 8 The pname:aspectMask member of pname:srcSubresource and 9 pname:dstSubresource must: only contain ename:VK_IMAGE_ASPECT_COLOR_BIT 10 * [[VUID-{refpage}-layerCount-08803]] 11ifdef::VK_KHR_maintenance5[] 12 If neither of the pname:layerCount members of pname:srcSubresource or 13 pname:dstSubresource are ename:VK_REMAINING_ARRAY_LAYERS, the 14endif::VK_KHR_maintenance5[] 15ifndef::VK_KHR_maintenance5[The] 16 pname:layerCount member of pname:srcSubresource and pname:dstSubresource 17 must: match 18ifdef::VK_KHR_maintenance5[] 19 * [[VUID-{refpage}-maintenance5-08802]] 20 If the <<features-maintenance5, pname:maintenance5>> feature is not 21 enabled, the pname:layerCount member of pname:srcSubresource or 22 pname:dstSubresource must: not be ename:VK_REMAINING_ARRAY_LAYERS 23 * [[VUID-{refpage}-layerCount-08804]] 24 If one of the pname:layerCount members of pname:srcSubresource or 25 pname:dstSubresource is ename:VK_REMAINING_ARRAY_LAYERS, the other 26 member must: be either ename:VK_REMAINING_ARRAY_LAYERS or equal to the 27 pname:arrayLayers member of the slink:VkImageCreateInfo used to create 28 the image minus pname:baseArrayLayer 29endif::VK_KHR_maintenance5[] 30// Common Valid Usage 31