summaryrefslogtreecommitdiff
path: root/chapters/commonvalidity/image_copy_common.adoc
blob: 0ea14a2f3ade6949722d17e24441fc025cf2b6b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2020-2023 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

// Common Valid Usage
// Common to VkImageCopy* struct
ifndef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
  * [[VUID-{refpage}-aspectMask-00137]]
    The pname:aspectMask member of pname:srcSubresource and
    pname:dstSubresource must: match
endif::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
ifndef::VKSC_VERSION_1_0[]
  * [[VUID-{refpage}-apiVersion-07940]]
    If the apiext:VK_KHR_sampler_ycbcr_conversion extension is not enabled
    and slink:VkPhysicalDeviceProperties::pname:apiVersion is less than
    Vulkan 1.1, the pname:aspectMask member of pname:srcSubresource and
    pname:dstSubresource must: match
endif::VKSC_VERSION_1_0[]
endif::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
ifdef::VK_VERSION_1_1,VK_KHR_maintenance1[]
ifndef::VKSC_VERSION_1_0[]
  * [[VUID-{refpage}-apiVersion-07941]]
    If the apiext:VK_KHR_maintenance1 extension is not enabled and
    slink:VkPhysicalDeviceProperties::pname:apiVersion is less than Vulkan
    1.1, the pname:layerCount member of pname:srcSubresource and
    pname:dstSubresource must: match
endif::VKSC_VERSION_1_0[]
endif::VK_VERSION_1_1,VK_KHR_maintenance1[]
ifndef::VK_VERSION_1_1,VK_KHR_maintenance1[]
  * [[VUID-{refpage}-layerCount-00138]]
    The pname:layerCount member of pname:srcSubresource and
    pname:dstSubresource must: match
endif::VK_VERSION_1_1,VK_KHR_maintenance1[]
  * [[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