1// Copyright 2019-2023 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5// Common Valid Usage 6// Common to drawing commands for mesh shading 7ifdef::VK_NV_mesh_shader,VK_EXT_mesh_shader[] 8 * [[VUID-{refpage}-stage-06480]] 9 The bound graphics pipeline must: not have been created with the 10 slink:VkPipelineShaderStageCreateInfo::pname:stage member of an element 11 of slink:VkGraphicsPipelineCreateInfo::pname:pStages set to 12 ename:VK_SHADER_STAGE_VERTEX_BIT, 13 ename:VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, 14 ename:VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT or 15 ename:VK_SHADER_STAGE_GEOMETRY_BIT 16ifdef::VK_EXT_transform_feedback[] 17 * [[VUID-{refpage}-None-07074]] 18 <<queries-transform-feedback, Transform Feedback Queries>> must: not be 19 active 20endif::VK_EXT_transform_feedback[] 21ifdef::VK_EXT_primitives_generated_query[] 22 * [[VUID-{refpage}-None-07075]] 23 <<queries-primitives-generated, Primitives Generated Queries>> must: not 24 be active 25endif::VK_EXT_primitives_generated_query[] 26 * [[VUID-{refpage}-pipelineStatistics-07076]] 27 The pname:pipelineStatistics member used to create any active 28 <<queries-pipestats, Pipeline Statistics Query>> must: not contain 29 ename:VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT, 30 ename:VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT, 31 ename:VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT, 32 ename:VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT, 33 ename:VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT, 34 ename:VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT, 35 ename:VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT, 36 ename:VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, 37 or 38 ename:VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT 39endif::VK_NV_mesh_shader,VK_EXT_mesh_shader[] 40// Common Valid Usage 41