• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2020-2024 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5// Common Valid Usage
6// Common to VkImageResolve* struct
7  * [[VUID-{refpage}-aspectMask-00266]]
8    The pname:aspectMask member of pname:srcSubresource and
9    pname:dstSubresource must: only contain ename:VK_IMAGE_ASPECT_COLOR_BIT
10  * [[VUID-{refpage}-layerCount-08803]]
11ifdef::VK_KHR_maintenance5[]
12    If neither of the pname:layerCount members of pname:srcSubresource or
13    pname:dstSubresource are ename:VK_REMAINING_ARRAY_LAYERS, the
14endif::VK_KHR_maintenance5[]
15ifndef::VK_KHR_maintenance5[The]
16    pname:layerCount member of pname:srcSubresource and pname:dstSubresource
17    must: match
18ifdef::VK_KHR_maintenance5[]
19  * [[VUID-{refpage}-layerCount-08804]]
20    If one of the pname:layerCount members of pname:srcSubresource or
21    pname:dstSubresource is ename:VK_REMAINING_ARRAY_LAYERS, the other
22    member must: be either ename:VK_REMAINING_ARRAY_LAYERS or equal to the
23    pname:arrayLayers member of the slink:VkImageCreateInfo used to create
24    the image minus pname:baseArrayLayer
25endif::VK_KHR_maintenance5[]
26// Common Valid Usage
27