// Copyright 2020-2023 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 // Common Valid Usage // Common to VkImageBlit* structures * [[VUID-{refpage}-aspectMask-00238]] The pname:aspectMask member of pname:srcSubresource and pname:dstSubresource must: match * [[VUID-{refpage}-layerCount-08800]] ifdef::VK_KHR_maintenance5[] If neither of the pname:layerCount members of pname:srcSubresource or pname:dstSubresource are ename:VK_REMAINING_ARRAY_LAYERS, the endif::VK_KHR_maintenance5[] ifndef::VK_KHR_maintenance5[The] pname:layerCount members of pname:srcSubresource or pname:dstSubresource must: match ifdef::VK_KHR_maintenance5[] * [[VUID-{refpage}-maintenance5-08799]] If the <> feature is not enabled, the pname:layerCount member of pname:srcSubresource or pname:dstSubresource must: not be ename:VK_REMAINING_ARRAY_LAYERS * [[VUID-{refpage}-layerCount-08801]] If one of the pname:layerCount members of pname:srcSubresource or pname:dstSubresource is ename:VK_REMAINING_ARRAY_LAYERS, the other member must: be either ename:VK_REMAINING_ARRAY_LAYERS or equal to the pname:arrayLayers member of the slink:VkImageCreateInfo used to create the image minus pname:baseArrayLayer endif::VK_KHR_maintenance5[] // Common Valid Usage