1// Copyright 2020-2021 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5// Common Valid Usage 6// Common to VkImageCopy* struct 7ifndef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] 8 * [[VUID-{refpage}-aspectMask-00137]] 9 The pname:aspectMask member of pname:srcSubresource and 10 pname:dstSubresource must: match 11endif::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] 12ifndef::VK_VERSION_1_1,VK_KHR_maintenance1[] 13 * [[VUID-{refpage}-layerCount-00138]] 14 The pname:layerCount member of pname:srcSubresource and 15 pname:dstSubresource must: match 16endif::VK_VERSION_1_1,VK_KHR_maintenance1[] 17ifdef::VK_VERSION_1_1,VK_KHR_maintenance1[] 18 * [[VUID-{refpage}-extent-00140]] 19 The number of slices of the pname:extent (for 3D) or layers of the 20 pname:srcSubresource (for non-3D) must: match the number of slices of 21 the pname:extent (for 3D) or layers of the pname:dstSubresource (for 22 non-3D) 23endif::VK_VERSION_1_1,VK_KHR_maintenance1[] 24// Common Valid Usage 25