summaryrefslogtreecommitdiff
path: root/chapters/commonvalidity/image_resolve_common.adoc
blob: be654e39ade60221d0bfb09e81750036c6429322 (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-2024 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

// Common Valid Usage
// Common to VkImageResolve* struct
  * [[VUID-{refpage}-aspectMask-00266]]
    The pname:aspectMask member of pname:srcSubresource and
    pname:dstSubresource must: only contain ename:VK_IMAGE_ASPECT_COLOR_BIT
  * [[VUID-{refpage}-layerCount-08803]]
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 member of pname:srcSubresource and pname:dstSubresource
    must: match
ifdef::VK_KHR_maintenance5[]
  * [[VUID-{refpage}-layerCount-08804]]
    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