// Copyright 2019-2024 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

// Common Valid Usage
// Common to drawing commands for mesh shading
ifdef::VK_NV_mesh_shader,VK_EXT_mesh_shader[]
  * [[VUID-{refpage}-stage-06480]]
    The bound graphics pipeline must: not have been created with the
    slink:VkPipelineShaderStageCreateInfo::pname:stage member of an element
    of slink:VkGraphicsPipelineCreateInfo::pname:pStages set to
    ename:VK_SHADER_STAGE_VERTEX_BIT,
    ename:VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,
    ename:VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT or
    ename:VK_SHADER_STAGE_GEOMETRY_BIT
ifdef::VK_EXT_transform_feedback[]
  * [[VUID-{refpage}-None-07074]]
    <<queries-transform-feedback, Transform Feedback Queries>> must: not be
    active
endif::VK_EXT_transform_feedback[]
ifdef::VK_EXT_primitives_generated_query[]
  * [[VUID-{refpage}-None-07075]]
    <<queries-primitives-generated, Primitives Generated Queries>> must: not
    be active
endif::VK_EXT_primitives_generated_query[]
  * [[VUID-{refpage}-pipelineStatistics-07076]]
    The pname:pipelineStatistics member used to create any active
    <<queries-pipestats, Pipeline Statistics Query>> must: not contain
    ename:VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,
    ename:VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,
    ename:VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,
    ename:VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,
    ename:VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,
    ename:VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,
    ename:VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,
    ename:VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT,
    or
    ename:VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
endif::VK_NV_mesh_shader,VK_EXT_mesh_shader[]
// Common Valid Usage
