1// Copyright 2022-2023 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5// Common Valid Usage
6// Common to micromap build commands
7  * [[VUID-{refpage}-pInfos-07461]]
8    For each pname:pInfos[i], pname:dstMicromap must: have been created with
9    a value of slink:VkMicromapCreateInfoEXT::pname:size greater than or
10    equal to the memory size required by the build operation, as returned by
11    flink:vkGetMicromapBuildSizesEXT with [eq]#pname:pBuildInfo =
12    pname:pInfos[i]#
13  * [[VUID-{refpage}-mode-07462]]
14    The pname:mode member of each element of pname:pInfos must: be a valid
15    elink:VkBuildMicromapModeEXT value
16  * [[VUID-{refpage}-dstMicromap-07463]]
17    The pname:dstMicromap member of any element of pname:pInfos must: be a
18    valid slink:VkMicromapEXT handle
19  * [[VUID-{refpage}-pInfos-07464]]
20    For each element of pname:pInfos its pname:type member must: match the
21    value of slink:VkMicromapCreateInfoEXT::pname:type when its
22    pname:dstMicromap was created
23  * [[VUID-{refpage}-dstMicromap-07465]]
24    The range of memory backing the pname:dstMicromap member of any element
25    of pname:pInfos that is accessed by this command must: not overlap the
26    memory backing the pname:dstMicromap member of any other element of
27    pname:pInfos, which is accessed by this command
28  * [[VUID-{refpage}-dstMicromap-07466]]
29    The range of memory backing the pname:dstMicromap member of any element
30    of pname:pInfos that is accessed by this command must: not overlap the
31    memory backing the pname:scratchData member of any element of
32    pname:pInfos (including the same element), which is accessed by this
33    command
34  * [[VUID-{refpage}-scratchData-07467]]
35    The range of memory backing the pname:scratchData member of any element
36    of pname:pInfos that is accessed by this command must: not overlap the
37    memory backing the pname:scratchData member of any other element of
38    pname:pInfos, which is accessed by this command
39
40// Common Valid Usage
41