blob: 93b1c36112c2ff9caaa1db3900a1f808234ef588 (
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
|
// Copyright 2020-2023 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
ifndef::VK_KHR_maintenance5[]
* [[VUID-{refpage}-layerCount-00267]]
The pname:layerCount member of pname:srcSubresource and
pname:dstSubresource must: match
endif::VK_KHR_maintenance5[]
ifdef::VK_KHR_maintenance5[]
* [[VUID-{refpage}-maintenance5-08802]]
If the <<features-maintenance5, pname:maintenance5>> feature is not
enabled, the pname:layerCount member of pname:srcSubresource or
pname:dstSubresource must: not be ename:VK_REMAINING_ARRAY_LAYERS
* [[VUID-{refpage}-layerCount-08803]]
If neither of the pname:layerCount members of pname:srcSubresource or
pname:dstSubresource are ename:VK_REMAINING_ARRAY_LAYERS, the
pname:layerCount members must: match
* [[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
|