// Copyright 2020-2024 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

// Common Valid Usage
// Common to VkImageCopy* struct
ifndef::VKSC_VERSION_1_0[]
  * [[VUID-{refpage}-apiVersion-07940]]
ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[If]
ifdef::VK_KHR_sampler_ycbcr_conversion[]
    the apiext:VK_KHR_sampler_ycbcr_conversion extension is not enabled,
endif::VK_KHR_sampler_ycbcr_conversion[]
ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[and]
ifdef::VK_VERSION_1_1[]
    slink:VkPhysicalDeviceProperties::pname:apiVersion is less than Vulkan
    1.1,
endif::VK_VERSION_1_1[]
ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[the]
ifndef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[The]
    pname:aspectMask member of pname:srcSubresource and pname:dstSubresource
    must: match
  * [[VUID-{refpage}-apiVersion-07941]]
ifdef::VK_VERSION_1_1,VK_KHR_maintenance1[If]
ifdef::VK_KHR_maintenance1[]
    the apiext:VK_KHR_maintenance1 extension is not enabled,
endif::VK_KHR_maintenance1[]
ifdef::VK_VERSION_1_1,VK_KHR_maintenance1[and]
ifdef::VK_VERSION_1_1[]
    slink:VkPhysicalDeviceProperties::pname:apiVersion is less than Vulkan
    1.1,
endif::VK_VERSION_1_1[]
ifdef::VK_VERSION_1_1,VK_KHR_maintenance1[the]
ifndef::VK_VERSION_1_1,VK_KHR_maintenance1[The]
    pname:layerCount member of pname:srcSubresource and pname:dstSubresource
    must: match
endif::VKSC_VERSION_1_0[]
  * [[VUID-{refpage}-extent-06668]]
    pname:extent.width must: not be 0
  * [[VUID-{refpage}-extent-06669]]
    pname:extent.height must: not be 0
  * [[VUID-{refpage}-extent-06670]]
    pname:extent.depth must: not be 0
// Common Valid Usage
