1// Copyright 2020-2022 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4// Common Valid Usage 5// Common to structs taking VkPipelineStageFlags2 and VkAccessFlags2 parameters to define scopes 6// Set "stageMaskName" and "accessMaskName" attribute to the name of the stage and access mask to validate 7 * [[VUID-{refpage}-{accessMaskName}-03900]] 8 If pname:{accessMaskName} includes 9 ename:VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT, pname:{stageMaskName} must: 10 include ename:VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT, 11 ename:VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, 12 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 13 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 14 * [[VUID-{refpage}-{accessMaskName}-03901]] 15 If pname:{accessMaskName} includes ename:VK_ACCESS_2_INDEX_READ_BIT, 16 pname:{stageMaskName} must: include 17 ename:VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT, 18 ename:VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT, 19 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 20 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 21 * [[VUID-{refpage}-{accessMaskName}-03902]] 22 If pname:{accessMaskName} includes 23 ename:VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT, pname:{stageMaskName} must: 24 include ename:VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT, 25 ename:VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT, 26 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 27 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 28 * [[VUID-{refpage}-{accessMaskName}-03903]] 29 If pname:{accessMaskName} includes 30 ename:VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT, pname:{stageMaskName} must: 31 include ename:VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT, 32 ename:VK_PIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEI, 33 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 34 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 35 * [[VUID-{refpage}-{accessMaskName}-03904]] 36 If pname:{accessMaskName} includes ename:VK_ACCESS_2_UNIFORM_READ_BIT, 37 pname:{stageMaskName} must: include 38 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, 39 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the 40 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 41 * [[VUID-{refpage}-{accessMaskName}-03905]] 42 If pname:{accessMaskName} includes 43 ename:VK_ACCESS_2_SHADER_SAMPLED_READ_BIT, pname:{stageMaskName} must: 44 include ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, 45 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the 46 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 47 * [[VUID-{refpage}-{accessMaskName}-03906]] 48 If pname:{accessMaskName} includes 49 ename:VK_ACCESS_2_SHADER_STORAGE_READ_BIT, pname:{stageMaskName} must: 50 include ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, 51 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the 52 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 53 * [[VUID-{refpage}-{accessMaskName}-03907]] 54 If pname:{accessMaskName} includes 55 ename:VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT, pname:{stageMaskName} must: 56 include ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, 57 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the 58 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 59ifdef::VK_EXT_opacity_micromap[] 60 * [[VUID-{refpage}-{accessMaskName}-07454]] 61 If pname:{accessMaskName} includes ename:VK_ACCESS_2_SHADER_READ_BIT, 62 pname:{stageMaskName} must: include 63 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, 64 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, 65 ename:VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, 66 ename:VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT or one of the 67 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 68endif::VK_EXT_opacity_micromap[] 69ifndef::VK_EXT_opacity_micromap[] 70 * [[VUID-{refpage}-{accessMaskName}-03908]] 71 If pname:{accessMaskName} includes ename:VK_ACCESS_2_SHADER_READ_BIT, 72 pname:{stageMaskName} must: include 73 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, 74 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, 75 ename:VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, or one 76 of the etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 77endif::VK_EXT_opacity_micromap[] 78 * [[VUID-{refpage}-{accessMaskName}-03909]] 79 If pname:{accessMaskName} includes ename:VK_ACCESS_2_SHADER_WRITE_BIT, 80 pname:{stageMaskName} must: include 81 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, 82 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the 83 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 84 * [[VUID-{refpage}-{accessMaskName}-03910]] 85 If pname:{accessMaskName} includes 86 ename:VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT, pname:{stageMaskName} must: 87 include ename:VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT 88 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 89 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 90 * [[VUID-{refpage}-{accessMaskName}-03911]] 91 If pname:{accessMaskName} includes 92 ename:VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT, pname:{stageMaskName} 93 must: include ename:VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT 94 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 95 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 96 * [[VUID-{refpage}-{accessMaskName}-03912]] 97 If pname:{accessMaskName} includes 98 ename:VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT, 99 pname:{stageMaskName} must: include 100 ename:VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT, 101 ename:VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT, 102 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 103 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 104 * [[VUID-{refpage}-{accessMaskName}-03913]] 105 If pname:{accessMaskName} includes 106 ename:VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, 107 pname:{stageMaskName} must: include 108 ename:VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT, 109 ename:VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT, 110 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 111 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 112 * [[VUID-{refpage}-{accessMaskName}-03914]] 113 If pname:{accessMaskName} includes ename:VK_ACCESS_2_TRANSFER_READ_BIT, 114 pname:{stageMaskName} must: include ename:VK_PIPELINE_STAGE_2_COPY_BIT, 115 ename:VK_PIPELINE_STAGE_2_BLIT_BIT, 116 ename:VK_PIPELINE_STAGE_2_RESOLVE_BIT, 117 ename:VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT, 118 ename:VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, or 119 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 120 * [[VUID-{refpage}-{accessMaskName}-03915]] 121 If pname:{accessMaskName} includes ename:VK_ACCESS_2_TRANSFER_WRITE_BIT, 122 pname:{stageMaskName} must: include ename:VK_PIPELINE_STAGE_2_COPY_BIT, 123 ename:VK_PIPELINE_STAGE_2_BLIT_BIT, 124 ename:VK_PIPELINE_STAGE_2_RESOLVE_BIT, 125 ename:VK_PIPELINE_STAGE_2_CLEAR_BIT, 126 ename:VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT, 127 ename:VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, or 128 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 129 * [[VUID-{refpage}-{accessMaskName}-03916]] 130 If pname:{accessMaskName} includes ename:VK_ACCESS_2_HOST_READ_BIT, 131 pname:{stageMaskName} must: include ename:VK_PIPELINE_STAGE_2_HOST_BIT 132 * [[VUID-{refpage}-{accessMaskName}-03917]] 133 If pname:{accessMaskName} includes ename:VK_ACCESS_2_HOST_WRITE_BIT, 134 pname:{stageMaskName} must: include ename:VK_PIPELINE_STAGE_2_HOST_BIT 135ifdef::VK_EXT_conditional_rendering[] 136 * [[VUID-{refpage}-{accessMaskName}-03918]] 137 If pname:{accessMaskName} includes 138 ename:VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT, 139 pname:{stageMaskName} must: include 140 ename:VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT, 141 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 142 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 143endif::VK_EXT_conditional_rendering[] 144ifdef::VK_EXT_fragment_density_map[] 145 * [[VUID-{refpage}-{accessMaskName}-03919]] 146 If pname:{accessMaskName} includes 147 ename:VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT, 148 pname:{stageMaskName} must: include 149 ename:VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT, 150 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 151 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 152endif::VK_EXT_fragment_density_map[] 153ifdef::VK_EXT_transform_feedback[] 154 * [[VUID-{refpage}-{accessMaskName}-03920]] 155 If pname:{accessMaskName} includes 156 ename:VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT, 157 pname:{stageMaskName} must: include 158 ename:VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, 159 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 160 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 161 * [[VUID-{refpage}-{accessMaskName}-04747]] 162 If pname:{accessMaskName} includes 163 ename:VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT, 164 pname:{stageMaskName} must: include 165 ename:VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT, 166 ename:VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, 167 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 168 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 169 * [[VUID-{refpage}-{accessMaskName}-03922]] 170 If pname:{accessMaskName} includes 171 ename:VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT, 172 pname:{stageMaskName} must: include 173 ename:VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, 174 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 175 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 176endif::VK_EXT_transform_feedback[] 177ifdef::VK_NV_shading_rate_image[] 178 * [[VUID-{refpage}-{accessMaskName}-03923]] 179 If pname:{accessMaskName} includes 180 ename:VK_ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NV, pname:{stageMaskName} 181 must: include ename:VK_PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV, 182 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 183 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 184endif::VK_NV_shading_rate_image[] 185ifdef::VK_HUAWEI_invocation_mask[] 186 * [[VUID-{refpage}-{accessMaskName}-04994]] 187 If pname:{accessMaskName} includes 188 ename:VK_ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI, pname:{stageMaskName} 189 must: include ename:VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI 190endif::VK_HUAWEI_invocation_mask[] 191ifdef::VK_NV_device_generated_commands[] 192 * [[VUID-{refpage}-{accessMaskName}-03924]] 193 If pname:{accessMaskName} includes 194 ename:VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV, pname:{stageMaskName} 195 must: include ename:VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV or 196 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 197 * [[VUID-{refpage}-{accessMaskName}-03925]] 198 If pname:{accessMaskName} includes 199 ename:VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV, pname:{stageMaskName} 200 must: include ename:VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV or 201 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 202endif::VK_NV_device_generated_commands[] 203ifdef::VK_EXT_blend_operation_advanced[] 204 * [[VUID-{refpage}-{accessMaskName}-03926]] 205 If pname:{accessMaskName} includes 206 ename:VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT, 207 pname:{stageMaskName} must: include 208 ename:VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT 209 ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, or 210 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 211endif::VK_EXT_blend_operation_advanced[] 212ifdef::VK_KHR_acceleration_structure,VK_NV_ray_tracing[] 213 * [[VUID-{refpage}-{accessMaskName}-03927]] 214 If pname:{accessMaskName} includes 215 ename:VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, 216 pname:{stageMaskName} must: include 217 ename:VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, 218 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of the 219 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 220 * [[VUID-{refpage}-{accessMaskName}-03928]] 221 If pname:{accessMaskName} includes 222 ename:VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR, 223 pname:{stageMaskName} must: include 224 ename:VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR or 225 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT 226ifndef::VK_KHR_ray_query[] 227ifdef::VK_KHR_ray_tracing_pipeline,VK_NV_ray_tracing[] 228 * [[VUID-{refpage}-{accessMaskName}-06254]] 229 If pname:{accessMaskName} includes 230 ename:VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, 231 pname:{stageMaskName} must: not include any of the 232 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages except 233 ename:VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR 234endif::VK_KHR_ray_tracing_pipeline,VK_NV_ray_tracing[] 235ifndef::VK_KHR_ray_tracing_pipeline,VK_NV_ray_tracing[] 236 * [[VUID-{refpage}-{accessMaskName}-06255]] 237 If pname:{accessMaskName} includes 238 ename:VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, 239 pname:{stageMaskName} must: not include any of the 240 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 241endif::VK_KHR_ray_tracing_pipeline,VK_NV_ray_tracing[] 242endif::VK_KHR_ray_query[] 243ifdef::VK_KHR_ray_query[] 244ifdef::VK_KHR_ray_tracing_pipeline,VK_NV_ray_tracing[] 245 * [[VUID-{refpage}-{accessMaskName}-06256]] 246 If the <<features-rayQuery, pname:rayQuery>> feature is not enabled and 247 pname:{accessMaskName} includes 248 ename:VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, 249 pname:{stageMaskName} must: not include any of the 250 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages except 251 ename:VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR 252endif::VK_KHR_ray_tracing_pipeline,VK_NV_ray_tracing[] 253ifndef::VK_KHR_ray_tracing_pipeline,VK_NV_ray_tracing[] 254 * [[VUID-{refpage}-{accessMaskName}-06257]] 255 If the <<features-rayQuery, pname:rayQuery>> feature is not enabled and 256 pname:{accessMaskName} includes 257 ename:VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, 258 pname:{stageMaskName} must: not include any of the 259 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 260endif::VK_KHR_ray_tracing_pipeline,VK_NV_ray_tracing[] 261endif::VK_KHR_ray_query[] 262ifdef::VK_KHR_ray_tracing_maintenance1[] 263 * [[VUID-{refpage}-{accessMaskName}-07272]] 264 If pname:{accessMaskName} includes 265 ename:VK_ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR, 266 pname:{stageMaskName} must: include 267 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT or 268 ename:VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR 269endif::VK_KHR_ray_tracing_maintenance1[] 270endif::VK_KHR_acceleration_structure,VK_NV_ray_tracing[] 271ifdef::VK_KHR_video_decode_queue[] 272 * [[VUID-{refpage}-{accessMaskName}-04858]] 273 If pname:{accessMaskName} includes 274 ename:VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR, pname:{stageMaskName} must: 275 include ename:VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR 276 * [[VUID-{refpage}-{accessMaskName}-04859]] 277 If pname:{accessMaskName} includes 278 ename:VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR, pname:{stageMaskName} 279 must: include ename:VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR 280endif::VK_KHR_video_decode_queue[] 281ifdef::VK_KHR_video_encode_queue[] 282 * [[VUID-{refpage}-{accessMaskName}-04860]] 283 If pname:{accessMaskName} includes 284 ename:VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR, pname:{stageMaskName} must: 285 include ename:VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR 286 * [[VUID-{refpage}-{accessMaskName}-04861]] 287 If pname:{accessMaskName} includes 288 ename:VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR, pname:{stageMaskName} 289 must: include ename:VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR 290endif::VK_KHR_video_encode_queue[] 291ifdef::VK_NV_optical_flow[] 292 * [[VUID-{refpage}-{accessMaskName}-07455]] 293 If pname:{accessMaskName} includes 294 ename:VK_ACCESS_2_OPTICAL_FLOW_READ_BIT_NV, pname:{stageMaskName} must: 295 include ename:VK_PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV 296 * [[VUID-{refpage}-{accessMaskName}-07456]] 297 If pname:{accessMaskName} includes 298 ename:VK_ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV, pname:{stageMaskName} must: 299 include ename:VK_PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV 300endif::VK_NV_optical_flow[] 301ifdef::VK_EXT_opacity_micromap[] 302 * [[VUID-{refpage}-{accessMaskName}-07457]] 303 If pname:{accessMaskName} includes 304 ename:VK_ACCESS_2_MICROMAP_WRITE_BIT_EXT, pname:{stageMaskName} must: 305 include ename:VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT 306 * [[VUID-{refpage}-{accessMaskName}-07458]] 307 If pname:{accessMaskName} includes 308 ename:VK_ACCESS_2_MICROMAP_READ_BIT_EXT, pname:{stageMaskName} must: 309 include ename:VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT or 310 ename:VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR 311endif::VK_EXT_opacity_micromap[] 312ifdef::VK_EXT_descriptor_buffer[] 313 * [[VUID-{refpage}-{accessMaskName}-08118]] 314 If pname:{accessMaskName} includes 315 ename:VK_ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT, pname:{stageMaskName} 316 must: include ename:VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT, 317 ename:VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, or one of 318 etext:VK_PIPELINE_STAGE_*_SHADER_BIT stages 319endif::VK_EXT_descriptor_buffer[] 320// Common Valid Usage 321