summaryrefslogtreecommitdiff
path: root/chapters/commonvalidity/image_blit_common.adoc
blob: 4d79cb2ed4417d7811b56eacad49255d3d19581a (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
// 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}-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