1// Copyright 2020-2024 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5// Common Valid Usage 6// Common to VkImageBlit* structures 7 * [[VUID-{refpage}-aspectMask-00238]] 8 The pname:aspectMask member of pname:srcSubresource and 9 pname:dstSubresource must: match 10 * [[VUID-{refpage}-layerCount-08800]] 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 members of pname:srcSubresource or pname:dstSubresource 17 must: match 18ifdef::VK_KHR_maintenance5[] 19 * [[VUID-{refpage}-layerCount-08801]] 20 If one of the pname:layerCount members of pname:srcSubresource or 21 pname:dstSubresource is ename:VK_REMAINING_ARRAY_LAYERS, the other 22 member must: be either ename:VK_REMAINING_ARRAY_LAYERS or equal to the 23 pname:arrayLayers member of the slink:VkImageCreateInfo used to create 24 the image minus pname:baseArrayLayer 25endif::VK_KHR_maintenance5[] 26// Common Valid Usage 27