22. Drawing Commands
Drawing commands (commands with Draw in the name) provoke work in a
graphics pipeline.
Drawing commands are recorded into a command buffer and when executed by a
queue, will produce work which executes according to the bound graphics
pipeline, or if the shaderObject feature is
enabled, any shader objects bound to graphics stages.
A graphics pipeline
or a combination of one or more graphics shader objects
must be bound to a command buffer before any drawing commands are recorded
in that command buffer.
Drawing can be achieved in two modes:
- 
Programmable Mesh Shading, the mesh shader assembles primitives, or 
- 
Programmable Primitive Shading, the input primitives are assembled as follows. 
Each draw is made up of zero or more vertices and zero or more instances,
which are processed by the device and result in the assembly of primitives.
Primitives are assembled according to the pInputAssemblyState member
of the VkGraphicsPipelineCreateInfo structure, which is of type
VkPipelineInputAssemblyStateCreateInfo:
// Provided by VK_VERSION_1_0
typedef struct VkPipelineInputAssemblyStateCreateInfo {
    VkStructureType                            sType;
    const void*                                pNext;
    VkPipelineInputAssemblyStateCreateFlags    flags;
    VkPrimitiveTopology                        topology;
    VkBool32                                   primitiveRestartEnable;
} VkPipelineInputAssemblyStateCreateInfo;- 
sTypeis a VkStructureType value identifying this structure.
- 
pNextisNULLor a pointer to a structure extending this structure.
- 
flagsis reserved for future use.
- 
topologyis a VkPrimitiveTopology defining the primitive topology, as described below.
- 
primitiveRestartEnablecontrols whether a special vertex index value is treated as restarting the assembly of primitives. This enable only applies to indexed draws (vkCmdDrawIndexed, vkCmdDrawMultiIndexedEXT, and vkCmdDrawIndexedIndirect), and the special index value is either 0xFFFFFFFF when theindexTypeparameter of Vulkan 1.4 orvkCmdBindIndexBuffer2orvkCmdBindIndexBufferis equal toVK_INDEX_TYPE_UINT32; 0xFF whenindexTypeis equal toVK_INDEX_TYPE_UINT8; or 0xFFFF whenindexTypeis equal toVK_INDEX_TYPE_UINT16. Primitive restart is not allowed for “list” topologies, unless one of the featuresprimitiveTopologyPatchListRestart(forVK_PRIMITIVE_TOPOLOGY_PATCH_LIST) orprimitiveTopologyListRestart(for all other list topologies) is enabled.
Restarting the assembly of primitives discards the most recent index values
if those elements formed an incomplete primitive, and restarts the primitive
assembly using the subsequent indices, but only assembling the immediately
following element through the end of the originally specified elements.
The primitive restart index value comparison is performed before adding the
vertexOffset value to the index value.
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-topology-06252 
 If theprimitiveTopologyListRestartfeature is not enabled, andtopologyisVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY,primitiveRestartEnablemust beVK_FALSE
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-topology-06253 
 If theprimitiveTopologyPatchListRestartfeature is not enabled, andtopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST,primitiveRestartEnablemust beVK_FALSE
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-topology-00429 
 If thegeometryShaderfeature is not enabled,topologymust not be any ofVK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY,VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCYorVK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-topology-00430 
 If thetessellationShaderfeature is not enabled,topologymust not beVK_PRIMITIVE_TOPOLOGY_PATCH_LIST
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-triangleFans-04452 
 If theVK_KHR_portability_subsetextension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::triangleFansisVK_FALSE,topologymust not beVK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-sType-sType 
 sTypemust beVK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-pNext-pNext 
 pNextmust beNULL
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-flags-zerobitmask 
 flagsmust be0
- 
VUID-VkPipelineInputAssemblyStateCreateInfo-topology-parameter 
 topologymust be a valid VkPrimitiveTopology value
// Provided by VK_VERSION_1_0
typedef VkFlags VkPipelineInputAssemblyStateCreateFlags;VkPipelineInputAssemblyStateCreateFlags is a bitmask type for setting
a mask, but is currently reserved for future use.
To dynamically control whether a special vertex index value is treated as restarting the assembly of primitives, call:
// Provided by VK_VERSION_1_3
void vkCmdSetPrimitiveRestartEnable(
    VkCommandBuffer                             commandBuffer,
    VkBool32                                    primitiveRestartEnable);or the equivalent command
// Provided by VK_EXT_extended_dynamic_state2, VK_EXT_shader_object
void vkCmdSetPrimitiveRestartEnableEXT(
    VkCommandBuffer                             commandBuffer,
    VkBool32                                    primitiveRestartEnable);- 
commandBufferis the command buffer into which the command will be recorded.
- 
primitiveRestartEnablecontrols whether a special vertex index value is treated as restarting the assembly of primitives. It behaves in the same way asVkPipelineInputAssemblyStateCreateInfo::primitiveRestartEnable
This command sets the primitive restart enable for subsequent drawing
commands
when drawing using shader objects, or
when the graphics pipeline is created with
VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE set in
VkPipelineDynamicStateCreateInfo::pDynamicStates.
Otherwise, this state is specified by the
VkPipelineInputAssemblyStateCreateInfo::primitiveRestartEnable
value used to create the currently active pipeline.
- 
VUID-vkCmdSetPrimitiveRestartEnable-None-08970 
 At least one of the following must be true:- 
the extendedDynamicState2feature is enabled
- 
the shaderObjectfeature is enabled
- 
the value of VkApplicationInfo:: apiVersionused to create the VkInstance parent ofcommandBufferis greater than or equal to Version 1.3
 
- 
- 
VUID-vkCmdSetPrimitiveRestartEnable-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdSetPrimitiveRestartEnable-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdSetPrimitiveRestartEnable-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdSetPrimitiveRestartEnable-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Both | Outside | Graphics | State | 
22.1. Primitive Topologies
Primitive topology determines how consecutive vertices are organized into primitives, and determines the type of primitive that is used at the beginning of the graphics pipeline. The effective topology for later stages of the pipeline is altered by tessellation or geometry shading (if either is in use) and depends on the execution modes of those shaders. In the case of mesh shading the only effective topology is defined by the execution mode of the mesh shader.
The primitive topologies defined by VkPrimitiveTopology are:
// Provided by VK_VERSION_1_0
typedef enum VkPrimitiveTopology {
    VK_PRIMITIVE_TOPOLOGY_POINT_LIST = 0,
    VK_PRIMITIVE_TOPOLOGY_LINE_LIST = 1,
    VK_PRIMITIVE_TOPOLOGY_LINE_STRIP = 2,
    VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST = 3,
    VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP = 4,
    VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN = 5,
    VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY = 6,
    VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY = 7,
    VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY = 8,
    VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY = 9,
    VK_PRIMITIVE_TOPOLOGY_PATCH_LIST = 10,
} VkPrimitiveTopology;- 
VK_PRIMITIVE_TOPOLOGY_POINT_LISTspecifies a series of separate point primitives.
- 
VK_PRIMITIVE_TOPOLOGY_LINE_LISTspecifies a series of separate line primitives.
- 
VK_PRIMITIVE_TOPOLOGY_LINE_STRIPspecifies a series of connected line primitives with consecutive lines sharing a vertex.
- 
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LISTspecifies a series of separate triangle primitives.
- 
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIPspecifies a series of connected triangle primitives with consecutive triangles sharing an edge.
- 
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FANspecifies a series of connected triangle primitives with all triangles sharing a common vertex. If theVK_KHR_portability_subsetextension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::triangleFansisVK_FALSE, then triangle fans are not supported by the implementation, andVK_PRIMITIVE_TOPOLOGY_TRIANGLE_FANmust not be used.
- 
VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCYspecifies a series of separate line primitives with adjacency.
- 
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCYspecifies a series of connected line primitives with adjacency, with consecutive primitives sharing three vertices.
- 
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCYspecifies a series of separate triangle primitives with adjacency.
- 
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCYspecifies connected triangle primitives with adjacency, with consecutive triangles sharing an edge.
- 
VK_PRIMITIVE_TOPOLOGY_PATCH_LISTspecifies separate patch primitives.
Each primitive topology, and its construction from a list of vertices, is described in detail below with a supporting diagram, according to the following key:
| Vertex | A point in 3-dimensional space. Positions chosen within the diagrams are arbitrary and for illustration only. | |
| Vertex Number | Sequence position of a vertex within the provided vertex data. | |
| Provoking Vertex | Provoking vertex within the main primitive. The tail is angled towards the relevant primitive. Used in flat shading. | |
| Primitive Edge | An edge connecting the points of a main primitive. | |
| Adjacency Edge | Points connected by these lines do not contribute to a main primitive, and are only accessible in a geometry shader. | |
| Winding Order | The relative order in which vertices are defined within a primitive, used in the facing determination. This ordering has no specific start or end point. | 
The diagrams are supported with mathematical definitions where the vertices (v) and primitives (p) are numbered starting from 0; v0 is the first vertex in the provided data and p0 is the first primitive in the set of primitives defined by the vertices and topology.
To dynamically set primitive topology, call:
// Provided by VK_VERSION_1_3
void vkCmdSetPrimitiveTopology(
    VkCommandBuffer                             commandBuffer,
    VkPrimitiveTopology                         primitiveTopology);or the equivalent command
// Provided by VK_EXT_extended_dynamic_state, VK_EXT_shader_object
void vkCmdSetPrimitiveTopologyEXT(
    VkCommandBuffer                             commandBuffer,
    VkPrimitiveTopology                         primitiveTopology);- 
commandBufferis the command buffer into which the command will be recorded.
- 
primitiveTopologyspecifies the primitive topology to use for drawing.
This command sets the primitive topology for subsequent drawing commands
when drawing using shader objects, or
when the graphics pipeline is created with
VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY set in
VkPipelineDynamicStateCreateInfo::pDynamicStates.
Otherwise, this state is specified by the
VkPipelineInputAssemblyStateCreateInfo::topology value used to
create the currently active pipeline.
- 
VUID-vkCmdSetPrimitiveTopology-None-08971 
 At least one of the following must be true:- 
the extendedDynamicStatefeature is enabled
- 
the shaderObjectfeature is enabled
- 
the value of VkApplicationInfo:: apiVersionused to create the VkInstance parent ofcommandBufferis greater than or equal to Version 1.3
 
- 
- 
VUID-vkCmdSetPrimitiveTopology-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdSetPrimitiveTopology-primitiveTopology-parameter 
 primitiveTopologymust be a valid VkPrimitiveTopology value
- 
VUID-vkCmdSetPrimitiveTopology-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdSetPrimitiveTopology-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdSetPrimitiveTopology-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Both | Outside | Graphics | State | 
22.1.1. Topology Class
The primitive topologies are grouped into the following topology classes:
| Topology Class | Primitive Topology | 
|---|---|
| Point | 
 | 
| Line | 
 | 
| Triangle | 
 | 
| Patch | 
 | 
22.1.2. Point Lists
When the topology is VK_PRIMITIVE_TOPOLOGY_POINT_LIST, each
consecutive vertex defines a single point primitive, according to the
equation:
- 
pi = {vi} 
As there is only one vertex, that vertex is the provoking vertex.
The number of primitives generated is equal to vertexCount.
22.1.3. Line Lists
When the primitive topology is VK_PRIMITIVE_TOPOLOGY_LINE_LIST, each
consecutive pair of vertices defines a single line primitive, according to
the equation:
- 
pi = {v2i, v2i+1} 
The number of primitives generated is equal to
⌊vertexCount/2⌋.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is v2i.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is v2i+1.
22.1.4. Line Strips
When the primitive topology is VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, one
line primitive is defined by each vertex and the following vertex, according
to the equation:
- 
pi = {vi, vi+1} 
The number of primitives generated is equal to
max(0,vertexCount-1).
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is vi.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is vi+1.
22.1.5. Triangle Lists
When the primitive topology is VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,
each consecutive set of three vertices defines a single triangle primitive,
according to the equation:
- 
pi = {v3i, v3i+1, v3i+2} 
The number of primitives generated is equal to
⌊vertexCount/3⌋.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is v3i.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is v3i+2.
22.1.6. Triangle Strips
When the primitive topology is VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP,
one triangle primitive is defined by each vertex and the two vertices that
follow it, according to the equation:
- 
pi = {vi, vi+(1+i%2), vi+(2-i%2)} 
The number of primitives generated is equal to
max(0,vertexCount-2).
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is vi.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is vi+2.
| Note | The ordering of the vertices in each successive triangle is reversed, so that the winding order is consistent throughout the strip. | 
22.1.7. Triangle Fans
When the primitive topology is VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN,
triangle primitives are defined around a shared common vertex, according to
the equation:
- 
pi = {vi+1, vi+2, v0} 
The number of primitives generated is equal to
max(0,vertexCount-2).
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is vi+1.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is vi+2.
| Note | If the  | 
22.1.8. Line Lists With Adjacency
When the primitive topology is
VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, each consecutive set
of four vertices defines a single line primitive with adjacency, according
to the equation:
- 
pi = {v4i, v4i+1, v4i+2,v4i+3} 
A line primitive is described by the second and third vertices of the total primitive, with the remaining two vertices only accessible in a geometry shader.
The number of primitives generated is equal to
⌊vertexCount/4⌋.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is v4i+1.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is v4i+2.
22.1.9. Line Strips With Adjacency
When the primitive topology is
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, one line primitive
with adjacency is defined by each vertex and the following vertex, according
to the equation:
- 
pi = {vi, vi+1, vi+2, vi+3} 
A line primitive is described by the second and third vertices of the total primitive, with the remaining two vertices only accessible in a geometry shader.
The number of primitives generated is equal to
max(0,vertexCount-3).
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is vi+1.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is vi+2.
22.1.10. Triangle Lists With Adjacency
When the primitive topology is
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, each consecutive
set of six vertices defines a single triangle primitive with adjacency,
according to the equations:
- 
pi = {v6i, v6i+1, v6i+2, v6i+3, v6i+4, v6i+5} 
A triangle primitive is described by the first, third, and fifth vertices of the total primitive, with the remaining three vertices only accessible in a geometry shader.
The number of primitives generated is equal to
⌊vertexCount/6⌋.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is v6i.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is v6i+4.
22.1.11. Triangle Strips With Adjacency
When the primitive topology is
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, one triangle
primitive with adjacency is defined by each vertex and the following 5
vertices.
The number of primitives generated, n, is equal to ⌊max(0,
vertexCount - 4)/2⌋.
If n=1, the primitive is defined as:
- 
p = {v0, v1, v2, v5, v4, v3} 
If n>1, the total primitive consists of different vertices according to where it is in the strip:
- 
pi = {v2i, v2i+1, v2i+2, v2i+6, v2i+4, v2i+3} when i=0 
- 
pi = {v2i, v2i+3, v2i+4, v2i+6, v2i+2, v2i-2} when i>0, i<n-1, and i%2=1 
- 
pi = {v2i, v2i-2, v2i+2, v2i+6, v2i+4, v2i+3} when i>0, i<n-1, and i%2=0 
- 
pi = {v2i, v2i+3, v2i+4, v2i+5, v2i+2, v2i-2} when i=n-1 and i%2=1 
- 
pi = {v2i, v2i-2, v2i+2, v2i+5, v2i+4, v2i+3} when i=n-1 and i%2=0 
A triangle primitive is described by the first, third, and fifth vertices of the total primitive in all cases, with the remaining three vertices only accessible in a geometry shader.
| Note | The ordering of the vertices in each successive triangle is altered so that the winding order is consistent throughout the strip. | 
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, the
provoking vertex for pi is always v2i.
When the provokingVertexMode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT, the provoking vertex for
pi is always v2i+4.
22.1.12. Patch Lists
When the primitive topology is VK_PRIMITIVE_TOPOLOGY_PATCH_LIST, each
consecutive set of m vertices defines a single patch primitive,
according to the equation:
- 
pi = {vmi, vmi+1, …, vmi+(m-2), vmi+(m-1)} 
where m is equal to
VkPipelineTessellationStateCreateInfo::patchControlPoints.
Patch lists are never passed to vertex post-processing,
and as such no provoking vertex is defined for patch primitives.
The number of primitives generated is equal to
⌊vertexCount/m⌋.
The vertices comprising a patch have no implied geometry, and are used as inputs to tessellation shaders and the fixed-function tessellator to generate new point, line, or triangle primitives.
22.2. Effective Primitive Topology
The effective primitive topology is the primitive topology that is consumed or produced by a given stage of the graphics pipeline. The interpretation of this topology depends on the active shader stages and other state set in the graphics pipeline.
22.2.1. Vertex Input Assembler Topology
This is the topology set when the VK_SHADER_STAGE_VERTEX_BIT stage is
used and Programmable Primitive Shading
occurs.
It can be set with
VkPipelineInputAssemblyStateCreateInfo::topology
or vkCmdSetPrimitiveTopology.
22.2.2. Clip Space Topology
This is the output of the last pre-rasterization shader stage involved.
- 
If VK_SHADER_STAGE_VERTEX_BITis the last pre-rasterization stage, the topology is not changed from what was set in the input assembly.
- 
If VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITis the last pre-rasterization stage, the topology depends on theOpExecutionModefound in either tessellation stage.- 
The IsolinesExecutionModeis in line topology class.
- 
The TrianglesandQuadsExecutionModeis in triangle topology class.
- 
The PointModeExecutionModeis in point topology class and will take precedence over the other tessellation stageExecutionMode.
 
- 
- 
If VK_SHADER_STAGE_GEOMETRY_BITis the last pre-rasterization stage, the topology depends on theOpExecutionModefound in this shader stage.- 
The OutputPointsExecutionModeis in point topology class.
- 
The OutputLineStripExecutionModeis in line topology class.
- 
The OutputTriangleStripExecutionModeis in triangle topology class.
 
- 
- 
If VK_SHADER_STAGE_MESH_BIT_EXTis the last pre-rasterization stage, the topology depends on theOpExecutionModefound in this shader stage.- 
The OutputPointsExecutionModeis in point topology class.
- 
The OutputLinesEXTExecutionModeis in line topology class.
- 
The OutputTrianglesEXTExecutionModeis in triangle topology class.
 
- 
22.2.3. Rasterization Input Topology
After clipping and viewport transformations, the Polygon Mode can set a topology as an input for rasterization. This can be different from what was used in Clip Space Topology.
If
VkPipelineRasterizationStateCreateInfo::rasterizerDiscardEnable
or vkCmdSetRasterizerDiscardEnableEXT::rasterizerDiscardEnable
is set to VK_FALSE, then this Rasterization Input Topology is not
observed.
If the clip space topology is in triangle
topology class then
VK_POLYGON_MODE_LINE will turn it into line topology and
VK_POLYGON_MODE_POINT will turn it into point topology.
If the clip space topology is in line
topology class then
VK_POLYGON_MODE_POINT will turn it into point topology.
22.3. Primitive Order
Primitives generated by drawing commands progress through the stages of the graphics pipeline in primitive order. Primitive order is initially determined in the following way:
- 
Submission order determines the initial ordering 
- 
For indirect drawing commands, the order in which accessed instances of the VkDrawIndirectCommand are stored in buffer, from lower indirect buffer addresses to higher addresses.
- 
If a drawing command includes multiple instances, the order in which instances are executed, from lower numbered instances to higher. 
- 
The order in which primitives are specified by a drawing command: - 
For non-indexed draws, from vertices with a lower numbered vertexIndexto a higher numberedvertexIndex.
- 
For indexed draws, vertices sourced from a lower index buffer addresses to higher addresses. 
- 
For draws using mesh shaders, the order is provided by mesh shading. 
- 
For draws using cluster culling shaders, the order is provided by cluster culling shading. 
 
- 
Within this order implementations further sort primitives:
- 
If tessellation shading is active, by an implementation-dependent order of new primitives generated by tessellation. 
- 
If geometry shading is active, by the order new primitives are generated by geometry shading. 
- 
If the polygon mode is not VK_POLYGON_MODE_FILL, orVK_POLYGON_MODE_FILL_RECTANGLE_NV, by an implementation-dependent ordering of the new primitives generated within the original primitive.
Primitive order is later used to define rasterization order, which determines the order in which fragments output results to a framebuffer.
22.4. Programmable Primitive Shading
Once primitives are assembled, they proceed to the vertex shading stage of the pipeline. If the draw includes multiple instances, then the set of primitives is sent to the vertex shading stage multiple times, once for each instance.
It is implementation-dependent whether vertex shading occurs on vertices that are discarded as part of incomplete primitives, but if it does occur then it operates as if they were vertices in complete primitives and such invocations can have side effects.
Vertex shading receives two per-vertex inputs from the primitive assembly
stage - the vertexIndex and the instanceIndex.
How these values are generated is defined below, with each command.
Drawing commands fall roughly into two categories:
- 
Non-indexed drawing commands present a sequential vertexIndexto the vertex shader. The sequential index is generated automatically by the device (see Fixed-Function Vertex Processing for details on both specifying the vertex attributes indexed byvertexIndex, as well as binding vertex buffers containing those attributes to a command buffer). These commands are:
- 
Indexed drawing commands read index values from an index buffer and use this to compute the vertexIndexvalue for the vertex shader. These commands are:
To bind an index buffer to a command buffer, call:
// Provided by VK_VERSION_1_0
void vkCmdBindIndexBuffer(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkIndexType                                 indexType);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer being bound.
- 
offsetis the starting offset in bytes withinbufferused in index buffer address calculations.
- 
indexTypeis a VkIndexType value specifying the size of the indices.
If the maintenance6 feature is enabled,
buffer can be VK_NULL_HANDLE.
If buffer is VK_NULL_HANDLE and the nullDescriptor feature is enabled, every index fetched results in a
value of zero.
- 
VUID-vkCmdBindIndexBuffer-offset-08782 
 offsetmust be less than the size ofbuffer
- 
VUID-vkCmdBindIndexBuffer-offset-08783 
 The sum ofoffsetand the base address of the range ofVkDeviceMemoryobject that is backingbuffer, must be a multiple of the size of the type indicated byindexType
- 
VUID-vkCmdBindIndexBuffer-buffer-08784 
 buffermust have been created with theVK_BUFFER_USAGE_INDEX_BUFFER_BITflag
- 
VUID-vkCmdBindIndexBuffer-buffer-08785 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdBindIndexBuffer-indexType-08786 
 indexTypemust not beVK_INDEX_TYPE_NONE_KHR
- 
VUID-vkCmdBindIndexBuffer-indexType-08787 
 IfindexTypeisVK_INDEX_TYPE_UINT8, theindexTypeUint8feature must be enabled
- 
VUID-vkCmdBindIndexBuffer-None-09493 
 If themaintenance6feature is not enabled,buffermust not be VK_NULL_HANDLE
- 
VUID-vkCmdBindIndexBuffer-buffer-09494 
 Ifbufferis VK_NULL_HANDLE, offset must be zero
- 
VUID-vkCmdBindIndexBuffer-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdBindIndexBuffer-buffer-parameter 
 Ifbufferis not VK_NULL_HANDLE,buffermust be a valid VkBuffer handle
- 
VUID-vkCmdBindIndexBuffer-indexType-parameter 
 indexTypemust be a valid VkIndexType value
- 
VUID-vkCmdBindIndexBuffer-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdBindIndexBuffer-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdBindIndexBuffer-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdBindIndexBuffer-commonparent 
 Both ofbuffer, andcommandBufferthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Both | Outside | Graphics | State | 
To bind an index buffer, along with its size, to a command buffer, call:
// Provided by VK_VERSION_1_4
void vkCmdBindIndexBuffer2(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkDeviceSize                                size,
    VkIndexType                                 indexType);or the equivalent command
// Provided by VK_KHR_maintenance5
void vkCmdBindIndexBuffer2KHR(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkDeviceSize                                size,
    VkIndexType                                 indexType);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer being bound.
- 
offsetis the starting offset in bytes withinbufferused in index buffer address calculations.
- 
sizeis the size in bytes of index data bound frombuffer.
- 
indexTypeis a VkIndexType value specifying the size of the indices.
size specifies the bound size of the index buffer starting from
offset.
If size is VK_WHOLE_SIZE then the bound size is from
offset to the end of the buffer.
If the maintenance6 feature is enabled,
buffer can be VK_NULL_HANDLE.
If buffer is VK_NULL_HANDLE and the nullDescriptor feature is enabled, every index fetched results in a
value of zero.
- 
VUID-vkCmdBindIndexBuffer2-offset-08782 
 offsetmust be less than the size ofbuffer
- 
VUID-vkCmdBindIndexBuffer2-offset-08783 
 The sum ofoffsetand the base address of the range ofVkDeviceMemoryobject that is backingbuffer, must be a multiple of the size of the type indicated byindexType
- 
VUID-vkCmdBindIndexBuffer2-buffer-08784 
 buffermust have been created with theVK_BUFFER_USAGE_INDEX_BUFFER_BITflag
- 
VUID-vkCmdBindIndexBuffer2-buffer-08785 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdBindIndexBuffer2-indexType-08786 
 indexTypemust not beVK_INDEX_TYPE_NONE_KHR
- 
VUID-vkCmdBindIndexBuffer2-indexType-08787 
 IfindexTypeisVK_INDEX_TYPE_UINT8, theindexTypeUint8feature must be enabled
- 
VUID-vkCmdBindIndexBuffer2-None-09493 
 If themaintenance6feature is not enabled,buffermust not be VK_NULL_HANDLE
- 
VUID-vkCmdBindIndexBuffer2-buffer-09494 
 Ifbufferis VK_NULL_HANDLE, offset must be zero
- 
VUID-vkCmdBindIndexBuffer2-size-08767 
 Ifsizeis notVK_WHOLE_SIZE,sizemust be a multiple of the size of the type indicated byindexType
- 
VUID-vkCmdBindIndexBuffer2-size-08768 
 Ifsizeis notVK_WHOLE_SIZE, the sum ofoffsetandsizemust be less than or equal to the size ofbuffer
- 
VUID-vkCmdBindIndexBuffer2-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdBindIndexBuffer2-buffer-parameter 
 Ifbufferis not VK_NULL_HANDLE,buffermust be a valid VkBuffer handle
- 
VUID-vkCmdBindIndexBuffer2-indexType-parameter 
 indexTypemust be a valid VkIndexType value
- 
VUID-vkCmdBindIndexBuffer2-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdBindIndexBuffer2-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdBindIndexBuffer2-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdBindIndexBuffer2-commonparent 
 Both ofbuffer, andcommandBufferthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Both | Outside | Graphics | State | 
Possible values of
vkCmdBindIndexBuffer2::indexType and
vkCmdBindIndexBuffer::indexType, specifying the size of indices,
are:
// Provided by VK_VERSION_1_0
typedef enum VkIndexType {
    VK_INDEX_TYPE_UINT16 = 0,
    VK_INDEX_TYPE_UINT32 = 1,
  // Provided by VK_VERSION_1_4
    VK_INDEX_TYPE_UINT8 = 1000265000,
  // Provided by VK_KHR_acceleration_structure
    VK_INDEX_TYPE_NONE_KHR = 1000165000,
  // Provided by VK_NV_ray_tracing
    VK_INDEX_TYPE_NONE_NV = VK_INDEX_TYPE_NONE_KHR,
  // Provided by VK_EXT_index_type_uint8
    VK_INDEX_TYPE_UINT8_EXT = VK_INDEX_TYPE_UINT8,
  // Provided by VK_KHR_index_type_uint8
    VK_INDEX_TYPE_UINT8_KHR = VK_INDEX_TYPE_UINT8,
} VkIndexType;- 
VK_INDEX_TYPE_UINT16specifies that indices are 16-bit unsigned integer values.
- 
VK_INDEX_TYPE_UINT32specifies that indices are 32-bit unsigned integer values.
- 
VK_INDEX_TYPE_NONE_KHRspecifies that no indices are provided.
- 
VK_INDEX_TYPE_UINT8specifies that indices are 8-bit unsigned integer values.
The parameters for each drawing command are specified directly in the command or read from buffer memory, depending on the command. Drawing commands that source their parameters from buffer memory are known as indirect drawing commands.
All drawing commands interact with the robustBufferAccess feature.
To record a non-indexed draw, call:
// Provided by VK_VERSION_1_0
void vkCmdDraw(
    VkCommandBuffer                             commandBuffer,
    uint32_t                                    vertexCount,
    uint32_t                                    instanceCount,
    uint32_t                                    firstVertex,
    uint32_t                                    firstInstance);- 
commandBufferis the command buffer into which the command is recorded.
- 
vertexCountis the number of vertices to draw.
- 
instanceCountis the number of instances to draw.
- 
firstVertexis the index of the first vertex to draw.
- 
firstInstanceis the instance ID of the first instance to draw.
When the command is executed, primitives are assembled using the current
primitive topology and vertexCount consecutive vertex indices with the
first vertexIndex value equal to firstVertex.
The primitives are drawn instanceCount times with instanceIndex
starting with firstInstance and increasing sequentially for each
instance.
The assembled primitives execute the bound graphics pipeline.
- 
VUID-vkCmdDraw-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDraw-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDraw-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDraw-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDraw-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDraw-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDraw-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDraw-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDraw-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDraw-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDraw-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDraw-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDraw-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDraw-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDraw-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDraw-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDraw-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDraw-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDraw-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDraw-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDraw-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDraw-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDraw-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDraw-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDraw-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDraw-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDraw-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDraw-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDraw-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDraw-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDraw-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDraw-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDraw-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDraw-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDraw-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDraw-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDraw-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDraw-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDraw-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDraw-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDraw-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDraw-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDraw-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDraw-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDraw-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDraw-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDraw-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDraw-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDraw-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDraw-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDraw-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDraw-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDraw-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDraw-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDraw-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDraw-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDraw-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDraw-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDraw-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDraw-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDraw-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDraw-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDraw-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDraw-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDraw-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDraw-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDraw-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDraw-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDraw-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDraw-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDraw-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDraw-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDraw-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDraw-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDraw-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDraw-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDraw-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDraw-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDraw-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDraw-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDraw-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDraw-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDraw-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDraw-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDraw-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDraw-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDraw-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDraw-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDraw-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDraw-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDraw-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDraw-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDraw-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDraw-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDraw-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDraw-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDraw-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDraw-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDraw-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDraw-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDraw-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDraw-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDraw-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDraw-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDraw-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDraw-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDraw-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDraw-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDraw-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDraw-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDraw-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDraw-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDraw-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDraw-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDraw-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDraw-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDraw-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDraw-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDraw-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDraw-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDraw-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDraw-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDraw-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDraw-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDraw-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDraw-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDraw-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDraw-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDraw-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDraw-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDraw-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDraw-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDraw-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDraw-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDraw-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDraw-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDraw-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDraw-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDraw-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDraw-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDraw-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDraw-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDraw-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDraw-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDraw-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDraw-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDraw-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDraw-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDraw-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDraw-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDraw-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDraw-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDraw-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDraw-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDraw-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDraw-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDraw-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDraw-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDraw-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDraw-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDraw-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDraw-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDraw-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDraw-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDraw-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDraw-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDraw-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDraw-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDraw-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDraw-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDraw-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDraw-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDraw-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDraw-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDraw-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDraw-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDraw-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDraw-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDraw-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDraw-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDraw-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDraw-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDraw-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDraw-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDraw-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDraw-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDraw-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDraw-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDraw-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDraw-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDraw-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDraw-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDraw-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDraw-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDraw-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDraw-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDraw-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDraw-commandBuffer-02712 
 IfcommandBufferis a protected command buffer andprotectedNoFaultis not supported, any resource written to by theVkPipelineobject bound to the pipeline bind point used by this command must not be an unprotected resource
- 
VUID-vkCmdDraw-commandBuffer-02713 
 IfcommandBufferis a protected command buffer andprotectedNoFaultis not supported, pipeline stages other than the framebuffer-space and compute stages in theVkPipelineobject bound to the pipeline bind point used by this command must not write to any resource
- 
VUID-vkCmdDraw-commandBuffer-04617 
 If any of the shader stages of theVkPipelinebound to the pipeline bind point used by this command uses theRayQueryKHRcapability, thencommandBuffermust not be a protected command buffer
- 
VUID-vkCmdDraw-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDraw-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDraw-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDraw-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDraw-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDraw-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDraw-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDraw-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDraw-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDraw-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDraw-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDraw-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDraw-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDraw-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDraw-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDraw-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDraw-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDraw-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDraw-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDraw-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDraw-pNext-09461 
 If the bound graphics pipeline state was created with VkPipelineVertexInputDivisorStateCreateInfo in thepNextchain of VkGraphicsPipelineCreateInfo::pVertexInputState, any member of VkPipelineVertexInputDivisorStateCreateInfo::pVertexBindingDivisorshas a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDraw-None-09462 
 If shader objects are used for drawing or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, any member of thepVertexBindingDescriptionsparameter to the vkCmdSetVertexInputEXT call that sets this dynamic state has a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDraw-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDraw-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDraw-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDraw-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDraw-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
To record an indexed draw, call:
// Provided by VK_VERSION_1_0
void vkCmdDrawIndexed(
    VkCommandBuffer                             commandBuffer,
    uint32_t                                    indexCount,
    uint32_t                                    instanceCount,
    uint32_t                                    firstIndex,
    int32_t                                     vertexOffset,
    uint32_t                                    firstInstance);- 
commandBufferis the command buffer into which the command is recorded.
- 
indexCountis the number of vertices to draw.
- 
instanceCountis the number of instances to draw.
- 
firstIndexis the base index within the index buffer.
- 
vertexOffsetis the value added to the vertex index before indexing into the vertex buffer.
- 
firstInstanceis the instance ID of the first instance to draw.
When the command is executed, primitives are assembled using the current
primitive topology and indexCount vertices whose indices are retrieved
from the index buffer.
The index buffer is treated as an array of tightly packed unsigned integers
of size defined by the
vkCmdBindIndexBuffer2::indexType or the
vkCmdBindIndexBuffer::indexType parameter with which the buffer
was bound.
The first vertex index is at an offset of firstIndex ×
indexSize +  offset within the bound index buffer, where
offset is the offset specified by vkCmdBindIndexBuffer
or vkCmdBindIndexBuffer2,
and indexSize is the byte size of the type specified by
indexType.
Subsequent index values are retrieved from consecutive locations in the
index buffer.
Indices are first compared to the primitive restart value, then zero
extended to 32 bits (if the indexType is
VK_INDEX_TYPE_UINT8 or
VK_INDEX_TYPE_UINT16) and have vertexOffset added to them,
before being supplied as the vertexIndex value.
The primitives are drawn instanceCount times with instanceIndex
starting with firstInstance and increasing sequentially for each
instance.
The assembled primitives execute the bound graphics pipeline.
- 
VUID-vkCmdDrawIndexed-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndexed-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndexed-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndexed-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndexed-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawIndexed-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawIndexed-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawIndexed-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawIndexed-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawIndexed-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawIndexed-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawIndexed-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawIndexed-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndexed-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndexed-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawIndexed-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawIndexed-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawIndexed-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawIndexed-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexed-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexed-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexed-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexed-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexed-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexed-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawIndexed-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexed-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndexed-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndexed-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndexed-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndexed-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawIndexed-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexed-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexed-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexed-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexed-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawIndexed-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawIndexed-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawIndexed-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawIndexed-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawIndexed-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawIndexed-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndexed-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndexed-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndexed-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndexed-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndexed-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndexed-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndexed-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndexed-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawIndexed-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexed-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexed-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndexed-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndexed-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndexed-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexed-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawIndexed-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndexed-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawIndexed-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawIndexed-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawIndexed-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawIndexed-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawIndexed-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawIndexed-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawIndexed-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawIndexed-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndexed-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndexed-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawIndexed-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawIndexed-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawIndexed-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawIndexed-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawIndexed-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndexed-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawIndexed-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexed-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexed-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexed-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawIndexed-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawIndexed-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawIndexed-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawIndexed-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawIndexed-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndexed-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawIndexed-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawIndexed-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndexed-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndexed-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawIndexed-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawIndexed-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawIndexed-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexed-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexed-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexed-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexed-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexed-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexed-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawIndexed-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexed-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexed-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndexed-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndexed-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndexed-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawIndexed-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawIndexed-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawIndexed-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawIndexed-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexed-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawIndexed-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawIndexed-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawIndexed-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexed-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexed-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexed-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawIndexed-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexed-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexed-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawIndexed-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndexed-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexed-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawIndexed-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawIndexed-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawIndexed-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndexed-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndexed-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawIndexed-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawIndexed-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawIndexed-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexed-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexed-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawIndexed-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawIndexed-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexed-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexed-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexed-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexed-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexed-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexed-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexed-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawIndexed-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawIndexed-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawIndexed-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexed-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndexed-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndexed-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndexed-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawIndexed-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexed-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexed-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexed-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawIndexed-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawIndexed-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndexed-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndexed-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawIndexed-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexed-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawIndexed-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexed-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexed-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexed-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawIndexed-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawIndexed-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawIndexed-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawIndexed-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawIndexed-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawIndexed-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawIndexed-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawIndexed-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawIndexed-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawIndexed-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawIndexed-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawIndexed-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawIndexed-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawIndexed-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawIndexed-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawIndexed-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndexed-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawIndexed-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawIndexed-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawIndexed-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawIndexed-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndexed-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawIndexed-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawIndexed-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawIndexed-commandBuffer-02712 
 IfcommandBufferis a protected command buffer andprotectedNoFaultis not supported, any resource written to by theVkPipelineobject bound to the pipeline bind point used by this command must not be an unprotected resource
- 
VUID-vkCmdDrawIndexed-commandBuffer-02713 
 IfcommandBufferis a protected command buffer andprotectedNoFaultis not supported, pipeline stages other than the framebuffer-space and compute stages in theVkPipelineobject bound to the pipeline bind point used by this command must not write to any resource
- 
VUID-vkCmdDrawIndexed-commandBuffer-04617 
 If any of the shader stages of theVkPipelinebound to the pipeline bind point used by this command uses theRayQueryKHRcapability, thencommandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawIndexed-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDrawIndexed-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndexed-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDrawIndexed-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDrawIndexed-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDrawIndexed-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDrawIndexed-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDrawIndexed-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDrawIndexed-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDrawIndexed-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDrawIndexed-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDrawIndexed-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDrawIndexed-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDrawIndexed-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDrawIndexed-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDrawIndexed-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDrawIndexed-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndexed-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndexed-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDrawIndexed-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexed-None-07312 
 If themaintenance6feature is not enabled, a valid index buffer must be bound
- 
VUID-vkCmdDrawIndexed-pNext-09461 
 If the bound graphics pipeline state was created with VkPipelineVertexInputDivisorStateCreateInfo in thepNextchain of VkGraphicsPipelineCreateInfo::pVertexInputState, any member of VkPipelineVertexInputDivisorStateCreateInfo::pVertexBindingDivisorshas a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDrawIndexed-None-09462 
 If shader objects are used for drawing or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, any member of thepVertexBindingDescriptionsparameter to the vkCmdSetVertexInputEXT call that sets this dynamic state has a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDrawIndexed-robustBufferAccess2-08798 
 If therobustBufferAccess2feature is not enabled, (indexSize× (firstIndex+indexCount) +offset) must be less than or equal to the size of the bound index buffer, withindexSizebeing based on the type specified byindexType, where the index buffer,indexType, andoffsetare specified viavkCmdBindIndexBufferorvkCmdBindIndexBuffer2. IfvkCmdBindIndexBuffer2is used to bind the index buffer, the size of the bound index buffer is vkCmdBindIndexBuffer2::size
- 
VUID-vkCmdDrawIndexed-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawIndexed-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawIndexed-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawIndexed-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawIndexed-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
To record an ordered sequence of draws which have no state changes between them, call:
// Provided by VK_EXT_multi_draw
void vkCmdDrawMultiEXT(
    VkCommandBuffer                             commandBuffer,
    uint32_t                                    drawCount,
    const VkMultiDrawInfoEXT*                   pVertexInfo,
    uint32_t                                    instanceCount,
    uint32_t                                    firstInstance,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
drawCountis the number of draws to execute, and can be zero.
- 
pVertexInfois a pointer to an array of VkMultiDrawInfoEXT with vertex information to be drawn.
- 
instanceCountis the number of instances per draw.
- 
firstInstanceis the instance ID of the first instance in each draw.
- 
strideis the byte stride between consecutive elements ofpVertexInfo.
The number of draws recorded is drawCount, with each draw reading,
sequentially, a firstVertex and a vertexCount from
pVertexInfo.
For each recorded draw, primitives are assembled as for vkCmdDraw, and
drawn instanceCount times with instanceIndex starting with
firstInstance and sequentially for each instance.
- 
VUID-vkCmdDrawMultiEXT-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMultiEXT-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMultiEXT-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMultiEXT-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMultiEXT-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawMultiEXT-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawMultiEXT-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawMultiEXT-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawMultiEXT-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawMultiEXT-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawMultiEXT-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawMultiEXT-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawMultiEXT-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMultiEXT-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMultiEXT-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawMultiEXT-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawMultiEXT-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawMultiEXT-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawMultiEXT-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMultiEXT-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMultiEXT-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMultiEXT-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMultiEXT-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMultiEXT-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMultiEXT-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawMultiEXT-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMultiEXT-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMultiEXT-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMultiEXT-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMultiEXT-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMultiEXT-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawMultiEXT-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMultiEXT-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMultiEXT-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMultiEXT-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMultiEXT-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawMultiEXT-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawMultiEXT-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawMultiEXT-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawMultiEXT-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawMultiEXT-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawMultiEXT-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMultiEXT-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMultiEXT-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMultiEXT-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMultiEXT-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMultiEXT-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMultiEXT-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMultiEXT-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMultiEXT-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawMultiEXT-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMultiEXT-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMultiEXT-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMultiEXT-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMultiEXT-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMultiEXT-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMultiEXT-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawMultiEXT-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMultiEXT-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawMultiEXT-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawMultiEXT-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawMultiEXT-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawMultiEXT-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawMultiEXT-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawMultiEXT-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawMultiEXT-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawMultiEXT-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMultiEXT-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMultiEXT-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawMultiEXT-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawMultiEXT-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawMultiEXT-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawMultiEXT-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawMultiEXT-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMultiEXT-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawMultiEXT-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMultiEXT-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMultiEXT-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMultiEXT-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawMultiEXT-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawMultiEXT-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawMultiEXT-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawMultiEXT-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMultiEXT-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawMultiEXT-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawMultiEXT-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMultiEXT-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMultiEXT-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawMultiEXT-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawMultiEXT-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawMultiEXT-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMultiEXT-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMultiEXT-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMultiEXT-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMultiEXT-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMultiEXT-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMultiEXT-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawMultiEXT-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiEXT-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiEXT-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawMultiEXT-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawMultiEXT-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawMultiEXT-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawMultiEXT-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMultiEXT-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawMultiEXT-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawMultiEXT-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiEXT-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMultiEXT-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMultiEXT-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawMultiEXT-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMultiEXT-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMultiEXT-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawMultiEXT-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawMultiEXT-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiEXT-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawMultiEXT-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawMultiEXT-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawMultiEXT-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMultiEXT-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMultiEXT-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawMultiEXT-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawMultiEXT-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawMultiEXT-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiEXT-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiEXT-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawMultiEXT-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawMultiEXT-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMultiEXT-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMultiEXT-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMultiEXT-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMultiEXT-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMultiEXT-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMultiEXT-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMultiEXT-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawMultiEXT-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiEXT-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiEXT-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawMultiEXT-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawMultiEXT-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMultiEXT-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMultiEXT-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawMultiEXT-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiEXT-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawMultiEXT-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawMultiEXT-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawMultiEXT-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawMultiEXT-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawMultiEXT-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawMultiEXT-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawMultiEXT-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawMultiEXT-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawMultiEXT-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawMultiEXT-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawMultiEXT-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMultiEXT-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawMultiEXT-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawMultiEXT-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawMultiEXT-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawMultiEXT-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawMultiEXT-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawMultiEXT-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawMultiEXT-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawMultiEXT-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawMultiEXT-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawMultiEXT-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawMultiEXT-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawMultiEXT-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawMultiEXT-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMultiEXT-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawMultiEXT-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawMultiEXT-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawMultiEXT-commandBuffer-02712 
 IfcommandBufferis a protected command buffer andprotectedNoFaultis not supported, any resource written to by theVkPipelineobject bound to the pipeline bind point used by this command must not be an unprotected resource
- 
VUID-vkCmdDrawMultiEXT-commandBuffer-02713 
 IfcommandBufferis a protected command buffer andprotectedNoFaultis not supported, pipeline stages other than the framebuffer-space and compute stages in theVkPipelineobject bound to the pipeline bind point used by this command must not write to any resource
- 
VUID-vkCmdDrawMultiEXT-commandBuffer-04617 
 If any of the shader stages of theVkPipelinebound to the pipeline bind point used by this command uses theRayQueryKHRcapability, thencommandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawMultiEXT-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDrawMultiEXT-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDrawMultiEXT-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDrawMultiEXT-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDrawMultiEXT-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDrawMultiEXT-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDrawMultiEXT-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDrawMultiEXT-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDrawMultiEXT-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDrawMultiEXT-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDrawMultiEXT-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDrawMultiEXT-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDrawMultiEXT-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDrawMultiEXT-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDrawMultiEXT-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDrawMultiEXT-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDrawMultiEXT-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMultiEXT-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDrawMultiEXT-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiEXT-pNext-09461 
 If the bound graphics pipeline state was created with VkPipelineVertexInputDivisorStateCreateInfo in thepNextchain of VkGraphicsPipelineCreateInfo::pVertexInputState, any member of VkPipelineVertexInputDivisorStateCreateInfo::pVertexBindingDivisorshas a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDrawMultiEXT-None-09462 
 If shader objects are used for drawing or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, any member of thepVertexBindingDescriptionsparameter to the vkCmdSetVertexInputEXT call that sets this dynamic state has a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDrawMultiEXT-None-04933 
 ThemultiDrawfeature must be enabled
- 
VUID-vkCmdDrawMultiEXT-drawCount-04934 
 drawCountmust be less thanVkPhysicalDeviceMultiDrawPropertiesEXT::maxMultiDrawCount
- 
VUID-vkCmdDrawMultiEXT-drawCount-04935 
 IfdrawCountis greater than zero,pVertexInfomust be a valid pointer to memory containing one or more valid instances of VkMultiDrawInfoEXT structures
- 
VUID-vkCmdDrawMultiEXT-drawCount-09628 
 IfdrawCountis greater than1,stridemust be a multiple of4and must be greater than or equal tosizeof(VkMultiDrawInfoEXT)
- 
VUID-vkCmdDrawMultiEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawMultiEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawMultiEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawMultiEXT-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawMultiEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
To record an ordered sequence of indexed draws which have no state changes between them, call:
// Provided by VK_EXT_multi_draw
void vkCmdDrawMultiIndexedEXT(
    VkCommandBuffer                             commandBuffer,
    uint32_t                                    drawCount,
    const VkMultiDrawIndexedInfoEXT*            pIndexInfo,
    uint32_t                                    instanceCount,
    uint32_t                                    firstInstance,
    uint32_t                                    stride,
    const int32_t*                              pVertexOffset);- 
commandBufferis the command buffer into which the command is recorded.
- 
drawCountis the number of draws to execute, and can be zero.
- 
pIndexInfois a pointer to an array of VkMultiDrawIndexedInfoEXT with index information to be drawn.
- 
instanceCountis the number of instances per draw.
- 
firstInstanceis the instance ID of the first instance in each draw.
- 
strideis the byte stride between consecutive elements ofpIndexInfo.
- 
pVertexOffsetisNULLor a pointer to the value added to the vertex index before indexing into the vertex buffer. When specified,VkMultiDrawIndexedInfoEXT::offsetis ignored.
The number of draws recorded is drawCount, with each draw reading,
sequentially, a firstIndex and an indexCount from
pIndexInfo.
For each recorded draw, primitives are assembled as for
vkCmdDrawIndexed, and drawn instanceCount times with
instanceIndex starting with firstInstance and sequentially for
each instance.
If pVertexOffset is NULL, a vertexOffset is also read from
pIndexInfo, otherwise the value from dereferencing pVertexOffset
is used.
- 
VUID-vkCmdDrawMultiIndexedEXT-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawMultiIndexedEXT-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawMultiIndexedEXT-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMultiIndexedEXT-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMultiIndexedEXT-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawMultiIndexedEXT-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawMultiIndexedEXT-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawMultiIndexedEXT-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMultiIndexedEXT-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMultiIndexedEXT-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawMultiIndexedEXT-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawMultiIndexedEXT-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawMultiIndexedEXT-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMultiIndexedEXT-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMultiIndexedEXT-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMultiIndexedEXT-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMultiIndexedEXT-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMultiIndexedEXT-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawMultiIndexedEXT-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawMultiIndexedEXT-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawMultiIndexedEXT-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawMultiIndexedEXT-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawMultiIndexedEXT-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawMultiIndexedEXT-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMultiIndexedEXT-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawMultiIndexedEXT-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawMultiIndexedEXT-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawMultiIndexedEXT-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawMultiIndexedEXT-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMultiIndexedEXT-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawMultiIndexedEXT-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawMultiIndexedEXT-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawMultiIndexedEXT-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMultiIndexedEXT-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMultiIndexedEXT-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawMultiIndexedEXT-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMultiIndexedEXT-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMultiIndexedEXT-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMultiIndexedEXT-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMultiIndexedEXT-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMultiIndexedEXT-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMultiIndexedEXT-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawMultiIndexedEXT-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawMultiIndexedEXT-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawMultiIndexedEXT-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMultiIndexedEXT-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMultiIndexedEXT-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMultiIndexedEXT-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMultiIndexedEXT-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawMultiIndexedEXT-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawMultiIndexedEXT-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMultiIndexedEXT-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawMultiIndexedEXT-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMultiIndexedEXT-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawMultiIndexedEXT-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawMultiIndexedEXT-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMultiIndexedEXT-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMultiIndexedEXT-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawMultiIndexedEXT-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiIndexedEXT-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMultiIndexedEXT-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawMultiIndexedEXT-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMultiIndexedEXT-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawMultiIndexedEXT-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMultiIndexedEXT-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawMultiIndexedEXT-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawMultiIndexedEXT-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawMultiIndexedEXT-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawMultiIndexedEXT-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawMultiIndexedEXT-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawMultiIndexedEXT-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawMultiIndexedEXT-commandBuffer-02712 
 IfcommandBufferis a protected command buffer andprotectedNoFaultis not supported, any resource written to by theVkPipelineobject bound to the pipeline bind point used by this command must not be an unprotected resource
- 
VUID-vkCmdDrawMultiIndexedEXT-commandBuffer-02713 
 IfcommandBufferis a protected command buffer andprotectedNoFaultis not supported, pipeline stages other than the framebuffer-space and compute stages in theVkPipelineobject bound to the pipeline bind point used by this command must not write to any resource
- 
VUID-vkCmdDrawMultiIndexedEXT-commandBuffer-04617 
 If any of the shader stages of theVkPipelinebound to the pipeline bind point used by this command uses theRayQueryKHRcapability, thencommandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawMultiIndexedEXT-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDrawMultiIndexedEXT-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDrawMultiIndexedEXT-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDrawMultiIndexedEXT-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDrawMultiIndexedEXT-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDrawMultiIndexedEXT-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDrawMultiIndexedEXT-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDrawMultiIndexedEXT-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDrawMultiIndexedEXT-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDrawMultiIndexedEXT-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDrawMultiIndexedEXT-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDrawMultiIndexedEXT-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDrawMultiIndexedEXT-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDrawMultiIndexedEXT-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDrawMultiIndexedEXT-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMultiIndexedEXT-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMultiIndexedEXT-None-07312 
 If themaintenance6feature is not enabled, a valid index buffer must be bound
- 
VUID-vkCmdDrawMultiIndexedEXT-pNext-09461 
 If the bound graphics pipeline state was created with VkPipelineVertexInputDivisorStateCreateInfo in thepNextchain of VkGraphicsPipelineCreateInfo::pVertexInputState, any member of VkPipelineVertexInputDivisorStateCreateInfo::pVertexBindingDivisorshas a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDrawMultiIndexedEXT-None-09462 
 If shader objects are used for drawing or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, any member of thepVertexBindingDescriptionsparameter to the vkCmdSetVertexInputEXT call that sets this dynamic state has a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDrawMultiIndexedEXT-robustBufferAccess2-08798 
 If therobustBufferAccess2feature is not enabled, (indexSize× (firstIndex+indexCount) +offset) must be less than or equal to the size of the bound index buffer, withindexSizebeing based on the type specified byindexType, where the index buffer,indexType, andoffsetare specified viavkCmdBindIndexBufferorvkCmdBindIndexBuffer2. IfvkCmdBindIndexBuffer2is used to bind the index buffer, the size of the bound index buffer is vkCmdBindIndexBuffer2::size
- 
VUID-vkCmdDrawMultiIndexedEXT-None-04937 
 ThemultiDrawfeature must be enabled
- 
VUID-vkCmdDrawMultiIndexedEXT-drawCount-04939 
 drawCountmust be less thanVkPhysicalDeviceMultiDrawPropertiesEXT::maxMultiDrawCount
- 
VUID-vkCmdDrawMultiIndexedEXT-drawCount-04940 
 IfdrawCountis greater than zero,pIndexInfomust be a valid pointer to memory containing one or more valid instances of VkMultiDrawIndexedInfoEXT structures
- 
VUID-vkCmdDrawMultiIndexedEXT-drawCount-09629 
 IfdrawCountis greater than1,stridemust be a multiple of4and must be greater than or equal tosizeof(VkMultiDrawIndexedInfoEXT)
- 
VUID-vkCmdDrawMultiIndexedEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawMultiIndexedEXT-pVertexOffset-parameter 
 IfpVertexOffsetis notNULL,pVertexOffsetmust be a valid pointer to a validint32_tvalue
- 
VUID-vkCmdDrawMultiIndexedEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawMultiIndexedEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawMultiIndexedEXT-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawMultiIndexedEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
The VkMultiDrawInfoEXT structure is defined as:
// Provided by VK_EXT_multi_draw
typedef struct VkMultiDrawInfoEXT {
    uint32_t    firstVertex;
    uint32_t    vertexCount;
} VkMultiDrawInfoEXT;- 
firstVertexis the first vertex to draw.
- 
vertexCountis the number of vertices to draw.
The members of VkMultiDrawInfoEXT have the same meaning as the
firstVertex and vertexCount parameters in vkCmdDraw.
The VkMultiDrawIndexedInfoEXT structure is defined as:
// Provided by VK_EXT_multi_draw
typedef struct VkMultiDrawIndexedInfoEXT {
    uint32_t    firstIndex;
    uint32_t    indexCount;
    int32_t     vertexOffset;
} VkMultiDrawIndexedInfoEXT;- 
firstIndexis the first index to draw.
- 
indexCountis the number of vertices to draw.
- 
vertexOffsetis the value added to the vertex index before indexing into the vertex buffer for indexed multidraws.
The firstIndex, indexCount, and vertexOffset members of
VkMultiDrawIndexedInfoEXT have the same meaning as the
firstIndex, indexCount, and vertexOffset parameters,
respectively, of vkCmdDrawIndexed.
To record a non-indexed indirect drawing command, call:
// Provided by VK_VERSION_1_0
void vkCmdDrawIndirect(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    uint32_t                                    drawCount,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
- 
drawCountis the number of draws to execute, and can be zero.
- 
strideis the byte stride between successive sets of draw parameters.
vkCmdDrawIndirect behaves similarly to vkCmdDraw except that the
parameters are read by the device from a buffer during execution.
drawCount draws are executed by the command, with parameters taken
from buffer starting at offset and increasing by stride
bytes for each successive draw.
The parameters of each draw are encoded in an array of
VkDrawIndirectCommand structures.
If drawCount is less than or equal to one, stride is ignored.
- 
VUID-vkCmdDrawIndirect-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndirect-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndirect-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndirect-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndirect-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawIndirect-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawIndirect-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawIndirect-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawIndirect-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawIndirect-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawIndirect-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawIndirect-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawIndirect-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndirect-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndirect-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawIndirect-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawIndirect-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawIndirect-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawIndirect-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirect-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirect-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirect-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirect-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirect-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirect-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawIndirect-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirect-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndirect-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndirect-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndirect-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndirect-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawIndirect-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirect-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirect-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirect-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirect-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawIndirect-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawIndirect-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawIndirect-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawIndirect-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawIndirect-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawIndirect-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndirect-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndirect-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndirect-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndirect-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndirect-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndirect-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndirect-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndirect-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawIndirect-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirect-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirect-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndirect-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndirect-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndirect-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirect-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawIndirect-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndirect-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawIndirect-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawIndirect-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawIndirect-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawIndirect-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawIndirect-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawIndirect-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawIndirect-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawIndirect-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndirect-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndirect-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawIndirect-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawIndirect-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawIndirect-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawIndirect-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawIndirect-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndirect-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawIndirect-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirect-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirect-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirect-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawIndirect-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawIndirect-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawIndirect-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawIndirect-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawIndirect-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndirect-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawIndirect-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawIndirect-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndirect-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndirect-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawIndirect-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawIndirect-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawIndirect-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirect-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirect-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirect-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirect-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirect-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirect-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawIndirect-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirect-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirect-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndirect-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndirect-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndirect-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawIndirect-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawIndirect-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawIndirect-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawIndirect-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirect-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawIndirect-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawIndirect-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawIndirect-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirect-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirect-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirect-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawIndirect-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirect-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirect-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawIndirect-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndirect-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirect-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawIndirect-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawIndirect-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawIndirect-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndirect-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndirect-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawIndirect-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawIndirect-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawIndirect-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirect-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirect-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawIndirect-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawIndirect-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirect-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirect-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirect-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirect-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirect-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirect-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirect-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawIndirect-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawIndirect-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawIndirect-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirect-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndirect-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndirect-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndirect-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawIndirect-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirect-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirect-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirect-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawIndirect-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawIndirect-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndirect-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndirect-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawIndirect-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirect-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawIndirect-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirect-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirect-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirect-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawIndirect-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawIndirect-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawIndirect-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawIndirect-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawIndirect-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawIndirect-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawIndirect-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawIndirect-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawIndirect-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawIndirect-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawIndirect-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawIndirect-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawIndirect-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawIndirect-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawIndirect-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawIndirect-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndirect-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawIndirect-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawIndirect-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawIndirect-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawIndirect-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndirect-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawIndirect-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawIndirect-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawIndirect-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDrawIndirect-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndirect-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDrawIndirect-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDrawIndirect-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDrawIndirect-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDrawIndirect-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDrawIndirect-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDrawIndirect-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDrawIndirect-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDrawIndirect-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDrawIndirect-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDrawIndirect-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDrawIndirect-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDrawIndirect-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDrawIndirect-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDrawIndirect-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndirect-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndirect-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDrawIndirect-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirect-buffer-02708 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawIndirect-buffer-02709 
 buffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawIndirect-offset-02710 
 offsetmust be a multiple of4
- 
VUID-vkCmdDrawIndirect-commandBuffer-02711 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawIndirect-drawCount-02718 
 If themultiDrawIndirectfeature is not enabled,drawCountmust be0or1
- 
VUID-vkCmdDrawIndirect-drawCount-02719 
 drawCountmust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawIndirect-drawCount-00476 
 IfdrawCountis greater than1,stridemust be a multiple of4and must be greater than or equal tosizeof(VkDrawIndirectCommand)
- 
VUID-vkCmdDrawIndirect-drawCount-00487 
 IfdrawCountis equal to1, (offset+sizeof(VkDrawIndirectCommand)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawIndirect-drawCount-00488 
 IfdrawCountis greater than1, (stride× (drawCount- 1) +offset+sizeof(VkDrawIndirectCommand)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawIndirect-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawIndirect-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawIndirect-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawIndirect-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawIndirect-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawIndirect-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawIndirect-commonparent 
 Both ofbuffer, andcommandBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
The VkDrawIndirectCommand structure is defined as:
// Provided by VK_VERSION_1_0
typedef struct VkDrawIndirectCommand {
    uint32_t    vertexCount;
    uint32_t    instanceCount;
    uint32_t    firstVertex;
    uint32_t    firstInstance;
} VkDrawIndirectCommand;- 
vertexCountis the number of vertices to draw.
- 
instanceCountis the number of instances to draw.
- 
firstVertexis the index of the first vertex to draw.
- 
firstInstanceis the instance ID of the first instance to draw.
The members of VkDrawIndirectCommand have the same meaning as the
similarly named parameters of vkCmdDraw.
- 
VUID-VkDrawIndirectCommand-pNext-09461 
 If the bound graphics pipeline state was created with VkPipelineVertexInputDivisorStateCreateInfo in thepNextchain of VkGraphicsPipelineCreateInfo::pVertexInputState, any member of VkPipelineVertexInputDivisorStateCreateInfo::pVertexBindingDivisorshas a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-VkDrawIndirectCommand-None-09462 
 If shader objects are used for drawing or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, any member of thepVertexBindingDescriptionsparameter to the vkCmdSetVertexInputEXT call that sets this dynamic state has a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-VkDrawIndirectCommand-firstInstance-00501 
 If thedrawIndirectFirstInstancefeature is not enabled,firstInstancemust be0
To record a non-indexed draw call with a draw call count sourced from a buffer, call:
// Provided by VK_VERSION_1_2
void vkCmdDrawIndirectCount(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkBuffer                                    countBuffer,
    VkDeviceSize                                countBufferOffset,
    uint32_t                                    maxDrawCount,
    uint32_t                                    stride);or the equivalent command
// Provided by VK_KHR_draw_indirect_count
void vkCmdDrawIndirectCountKHR(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkBuffer                                    countBuffer,
    VkDeviceSize                                countBufferOffset,
    uint32_t                                    maxDrawCount,
    uint32_t                                    stride);or the equivalent command
// Provided by VK_AMD_draw_indirect_count
void vkCmdDrawIndirectCountAMD(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkBuffer                                    countBuffer,
    VkDeviceSize                                countBufferOffset,
    uint32_t                                    maxDrawCount,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
- 
countBufferis the buffer containing the draw count.
- 
countBufferOffsetis the byte offset intocountBufferwhere the draw count begins.
- 
maxDrawCountspecifies the maximum number of draws that will be executed. The actual number of executed draw calls is the minimum of the count specified incountBufferandmaxDrawCount.
- 
strideis the byte stride between successive sets of draw parameters.
vkCmdDrawIndirectCount behaves similarly to vkCmdDrawIndirect
except that the draw count is read by the device from a buffer during
execution.
The command will read an unsigned 32-bit integer from countBuffer
located at countBufferOffset and use this as the draw count.
- 
VUID-vkCmdDrawIndirectCount-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndirectCount-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndirectCount-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndirectCount-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndirectCount-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawIndirectCount-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawIndirectCount-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawIndirectCount-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawIndirectCount-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawIndirectCount-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawIndirectCount-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawIndirectCount-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawIndirectCount-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndirectCount-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndirectCount-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawIndirectCount-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawIndirectCount-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawIndirectCount-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawIndirectCount-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirectCount-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirectCount-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirectCount-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirectCount-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirectCount-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirectCount-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawIndirectCount-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirectCount-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndirectCount-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndirectCount-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndirectCount-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndirectCount-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawIndirectCount-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirectCount-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirectCount-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirectCount-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirectCount-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawIndirectCount-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawIndirectCount-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawIndirectCount-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawIndirectCount-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawIndirectCount-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawIndirectCount-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndirectCount-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndirectCount-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndirectCount-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndirectCount-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndirectCount-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndirectCount-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndirectCount-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndirectCount-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawIndirectCount-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectCount-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectCount-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndirectCount-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectCount-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectCount-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectCount-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawIndirectCount-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndirectCount-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawIndirectCount-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawIndirectCount-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawIndirectCount-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawIndirectCount-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawIndirectCount-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawIndirectCount-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawIndirectCount-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawIndirectCount-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndirectCount-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndirectCount-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawIndirectCount-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawIndirectCount-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawIndirectCount-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawIndirectCount-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawIndirectCount-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndirectCount-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawIndirectCount-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirectCount-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirectCount-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirectCount-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawIndirectCount-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawIndirectCount-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawIndirectCount-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawIndirectCount-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndirectCount-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawIndirectCount-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawIndirectCount-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndirectCount-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndirectCount-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawIndirectCount-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawIndirectCount-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawIndirectCount-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirectCount-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirectCount-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirectCount-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirectCount-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirectCount-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirectCount-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawIndirectCount-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectCount-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectCount-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectCount-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawIndirectCount-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawIndirectCount-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawIndirectCount-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirectCount-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawIndirectCount-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawIndirectCount-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectCount-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirectCount-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirectCount-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectCount-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirectCount-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirectCount-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawIndirectCount-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndirectCount-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectCount-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawIndirectCount-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawIndirectCount-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawIndirectCount-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndirectCount-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndirectCount-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawIndirectCount-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawIndirectCount-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawIndirectCount-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectCount-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectCount-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawIndirectCount-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawIndirectCount-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirectCount-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirectCount-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirectCount-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirectCount-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirectCount-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirectCount-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirectCount-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawIndirectCount-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectCount-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectCount-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawIndirectCount-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawIndirectCount-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndirectCount-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndirectCount-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawIndirectCount-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectCount-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawIndirectCount-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirectCount-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirectCount-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirectCount-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawIndirectCount-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawIndirectCount-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawIndirectCount-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawIndirectCount-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawIndirectCount-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawIndirectCount-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawIndirectCount-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawIndirectCount-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawIndirectCount-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawIndirectCount-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawIndirectCount-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawIndirectCount-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawIndirectCount-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawIndirectCount-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawIndirectCount-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawIndirectCount-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndirectCount-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawIndirectCount-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawIndirectCount-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawIndirectCount-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawIndirectCount-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndirectCount-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawIndirectCount-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawIndirectCount-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawIndirectCount-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDrawIndirectCount-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndirectCount-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDrawIndirectCount-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDrawIndirectCount-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDrawIndirectCount-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDrawIndirectCount-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDrawIndirectCount-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDrawIndirectCount-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDrawIndirectCount-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDrawIndirectCount-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDrawIndirectCount-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDrawIndirectCount-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDrawIndirectCount-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDrawIndirectCount-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDrawIndirectCount-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndirectCount-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndirectCount-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDrawIndirectCount-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectCount-buffer-02708 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawIndirectCount-buffer-02709 
 buffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawIndirectCount-offset-02710 
 offsetmust be a multiple of4
- 
VUID-vkCmdDrawIndirectCount-commandBuffer-02711 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawIndirectCount-countBuffer-02714 
 IfcountBufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawIndirectCount-countBuffer-02715 
 countBuffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawIndirectCount-countBufferOffset-02716 
 countBufferOffsetmust be a multiple of4
- 
VUID-vkCmdDrawIndirectCount-countBuffer-02717 
 The count stored incountBuffermust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawIndirectCount-countBufferOffset-04129 
 (countBufferOffset+sizeof(uint32_t)) must be less than or equal to the size ofcountBuffer
- 
VUID-vkCmdDrawIndirectCount-None-04445 
 If thedrawIndirectCountfeature is not enabled this function must not be used
- 
VUID-vkCmdDrawIndirectCount-stride-03110 
 stridemust be a multiple of4and must be greater than or equal to sizeof(VkDrawIndirectCommand)
- 
VUID-vkCmdDrawIndirectCount-maxDrawCount-03111 
 IfmaxDrawCountis greater than or equal to1, (stride× (maxDrawCount- 1) +offset+ sizeof(VkDrawIndirectCommand)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawIndirectCount-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawIndirectCount-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawIndirectCount-countBuffer-parameter 
 countBuffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawIndirectCount-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawIndirectCount-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawIndirectCount-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawIndirectCount-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawIndirectCount-commonparent 
 Each ofbuffer,commandBuffer, andcountBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
To record an indexed indirect drawing command, call:
// Provided by VK_VERSION_1_0
void vkCmdDrawIndexedIndirect(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    uint32_t                                    drawCount,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
- 
drawCountis the number of draws to execute, and can be zero.
- 
strideis the byte stride between successive sets of draw parameters.
vkCmdDrawIndexedIndirect behaves similarly to vkCmdDrawIndexed
except that the parameters are read by the device from a buffer during
execution.
drawCount draws are executed by the command, with parameters taken
from buffer starting at offset and increasing by stride
bytes for each successive draw.
The parameters of each draw are encoded in an array of
VkDrawIndexedIndirectCommand structures.
If drawCount is less than or equal to one, stride is ignored.
- 
VUID-vkCmdDrawIndexedIndirect-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndexedIndirect-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndexedIndirect-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndexedIndirect-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndexedIndirect-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawIndexedIndirect-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawIndexedIndirect-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawIndexedIndirect-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawIndexedIndirect-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawIndexedIndirect-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndexedIndirect-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndexedIndirect-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawIndexedIndirect-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawIndexedIndirect-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexedIndirect-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexedIndirect-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexedIndirect-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexedIndirect-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexedIndirect-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawIndexedIndirect-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexedIndirect-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndexedIndirect-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndexedIndirect-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndexedIndirect-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndexedIndirect-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawIndexedIndirect-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexedIndirect-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexedIndirect-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexedIndirect-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexedIndirect-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawIndexedIndirect-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawIndexedIndirect-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawIndexedIndirect-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawIndexedIndirect-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawIndexedIndirect-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawIndexedIndirect-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndexedIndirect-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndexedIndirect-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndexedIndirect-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndexedIndirect-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndexedIndirect-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndexedIndirect-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndexedIndirect-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirect-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawIndexedIndirect-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndexedIndirect-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawIndexedIndirect-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawIndexedIndirect-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawIndexedIndirect-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawIndexedIndirect-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawIndexedIndirect-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawIndexedIndirect-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawIndexedIndirect-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndexedIndirect-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndexedIndirect-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawIndexedIndirect-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawIndexedIndirect-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawIndexedIndirect-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawIndexedIndirect-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawIndexedIndirect-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndexedIndirect-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawIndexedIndirect-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexedIndirect-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexedIndirect-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexedIndirect-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawIndexedIndirect-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawIndexedIndirect-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawIndexedIndirect-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawIndexedIndirect-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndexedIndirect-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawIndexedIndirect-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawIndexedIndirect-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndexedIndirect-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndexedIndirect-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawIndexedIndirect-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawIndexedIndirect-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawIndexedIndirect-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexedIndirect-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexedIndirect-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexedIndirect-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexedIndirect-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexedIndirect-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexedIndirect-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawIndexedIndirect-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirect-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirect-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirect-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawIndexedIndirect-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawIndexedIndirect-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawIndexedIndirect-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirect-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawIndexedIndirect-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawIndexedIndirect-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirect-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirect-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirect-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirect-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirect-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirect-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawIndexedIndirect-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndexedIndirect-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirect-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawIndexedIndirect-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawIndexedIndirect-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawIndexedIndirect-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndexedIndirect-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndexedIndirect-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawIndexedIndirect-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawIndexedIndirect-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawIndexedIndirect-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirect-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirect-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawIndexedIndirect-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawIndexedIndirect-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexedIndirect-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexedIndirect-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexedIndirect-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexedIndirect-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexedIndirect-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexedIndirect-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexedIndirect-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawIndexedIndirect-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirect-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawIndexedIndirect-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawIndexedIndirect-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndexedIndirect-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndexedIndirect-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawIndexedIndirect-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirect-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawIndexedIndirect-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexedIndirect-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexedIndirect-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexedIndirect-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawIndexedIndirect-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawIndexedIndirect-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawIndexedIndirect-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawIndexedIndirect-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawIndexedIndirect-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawIndexedIndirect-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawIndexedIndirect-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawIndexedIndirect-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawIndexedIndirect-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawIndexedIndirect-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawIndexedIndirect-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawIndexedIndirect-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndexedIndirect-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawIndexedIndirect-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawIndexedIndirect-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawIndexedIndirect-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawIndexedIndirect-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndexedIndirect-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawIndexedIndirect-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawIndexedIndirect-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawIndexedIndirect-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDrawIndexedIndirect-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndexedIndirect-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDrawIndexedIndirect-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDrawIndexedIndirect-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDrawIndexedIndirect-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDrawIndexedIndirect-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDrawIndexedIndirect-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDrawIndexedIndirect-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDrawIndexedIndirect-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDrawIndexedIndirect-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDrawIndexedIndirect-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDrawIndexedIndirect-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDrawIndexedIndirect-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDrawIndexedIndirect-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDrawIndexedIndirect-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndexedIndirect-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirect-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDrawIndexedIndirect-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirect-buffer-02708 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawIndexedIndirect-buffer-02709 
 buffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawIndexedIndirect-offset-02710 
 offsetmust be a multiple of4
- 
VUID-vkCmdDrawIndexedIndirect-commandBuffer-02711 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawIndexedIndirect-drawCount-02718 
 If themultiDrawIndirectfeature is not enabled,drawCountmust be0or1
- 
VUID-vkCmdDrawIndexedIndirect-drawCount-02719 
 drawCountmust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawIndexedIndirect-None-07312 
 If themaintenance6feature is not enabled, a valid index buffer must be bound
- 
VUID-vkCmdDrawIndexedIndirect-drawCount-00528 
 IfdrawCountis greater than1,stridemust be a multiple of4and must be greater than or equal tosizeof(VkDrawIndexedIndirectCommand)
- 
VUID-vkCmdDrawIndexedIndirect-drawCount-00539 
 IfdrawCountis equal to1, (offset+sizeof(VkDrawIndexedIndirectCommand)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawIndexedIndirect-drawCount-00540 
 IfdrawCountis greater than1, (stride× (drawCount- 1) +offset+sizeof(VkDrawIndexedIndirectCommand)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawIndexedIndirect-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawIndexedIndirect-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawIndexedIndirect-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawIndexedIndirect-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawIndexedIndirect-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawIndexedIndirect-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawIndexedIndirect-commonparent 
 Both ofbuffer, andcommandBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
The VkDrawIndexedIndirectCommand structure is defined as:
// Provided by VK_VERSION_1_0
typedef struct VkDrawIndexedIndirectCommand {
    uint32_t    indexCount;
    uint32_t    instanceCount;
    uint32_t    firstIndex;
    int32_t     vertexOffset;
    uint32_t    firstInstance;
} VkDrawIndexedIndirectCommand;- 
indexCountis the number of vertices to draw.
- 
instanceCountis the number of instances to draw.
- 
firstIndexis the base index within the index buffer.
- 
vertexOffsetis the value added to the vertex index before indexing into the vertex buffer.
- 
firstInstanceis the instance ID of the first instance to draw.
The members of VkDrawIndexedIndirectCommand have the same meaning as
the similarly named parameters of vkCmdDrawIndexed.
- 
VUID-VkDrawIndexedIndirectCommand-pNext-09461 
 If the bound graphics pipeline state was created with VkPipelineVertexInputDivisorStateCreateInfo in thepNextchain of VkGraphicsPipelineCreateInfo::pVertexInputState, any member of VkPipelineVertexInputDivisorStateCreateInfo::pVertexBindingDivisorshas a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-VkDrawIndexedIndirectCommand-None-09462 
 If shader objects are used for drawing or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, any member of thepVertexBindingDescriptionsparameter to the vkCmdSetVertexInputEXT call that sets this dynamic state has a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-VkDrawIndexedIndirectCommand-robustBufferAccess2-08798 
 If therobustBufferAccess2feature is not enabled, (indexSize× (firstIndex+indexCount) +offset) must be less than or equal to the size of the bound index buffer, withindexSizebeing based on the type specified byindexType, where the index buffer,indexType, andoffsetare specified viavkCmdBindIndexBufferorvkCmdBindIndexBuffer2. IfvkCmdBindIndexBuffer2is used to bind the index buffer, the size of the bound index buffer is vkCmdBindIndexBuffer2::size
- 
VUID-VkDrawIndexedIndirectCommand-firstInstance-00554 
 If thedrawIndirectFirstInstancefeature is not enabled,firstInstancemust be0
To record an indexed draw call with a draw call count sourced from a buffer, call:
// Provided by VK_VERSION_1_2
void vkCmdDrawIndexedIndirectCount(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkBuffer                                    countBuffer,
    VkDeviceSize                                countBufferOffset,
    uint32_t                                    maxDrawCount,
    uint32_t                                    stride);or the equivalent command
// Provided by VK_KHR_draw_indirect_count
void vkCmdDrawIndexedIndirectCountKHR(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkBuffer                                    countBuffer,
    VkDeviceSize                                countBufferOffset,
    uint32_t                                    maxDrawCount,
    uint32_t                                    stride);or the equivalent command
// Provided by VK_AMD_draw_indirect_count
void vkCmdDrawIndexedIndirectCountAMD(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkBuffer                                    countBuffer,
    VkDeviceSize                                countBufferOffset,
    uint32_t                                    maxDrawCount,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
- 
countBufferis the buffer containing the draw count.
- 
countBufferOffsetis the byte offset intocountBufferwhere the draw count begins.
- 
maxDrawCountspecifies the maximum number of draws that will be executed. The actual number of executed draw calls is the minimum of the count specified incountBufferandmaxDrawCount.
- 
strideis the byte stride between successive sets of draw parameters.
vkCmdDrawIndexedIndirectCount behaves similarly to
vkCmdDrawIndexedIndirect except that the draw count is read by the
device from a buffer during execution.
The command will read an unsigned 32-bit integer from countBuffer
located at countBufferOffset and use this as the draw count.
- 
VUID-vkCmdDrawIndexedIndirectCount-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawIndexedIndirectCount-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawIndexedIndirectCount-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndexedIndirectCount-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndexedIndirectCount-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawIndexedIndirectCount-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawIndexedIndirectCount-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawIndexedIndirectCount-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexedIndirectCount-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndexedIndirectCount-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawIndexedIndirectCount-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawIndexedIndirectCount-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawIndexedIndirectCount-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndexedIndirectCount-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndexedIndirectCount-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndexedIndirectCount-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndexedIndirectCount-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndexedIndirectCount-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawIndexedIndirectCount-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawIndexedIndirectCount-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawIndexedIndirectCount-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawIndexedIndirectCount-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawIndexedIndirectCount-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawIndexedIndirectCount-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndexedIndirectCount-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawIndexedIndirectCount-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawIndexedIndirectCount-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawIndexedIndirectCount-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawIndexedIndirectCount-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndexedIndirectCount-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawIndexedIndirectCount-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawIndexedIndirectCount-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawIndexedIndirectCount-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndexedIndirectCount-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndexedIndirectCount-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawIndexedIndirectCount-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexedIndirectCount-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexedIndirectCount-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexedIndirectCount-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexedIndirectCount-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndexedIndirectCount-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndexedIndirectCount-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawIndexedIndirectCount-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawIndexedIndirectCount-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawIndexedIndirectCount-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirectCount-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirectCount-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirectCount-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndexedIndirectCount-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawIndexedIndirectCount-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndexedIndirectCount-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndexedIndirectCount-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawIndexedIndirectCount-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawIndexedIndirectCount-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndexedIndirectCount-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawIndexedIndirectCount-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawIndexedIndirectCount-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexedIndirectCount-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexedIndirectCount-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndexedIndirectCount-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndexedIndirectCount-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawIndexedIndirectCount-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirectCount-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndexedIndirectCount-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawIndexedIndirectCount-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndexedIndirectCount-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawIndexedIndirectCount-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndexedIndirectCount-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawIndexedIndirectCount-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexedIndirectCount-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexedIndirectCount-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawIndexedIndirectCount-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawIndexedIndirectCount-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawIndexedIndirectCount-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawIndexedIndirectCount-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndexedIndirectCount-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawIndexedIndirectCount-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawIndexedIndirectCount-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawIndexedIndirectCount-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDrawIndexedIndirectCount-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndexedIndirectCount-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDrawIndexedIndirectCount-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDrawIndexedIndirectCount-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDrawIndexedIndirectCount-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDrawIndexedIndirectCount-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDrawIndexedIndirectCount-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDrawIndexedIndirectCount-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDrawIndexedIndirectCount-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDrawIndexedIndirectCount-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDrawIndexedIndirectCount-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDrawIndexedIndirectCount-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDrawIndexedIndirectCount-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndexedIndirectCount-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndexedIndirectCount-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndexedIndirectCount-buffer-02708 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawIndexedIndirectCount-buffer-02709 
 buffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawIndexedIndirectCount-offset-02710 
 offsetmust be a multiple of4
- 
VUID-vkCmdDrawIndexedIndirectCount-commandBuffer-02711 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawIndexedIndirectCount-countBuffer-02714 
 IfcountBufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawIndexedIndirectCount-countBuffer-02715 
 countBuffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawIndexedIndirectCount-countBufferOffset-02716 
 countBufferOffsetmust be a multiple of4
- 
VUID-vkCmdDrawIndexedIndirectCount-countBuffer-02717 
 The count stored incountBuffermust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawIndexedIndirectCount-countBufferOffset-04129 
 (countBufferOffset+sizeof(uint32_t)) must be less than or equal to the size ofcountBuffer
- 
VUID-vkCmdDrawIndexedIndirectCount-None-04445 
 If thedrawIndirectCountfeature is not enabled this function must not be used
- 
VUID-vkCmdDrawIndexedIndirectCount-None-07312 
 If themaintenance6feature is not enabled, a valid index buffer must be bound
- 
VUID-vkCmdDrawIndexedIndirectCount-stride-03142 
 stridemust be a multiple of4and must be greater than or equal to sizeof(VkDrawIndexedIndirectCommand)
- 
VUID-vkCmdDrawIndexedIndirectCount-maxDrawCount-03143 
 IfmaxDrawCountis greater than or equal to1, (stride× (maxDrawCount- 1) +offset+ sizeof(VkDrawIndexedIndirectCommand)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawIndexedIndirectCount-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawIndexedIndirectCount-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawIndexedIndirectCount-countBuffer-parameter 
 countBuffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawIndexedIndirectCount-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawIndexedIndirectCount-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawIndexedIndirectCount-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawIndexedIndirectCount-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawIndexedIndirectCount-commonparent 
 Each ofbuffer,commandBuffer, andcountBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
22.4.1. Drawing Transform Feedback
It is possible to draw vertex data that was previously captured during
active transform feedback by binding
one or more of the transform feedback buffers as vertex buffers.
A pipeline barrier is required between using the buffers as transform
feedback buffers and vertex buffers to ensure all writes to the transform
feedback buffers are visible when the data is read as vertex attributes.
The source access is VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT and
the destination access is VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT for the
pipeline stages VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT and
VK_PIPELINE_STAGE_VERTEX_INPUT_BIT respectively.
The value written to the counter buffer by
vkCmdEndTransformFeedbackEXT can be used to determine the vertex
count for the draw.
A pipeline barrier is required between using the counter buffer for
vkCmdEndTransformFeedbackEXT and vkCmdDrawIndirectByteCountEXT
where the source access is
VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT and the destination
access is VK_ACCESS_INDIRECT_COMMAND_READ_BIT for the pipeline stages
VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT and
VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT respectively.
To record a non-indexed draw call, where the vertex count is based on a byte count read from a buffer and the passed in vertex stride parameter, call:
// Provided by VK_EXT_transform_feedback
void vkCmdDrawIndirectByteCountEXT(
    VkCommandBuffer                             commandBuffer,
    uint32_t                                    instanceCount,
    uint32_t                                    firstInstance,
    VkBuffer                                    counterBuffer,
    VkDeviceSize                                counterBufferOffset,
    uint32_t                                    counterOffset,
    uint32_t                                    vertexStride);- 
commandBufferis the command buffer into which the command is recorded.
- 
instanceCountis the number of instances to draw.
- 
firstInstanceis the instance ID of the first instance to draw.
- 
counterBufferis the buffer handle from where the byte count is read.
- 
counterBufferOffsetis the offset into the buffer used to read the byte count, which is used to calculate the vertex count for this draw call.
- 
counterOffsetis subtracted from the byte count read from thecounterBufferat thecounterBufferOffset
- 
vertexStrideis the stride in bytes between each element of the vertex data that is used to calculate the vertex count from the counter value. This value is typically the same value that was used in the graphics pipeline state when the transform feedback was captured as theXfbStride.
When the command is executed, primitives are assembled in the same way as
done with vkCmdDraw except the vertexCount is calculated based
on the byte count read from counterBuffer at offset
counterBufferOffset.
The assembled primitives execute the bound graphics pipeline.
The effective vertexCount is calculated as follows:
const uint32_t * counterBufferPtr = (const uint8_t *)counterBuffer.address + counterBufferOffset;
vertexCount = floor(max(0, (*counterBufferPtr - counterOffset)) / vertexStride);The effective firstVertex is zero.
- 
VUID-vkCmdDrawIndirectByteCountEXT-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawIndirectByteCountEXT-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndirectByteCountEXT-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawIndirectByteCountEXT-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawIndirectByteCountEXT-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawIndirectByteCountEXT-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirectByteCountEXT-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawIndirectByteCountEXT-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawIndirectByteCountEXT-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawIndirectByteCountEXT-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndirectByteCountEXT-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndirectByteCountEXT-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawIndirectByteCountEXT-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawIndirectByteCountEXT-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndirectByteCountEXT-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawIndirectByteCountEXT-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawIndirectByteCountEXT-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawIndirectByteCountEXT-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawIndirectByteCountEXT-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndirectByteCountEXT-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawIndirectByteCountEXT-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawIndirectByteCountEXT-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawIndirectByteCountEXT-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawIndirectByteCountEXT-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndirectByteCountEXT-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawIndirectByteCountEXT-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawIndirectByteCountEXT-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirectByteCountEXT-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirectByteCountEXT-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirectByteCountEXT-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirectByteCountEXT-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawIndirectByteCountEXT-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawIndirectByteCountEXT-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawIndirectByteCountEXT-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawIndirectByteCountEXT-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirectByteCountEXT-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirectByteCountEXT-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawIndirectByteCountEXT-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawIndirectByteCountEXT-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawIndirectByteCountEXT-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndirectByteCountEXT-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawIndirectByteCountEXT-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawIndirectByteCountEXT-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndirectByteCountEXT-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawIndirectByteCountEXT-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawIndirectByteCountEXT-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirectByteCountEXT-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawIndirectByteCountEXT-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawIndirectByteCountEXT-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawIndirectByteCountEXT-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawIndirectByteCountEXT-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawIndirectByteCountEXT-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawIndirectByteCountEXT-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawIndirectByteCountEXT-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawIndirectByteCountEXT-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndirectByteCountEXT-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawIndirectByteCountEXT-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-04007 
 All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must have either valid or VK_NULL_HANDLE buffers bound
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-04008 
 If thenullDescriptorfeature is not enabled, all vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface must not be VK_NULL_HANDLE
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-02721 
 If therobustBufferAccessfeature is not enabled, and that pipeline was created without enablingVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSforvertexInputs, then for a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in Vertex Input Description
- 
VUID-vkCmdDrawIndirectByteCountEXT-format-10389 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis a packed format, and thelegacyVertexAttributesfeature is not enabled, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the size of theformat
- 
VUID-vkCmdDrawIndirectByteCountEXT-format-10390 
 For each vertex attribute accessed by this command, if its VkVertexInputAttributeDescription::formator VkVertexInputAttributeDescription2EXT::formatis not a packed format, and either thelegacyVertexAttributesfeature is not enabled orformathas 64-bit components, the value ofattribAddress, calculated as described in Vertex Input Calculation, must be a multiple of the component size of theformat
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07842 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled then vkCmdSetPrimitiveTopology must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-dynamicPrimitiveTopologyUnrestricted-07500 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYdynamic state enabled and thedynamicPrimitiveTopologyUnrestrictedisVK_FALSE, then theprimitiveTopologyparameter ofvkCmdSetPrimitiveTopologymust be of the same topology class as the pipeline VkPipelineInputAssemblyStateCreateInfo::topologystate
- 
VUID-vkCmdDrawIndirectByteCountEXT-primitiveTopology-10286 
 If aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage is bound, then the current value ofprimitiveTopologymust beVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-primitiveTopology-10747 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_PATCH_LISTprior to this drawing command, then aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage must be bound
- 
VUID-vkCmdDrawIndirectByteCountEXT-primitiveTopology-10748 
 If vkCmdSetPrimitiveTopology setprimitiveTopologytoVK_PRIMITIVE_TOPOLOGY_POINT_LISTprior to this drawing command, themaintenance5feature is not enabled, both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITandVK_SHADER_STAGE_GEOMETRY_BITstage are not bound, then theVertexExecutionModelmust have aPointSizedecorated variable that is statically written to
- 
VUID-vkCmdDrawIndirectByteCountEXT-pStrides-04913 
 If the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEdynamic state enabled, but without theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, then vkCmdBindVertexBuffers2 must have been called and not subsequently invalidated in the current command buffer prior to this draw command, and thepStridesparameter of vkCmdBindVertexBuffers2 must not beNULL
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-04914 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then vkCmdSetVertexInputEXT must have been called and not subsequently invalidated in the current command buffer prior to this draw command
- 
VUID-vkCmdDrawIndirectByteCountEXT-Input-07939 
 If thevertexAttributeRobustnessfeature is not enabled, and themaintenance9feature is not enabled, and there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled then all variables with theInputstorage class decorated withLocationin theVertexExecutionModelOpEntryPointmust contain a location in VkVertexInputAttributeDescription2EXT::location
- 
VUID-vkCmdDrawIndirectByteCountEXT-Input-08734 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and either thelegacyVertexAttributesfeature is not enabled or the SPIR-V Type associated with a givenInputvariable of the correspondingLocationin theVertexExecutionModelOpEntryPointis 64-bit, then the numeric type associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be the same as VkVertexInputAttributeDescription2EXT::format
- 
VUID-vkCmdDrawIndirectByteCountEXT-format-08936 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then the scalar width associated with allInputvariables of the correspondingLocationin theVertexExecutionModelOpEntryPointmust be 64-bit
- 
VUID-vkCmdDrawIndirectByteCountEXT-format-08937 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and the scalar width associated with aLocationdecoratedInputvariable in theVertexExecutionModelOpEntryPointis 64-bit, then the corresponding VkVertexInputAttributeDescription2EXT::formatmust have a 64-bit component
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09203 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled and VkVertexInputAttributeDescription2EXT::formathas a 64-bit component, then allInputvariables at the correspondingLocationin theVertexExecutionModelOpEntryPointmust not use components that are not present in the format
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-04875 
 If there is a shader object bound to theVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage or the bound graphics pipeline state was created with both aVK_SHADER_STAGE_TESSELLATION_CONTROL_BITstage and theVK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTdynamic state enabled, and the current value ofprimitiveTopologyisVK_PRIMITIVE_TOPOLOGY_PATCH_LIST, then vkCmdSetPatchControlPointsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-04879 
 If there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09637 
 If theprimitiveTopologyListRestartfeature is not enabled, the topology isVK_PRIMITIVE_TOPOLOGY_POINT_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST,VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, orVK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, there is a shader object bound to theVK_SHADER_STAGE_VERTEX_BITstage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEdynamic state enabled then vkCmdSetPrimitiveRestartEnable must beVK_FALSE
- 
VUID-vkCmdDrawIndirectByteCountEXT-stage-06481 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-08885 
 There must be no shader object bound to either of theVK_SHADER_STAGE_TASK_BIT_EXTorVK_SHADER_STAGE_MESH_BIT_EXTstages
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-07619 
 If a shader object is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITstage and theVK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXTdynamic state enabled, then vkCmdSetTessellationDomainOriginEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawIndirectByteCountEXT-pNext-09461 
 If the bound graphics pipeline state was created with VkPipelineVertexInputDivisorStateCreateInfo in thepNextchain of VkGraphicsPipelineCreateInfo::pVertexInputState, any member of VkPipelineVertexInputDivisorStateCreateInfo::pVertexBindingDivisorshas a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDrawIndirectByteCountEXT-None-09462 
 If shader objects are used for drawing or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled, any member of thepVertexBindingDescriptionsparameter to the vkCmdSetVertexInputEXT call that sets this dynamic state has a value other than1indivisor, and VkPhysicalDeviceVertexAttributeDivisorProperties::supportsNonZeroFirstInstanceisVK_FALSE, thenfirstInstancemust be0
- 
VUID-vkCmdDrawIndirectByteCountEXT-transformFeedback-02287 
 VkPhysicalDeviceTransformFeedbackFeaturesEXT::transformFeedbackmust be enabled
- 
VUID-vkCmdDrawIndirectByteCountEXT-transformFeedbackDraw-02288 
 The implementation must supportVkPhysicalDeviceTransformFeedbackPropertiesEXT::transformFeedbackDraw
- 
VUID-vkCmdDrawIndirectByteCountEXT-vertexStride-02289 
 vertexStridemust be greater than 0 and less than or equal toVkPhysicalDeviceTransformFeedbackPropertiesEXT::maxTransformFeedbackBufferDataStride
- 
VUID-vkCmdDrawIndirectByteCountEXT-counterBuffer-04567 
 IfcounterBufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawIndirectByteCountEXT-counterBuffer-02290 
 counterBuffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawIndirectByteCountEXT-counterBufferOffset-04568 
 counterBufferOffsetmust be a multiple of4
- 
VUID-vkCmdDrawIndirectByteCountEXT-counterOffset-09474 
 counterOffsetmust be a multiple of4
- 
VUID-vkCmdDrawIndirectByteCountEXT-vertexStride-09475 
 vertexStridemust be a multiple of4
- 
VUID-vkCmdDrawIndirectByteCountEXT-commandBuffer-02646 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawIndirectByteCountEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawIndirectByteCountEXT-counterBuffer-parameter 
 counterBuffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawIndirectByteCountEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawIndirectByteCountEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawIndirectByteCountEXT-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawIndirectByteCountEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawIndirectByteCountEXT-commonparent 
 Both ofcommandBuffer, andcounterBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
22.5. Conditional Rendering
Certain rendering commands can be executed conditionally based on a value in buffer memory. These rendering commands are limited to drawing commands, dispatching commands, and clearing attachments with vkCmdClearAttachments within a conditional rendering block which is defined by commands vkCmdBeginConditionalRenderingEXT and vkCmdEndConditionalRenderingEXT. Other rendering commands remain unaffected by conditional rendering.
After beginning conditional rendering, it is considered active within the command buffer it was called until it is ended with vkCmdEndConditionalRenderingEXT.
Conditional rendering must begin and end in the same command buffer.
When conditional rendering is active, a primary command buffer can execute
secondary command buffers if the inheritedConditionalRendering feature is enabled.
For a secondary command buffer to be executed while conditional rendering is
active in the primary command buffer, it must set the
conditionalRenderingEnable flag of
VkCommandBufferInheritanceConditionalRenderingInfoEXT, as described in
the Command Buffer Recording section.
Conditional rendering must also either begin and end inside the same subpass of a render pass instance, or must both begin and end outside of a render pass instance (i.e. contain entire render pass instances).
To begin conditional rendering, call:
// Provided by VK_EXT_conditional_rendering
void vkCmdBeginConditionalRenderingEXT(
    VkCommandBuffer                             commandBuffer,
    const VkConditionalRenderingBeginInfoEXT*   pConditionalRenderingBegin);- 
commandBufferis the command buffer into which this command will be recorded.
- 
pConditionalRenderingBeginis a pointer to a VkConditionalRenderingBeginInfoEXT structure specifying parameters of conditional rendering.
- 
VUID-vkCmdBeginConditionalRenderingEXT-None-01980 
 Conditional rendering must not already be active
- 
VUID-vkCmdBeginConditionalRenderingEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdBeginConditionalRenderingEXT-pConditionalRenderingBegin-parameter 
 pConditionalRenderingBeginmust be a valid pointer to a valid VkConditionalRenderingBeginInfoEXT structure
- 
VUID-vkCmdBeginConditionalRenderingEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdBeginConditionalRenderingEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations
- 
VUID-vkCmdBeginConditionalRenderingEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Both | Outside | Graphics | Action | 
The VkConditionalRenderingBeginInfoEXT structure is defined as:
// Provided by VK_EXT_conditional_rendering
typedef struct VkConditionalRenderingBeginInfoEXT {
    VkStructureType                   sType;
    const void*                       pNext;
    VkBuffer                          buffer;
    VkDeviceSize                      offset;
    VkConditionalRenderingFlagsEXT    flags;
} VkConditionalRenderingBeginInfoEXT;- 
sTypeis a VkStructureType value identifying this structure.
- 
pNextisNULLor a pointer to a structure extending this structure.
- 
bufferis a buffer containing the predicate for conditional rendering.
- 
offsetis the byte offset intobufferwhere the predicate is located.
- 
flagsis a bitmask of VkConditionalRenderingFlagsEXT specifying the behavior of conditional rendering.
If the 32-bit value at offset in buffer memory is zero, then the
rendering commands are discarded, otherwise they are executed as normal.
If the value of the predicate in buffer memory changes while conditional
rendering is active, the rendering commands may be discarded in an
implementation-dependent way.
Some implementations may latch the value of the predicate upon beginning
conditional rendering while others may read it before every rendering
command.
- 
VUID-VkConditionalRenderingBeginInfoEXT-buffer-01981 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-VkConditionalRenderingBeginInfoEXT-buffer-01982 
 buffermust have been created with theVK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXTbit set
- 
VUID-VkConditionalRenderingBeginInfoEXT-offset-01983 
 offsetmust be less than the size ofbufferby at least 32 bits
- 
VUID-VkConditionalRenderingBeginInfoEXT-offset-01984 
 offsetmust be a multiple of 4
- 
VUID-VkConditionalRenderingBeginInfoEXT-sType-sType 
 sTypemust beVK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT
- 
VUID-VkConditionalRenderingBeginInfoEXT-pNext-pNext 
 pNextmust beNULL
- 
VUID-VkConditionalRenderingBeginInfoEXT-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-VkConditionalRenderingBeginInfoEXT-flags-parameter 
 flagsmust be a valid combination of VkConditionalRenderingFlagBitsEXT values
Bits which can be set in
vkCmdBeginConditionalRenderingEXT::flags, specifying the
behavior of conditional rendering, are:
// Provided by VK_EXT_conditional_rendering
typedef enum VkConditionalRenderingFlagBitsEXT {
    VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT = 0x00000001,
} VkConditionalRenderingFlagBitsEXT;- 
VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXTspecifies the condition used to determine whether to discard rendering commands or not. That is, if the 32-bit predicate read frombuffermemory atoffsetis zero, the rendering commands are not discarded, and if non zero, then they are discarded.
// Provided by VK_EXT_conditional_rendering
typedef VkFlags VkConditionalRenderingFlagsEXT;VkConditionalRenderingFlagsEXT is a bitmask type for setting a mask of
zero or more VkConditionalRenderingFlagBitsEXT.
To end conditional rendering, call:
// Provided by VK_EXT_conditional_rendering
void vkCmdEndConditionalRenderingEXT(
    VkCommandBuffer                             commandBuffer);- 
commandBufferis the command buffer into which this command will be recorded.
Once ended, conditional rendering becomes inactive.
- 
VUID-vkCmdEndConditionalRenderingEXT-None-01985 
 Conditional rendering must be active
- 
VUID-vkCmdEndConditionalRenderingEXT-None-01986 
 If conditional rendering was made active outside of a render pass instance, it must not be ended inside a render pass instance
- 
VUID-vkCmdEndConditionalRenderingEXT-None-01987 
 If conditional rendering was made active within a subpass it must be ended in the same subpass
- 
VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations
- 
VUID-vkCmdEndConditionalRenderingEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Both | Outside | Graphics | Action | 
22.6. Programmable Mesh Shading
In this drawing approach, primitives are assembled by the mesh shader stage. Mesh shading operates similarly to dispatching compute as the shaders make use of workgroups.
To record a mesh tasks drawing command, call:
// Provided by VK_NV_mesh_shader
void vkCmdDrawMeshTasksNV(
    VkCommandBuffer                             commandBuffer,
    uint32_t                                    taskCount,
    uint32_t                                    firstTask);- 
commandBufferis the command buffer into which the command will be recorded.
- 
taskCountis the number of local workgroups to dispatch in the X dimension. Y and Z dimension are implicitly set to one.
- 
firstTaskis the X component of the first workgroup ID.
When the command is executed, a global workgroup consisting of
taskCount local workgroups is assembled.
- 
VUID-vkCmdDrawMeshTasksNV-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksNV-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksNV-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksNV-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksNV-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawMeshTasksNV-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawMeshTasksNV-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawMeshTasksNV-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawMeshTasksNV-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawMeshTasksNV-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksNV-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksNV-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawMeshTasksNV-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawMeshTasksNV-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksNV-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksNV-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksNV-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksNV-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksNV-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawMeshTasksNV-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksNV-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksNV-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksNV-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksNV-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksNV-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawMeshTasksNV-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksNV-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksNV-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksNV-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksNV-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawMeshTasksNV-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawMeshTasksNV-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawMeshTasksNV-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawMeshTasksNV-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawMeshTasksNV-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawMeshTasksNV-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksNV-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksNV-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksNV-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksNV-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksNV-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksNV-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksNV-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksNV-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawMeshTasksNV-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksNV-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawMeshTasksNV-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawMeshTasksNV-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawMeshTasksNV-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawMeshTasksNV-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawMeshTasksNV-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawMeshTasksNV-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawMeshTasksNV-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksNV-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksNV-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawMeshTasksNV-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawMeshTasksNV-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawMeshTasksNV-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawMeshTasksNV-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawMeshTasksNV-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksNV-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawMeshTasksNV-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksNV-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksNV-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksNV-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawMeshTasksNV-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawMeshTasksNV-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawMeshTasksNV-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawMeshTasksNV-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksNV-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawMeshTasksNV-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawMeshTasksNV-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksNV-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksNV-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksNV-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawMeshTasksNV-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawMeshTasksNV-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksNV-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksNV-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksNV-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksNV-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksNV-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksNV-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawMeshTasksNV-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksNV-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksNV-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksNV-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawMeshTasksNV-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawMeshTasksNV-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawMeshTasksNV-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksNV-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawMeshTasksNV-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawMeshTasksNV-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksNV-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksNV-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksNV-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksNV-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksNV-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksNV-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawMeshTasksNV-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksNV-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksNV-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawMeshTasksNV-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawMeshTasksNV-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawMeshTasksNV-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksNV-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksNV-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksNV-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawMeshTasksNV-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawMeshTasksNV-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksNV-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksNV-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawMeshTasksNV-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawMeshTasksNV-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksNV-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksNV-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksNV-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksNV-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksNV-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksNV-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksNV-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawMeshTasksNV-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksNV-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksNV-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawMeshTasksNV-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawMeshTasksNV-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksNV-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksNV-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawMeshTasksNV-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksNV-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawMeshTasksNV-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksNV-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksNV-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksNV-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawMeshTasksNV-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawMeshTasksNV-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawMeshTasksNV-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksNV-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawMeshTasksNV-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksNV-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksNV-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawMeshTasksNV-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksNV-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawMeshTasksNV-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawMeshTasksNV-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawMeshTasksNV-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksNV-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawMeshTasksNV-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawMeshTasksNV-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawMeshTasksNV-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawMeshTasksNV-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksNV-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksNV-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawMeshTasksNV-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawMeshTasksNV-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawMeshTasksNV-stage-06480 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksNV-pStages-10680 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust not have last bound thepStageselement ofVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITwith a valid shader object other than VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksNV-None-07074 
 Transform Feedback Queries must not be active
- 
VUID-vkCmdDrawMeshTasksNV-None-07075 
 Primitives Generated Queries must not be active
- 
VUID-vkCmdDrawMeshTasksNV-pipelineStatistics-07076 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, orVK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
- 
VUID-vkCmdDrawMeshTasksNV-None-08694 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created without theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, a validVkShaderEXTmust be bound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksNV-None-08695 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created with theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, there must be noVkShaderEXTbound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksNV-taskCount-02119 
 taskCountmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesNV::maxDrawMeshTasksCount
- 
VUID-vkCmdDrawMeshTasksNV-MeshNV-07080 
 The current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSmust contain a shader stage using theMeshNVExecutionModel
- 
VUID-vkCmdDrawMeshTasksNV-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawMeshTasksNV-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawMeshTasksNV-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawMeshTasksNV-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawMeshTasksNV-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
To record an indirect mesh tasks drawing command, call:
// Provided by VK_NV_mesh_shader
void vkCmdDrawMeshTasksIndirectNV(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    uint32_t                                    drawCount,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
- 
drawCountis the number of draws to execute, and can be zero.
- 
strideis the byte stride between successive sets of draw parameters.
vkCmdDrawMeshTasksIndirectNV behaves similarly to
vkCmdDrawMeshTasksNV except that the parameters are read by the device
from a buffer during execution.
drawCount draws are executed by the command, with parameters taken
from buffer starting at offset and increasing by stride
bytes for each successive draw.
The parameters of each draw are encoded in an array of
VkDrawMeshTasksIndirectCommandNV structures.
If drawCount is less than or equal to one, stride is ignored.
- 
VUID-vkCmdDrawMeshTasksIndirectNV-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawMeshTasksIndirectNV-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksIndirectNV-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksIndirectNV-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawMeshTasksIndirectNV-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectNV-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectNV-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawMeshTasksIndirectNV-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawMeshTasksIndirectNV-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksIndirectNV-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksIndirectNV-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksIndirectNV-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawMeshTasksIndirectNV-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawMeshTasksIndirectNV-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksIndirectNV-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawMeshTasksIndirectNV-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawMeshTasksIndirectNV-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksIndirectNV-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksIndirectNV-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawMeshTasksIndirectNV-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectNV-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectNV-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectNV-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectNV-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectNV-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawMeshTasksIndirectNV-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectNV-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawMeshTasksIndirectNV-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawMeshTasksIndirectNV-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectNV-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectNV-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectNV-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectNV-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawMeshTasksIndirectNV-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksIndirectNV-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawMeshTasksIndirectNV-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawMeshTasksIndirectNV-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectNV-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectNV-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawMeshTasksIndirectNV-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectNV-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawMeshTasksIndirectNV-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectNV-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawMeshTasksIndirectNV-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawMeshTasksIndirectNV-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawMeshTasksIndirectNV-stage-06480 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pStages-10680 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust not have last bound thepStageselement ofVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITwith a valid shader object other than VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07074 
 Transform Feedback Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-07075 
 Primitives Generated Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectNV-pipelineStatistics-07076 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, orVK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08694 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created without theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, a validVkShaderEXTmust be bound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectNV-None-08695 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created with theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, there must be noVkShaderEXTbound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectNV-buffer-02708 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawMeshTasksIndirectNV-buffer-02709 
 buffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawMeshTasksIndirectNV-offset-02710 
 offsetmust be a multiple of4
- 
VUID-vkCmdDrawMeshTasksIndirectNV-commandBuffer-02711 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawMeshTasksIndirectNV-drawCount-02718 
 If themultiDrawIndirectfeature is not enabled,drawCountmust be0or1
- 
VUID-vkCmdDrawMeshTasksIndirectNV-drawCount-02719 
 drawCountmust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawMeshTasksIndirectNV-drawCount-02146 
 IfdrawCountis greater than1,stridemust be a multiple of4and must be greater than or equal tosizeof(VkDrawMeshTasksIndirectCommandNV)
- 
VUID-vkCmdDrawMeshTasksIndirectNV-drawCount-02156 
 IfdrawCountis equal to1, (offset+sizeof(VkDrawMeshTasksIndirectCommandNV)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawMeshTasksIndirectNV-drawCount-02157 
 IfdrawCountis greater than1, (stride× (drawCount- 1) +offset+sizeof(VkDrawMeshTasksIndirectCommandNV)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawMeshTasksIndirectNV-MeshNV-07081 
 The current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSmust contain a shader stage using theMeshNVExecutionModel
- 
VUID-vkCmdDrawMeshTasksIndirectNV-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectNV-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectNV-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawMeshTasksIndirectNV-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawMeshTasksIndirectNV-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawMeshTasksIndirectNV-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawMeshTasksIndirectNV-commonparent 
 Both ofbuffer, andcommandBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
The VkDrawMeshTasksIndirectCommandNV structure is defined as:
// Provided by VK_NV_mesh_shader
typedef struct VkDrawMeshTasksIndirectCommandNV {
    uint32_t    taskCount;
    uint32_t    firstTask;
} VkDrawMeshTasksIndirectCommandNV;- 
taskCountis the number of local workgroups to dispatch in the X dimension. Y and Z dimension are implicitly set to one.
- 
firstTaskis the X component of the first workgroup ID.
The members of VkDrawMeshTasksIndirectCommandNV have the same meaning
as the similarly named parameters of vkCmdDrawMeshTasksNV.
To record an indirect mesh tasks drawing command with the draw count sourced from a buffer, call:
// Provided by VK_NV_mesh_shader with VK_KHR_draw_indirect_count or VK_VERSION_1_2
void vkCmdDrawMeshTasksIndirectCountNV(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkBuffer                                    countBuffer,
    VkDeviceSize                                countBufferOffset,
    uint32_t                                    maxDrawCount,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
- 
countBufferis the buffer containing the draw count.
- 
countBufferOffsetis the byte offset intocountBufferwhere the draw count begins.
- 
maxDrawCountspecifies the maximum number of draws that will be executed. The actual number of executed draw calls is the minimum of the count specified incountBufferandmaxDrawCount.
- 
strideis the byte stride between successive sets of draw parameters.
vkCmdDrawMeshTasksIndirectCountNV behaves similarly to
vkCmdDrawMeshTasksIndirectNV except that the draw count is read by the
device from a buffer during execution.
The command will read an unsigned 32-bit integer from countBuffer
located at countBufferOffset and use this as the draw count.
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-stage-06480 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pStages-10680 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust not have last bound thepStageselement ofVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITwith a valid shader object other than VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07074 
 Transform Feedback Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-07075 
 Primitives Generated Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-pipelineStatistics-07076 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, orVK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08694 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created without theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, a validVkShaderEXTmust be bound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-08695 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created with theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, there must be noVkShaderEXTbound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-buffer-02708 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-buffer-02709 
 buffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-offset-02710 
 offsetmust be a multiple of4
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-commandBuffer-02711 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-countBuffer-02714 
 IfcountBufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-countBuffer-02715 
 countBuffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-countBufferOffset-02716 
 countBufferOffsetmust be a multiple of4
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-countBuffer-02717 
 The count stored incountBuffermust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-countBufferOffset-04129 
 (countBufferOffset+sizeof(uint32_t)) must be less than or equal to the size ofcountBuffer
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-None-04445 
 If thedrawIndirectCountfeature is not enabled this function must not be used
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-stride-02182 
 stridemust be a multiple of4and must be greater than or equal tosizeof(VkDrawMeshTasksIndirectCommandNV)
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-maxDrawCount-02183 
 IfmaxDrawCountis greater than or equal to1, (stride× (maxDrawCount- 1) +offset+sizeof(VkDrawMeshTasksIndirectCommandNV)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-MeshNV-07082 
 The current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSmust contain a shader stage using theMeshNVExecutionModel
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-countBuffer-parameter 
 countBuffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawMeshTasksIndirectCountNV-commonparent 
 Each ofbuffer,commandBuffer, andcountBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
To record a mesh tasks drawing command, call:
// Provided by VK_EXT_mesh_shader
void vkCmdDrawMeshTasksEXT(
    VkCommandBuffer                             commandBuffer,
    uint32_t                                    groupCountX,
    uint32_t                                    groupCountY,
    uint32_t                                    groupCountZ);- 
commandBufferis the command buffer into which the command will be recorded.
- 
groupCountXis the number of local workgroups to dispatch in the X dimension.
- 
groupCountYis the number of local workgroups to dispatch in the Y dimension.
- 
groupCountZis the number of local workgroups to dispatch in the Z dimension.
When the command is executed, a global workgroup consisting of
groupCountX × groupCountY × groupCountZ
local workgroups is assembled.
- 
VUID-vkCmdDrawMeshTasksEXT-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawMeshTasksEXT-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawMeshTasksEXT-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawMeshTasksEXT-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawMeshTasksEXT-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawMeshTasksEXT-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksEXT-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksEXT-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawMeshTasksEXT-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksEXT-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksEXT-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawMeshTasksEXT-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksEXT-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksEXT-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksEXT-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawMeshTasksEXT-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksEXT-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksEXT-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksEXT-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksEXT-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawMeshTasksEXT-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawMeshTasksEXT-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawMeshTasksEXT-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksEXT-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksEXT-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksEXT-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksEXT-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksEXT-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawMeshTasksEXT-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksEXT-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawMeshTasksEXT-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawMeshTasksEXT-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawMeshTasksEXT-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawMeshTasksEXT-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawMeshTasksEXT-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawMeshTasksEXT-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawMeshTasksEXT-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksEXT-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksEXT-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawMeshTasksEXT-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawMeshTasksEXT-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawMeshTasksEXT-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawMeshTasksEXT-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawMeshTasksEXT-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksEXT-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawMeshTasksEXT-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksEXT-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksEXT-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksEXT-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawMeshTasksEXT-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawMeshTasksEXT-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawMeshTasksEXT-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawMeshTasksEXT-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksEXT-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawMeshTasksEXT-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksEXT-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksEXT-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksEXT-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawMeshTasksEXT-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawMeshTasksEXT-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksEXT-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksEXT-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksEXT-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksEXT-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksEXT-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksEXT-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawMeshTasksEXT-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawMeshTasksEXT-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawMeshTasksEXT-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksEXT-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawMeshTasksEXT-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawMeshTasksEXT-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksEXT-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksEXT-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksEXT-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksEXT-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawMeshTasksEXT-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksEXT-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksEXT-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawMeshTasksEXT-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawMeshTasksEXT-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawMeshTasksEXT-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksEXT-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksEXT-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksEXT-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawMeshTasksEXT-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawMeshTasksEXT-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawMeshTasksEXT-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksEXT-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksEXT-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksEXT-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksEXT-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawMeshTasksEXT-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksEXT-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksEXT-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawMeshTasksEXT-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksEXT-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawMeshTasksEXT-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksEXT-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawMeshTasksEXT-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksEXT-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksEXT-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksEXT-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawMeshTasksEXT-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawMeshTasksEXT-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksEXT-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksEXT-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksEXT-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawMeshTasksEXT-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksEXT-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawMeshTasksEXT-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawMeshTasksEXT-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawMeshTasksEXT-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksEXT-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawMeshTasksEXT-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawMeshTasksEXT-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawMeshTasksEXT-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawMeshTasksEXT-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksEXT-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksEXT-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawMeshTasksEXT-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawMeshTasksEXT-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawMeshTasksEXT-stage-06480 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-pStages-10680 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust not have last bound thepStageselement ofVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITwith a valid shader object other than VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksEXT-None-07074 
 Transform Feedback Queries must not be active
- 
VUID-vkCmdDrawMeshTasksEXT-None-07075 
 Primitives Generated Queries must not be active
- 
VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, orVK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
- 
VUID-vkCmdDrawMeshTasksEXT-None-08694 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created without theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, a validVkShaderEXTmust be bound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksEXT-None-08695 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created with theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, there must be noVkShaderEXTbound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksEXT-TaskEXT-07322 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICScontains a shader using theTaskEXTExecutionModel,groupCountXmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxTaskWorkGroupCount[0]
- 
VUID-vkCmdDrawMeshTasksEXT-TaskEXT-07323 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICScontains a shader using theTaskEXTExecutionModel,groupCountYmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxTaskWorkGroupCount[1]
- 
VUID-vkCmdDrawMeshTasksEXT-TaskEXT-07324 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICScontains a shader using theTaskEXTExecutionModel,groupCountZmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxTaskWorkGroupCount[2]
- 
VUID-vkCmdDrawMeshTasksEXT-TaskEXT-07325 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICScontains a shader using theTaskEXTExecutionModel, The product ofgroupCountX,groupCountYandgroupCountZmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxTaskWorkGroupTotalCount
- 
VUID-vkCmdDrawMeshTasksEXT-TaskEXT-07326 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSdoes not contain a shader using theTaskEXTExecutionModel,groupCountXmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxMeshWorkGroupCount[0]
- 
VUID-vkCmdDrawMeshTasksEXT-TaskEXT-07327 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSdoes not contain a shader using theTaskEXTExecutionModel,groupCountYmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxMeshWorkGroupCount[1]
- 
VUID-vkCmdDrawMeshTasksEXT-TaskEXT-07328 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSdoes not contain a shader using theTaskEXTExecutionModel,groupCountZmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxMeshWorkGroupCount[2]
- 
VUID-vkCmdDrawMeshTasksEXT-TaskEXT-07329 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSdoes not contain a shader using theTaskEXTExecutionModel, The product ofgroupCountX,groupCountYandgroupCountZmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxMeshWorkGroupTotalCount
- 
VUID-vkCmdDrawMeshTasksEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawMeshTasksEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawMeshTasksEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawMeshTasksEXT-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawMeshTasksEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
To record an indirect mesh tasks drawing command, call:
// Provided by VK_EXT_mesh_shader
void vkCmdDrawMeshTasksIndirectEXT(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    uint32_t                                    drawCount,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
- 
drawCountis the number of draws to execute, and can be zero.
- 
strideis the byte stride between successive sets of draw parameters.
vkCmdDrawMeshTasksIndirectEXT behaves similarly to
vkCmdDrawMeshTasksEXT except that the parameters are read by the
device from a buffer during execution.
drawCount draws are executed by the command, with parameters taken
from buffer starting at offset and increasing by stride
bytes for each successive draw.
The parameters of each draw are encoded in an array of
VkDrawMeshTasksIndirectCommandEXT structures.
If drawCount is less than or equal to one, stride is ignored.
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-stage-06480 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pStages-10680 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust not have last bound thepStageselement ofVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITwith a valid shader object other than VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07074 
 Transform Feedback Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-07075 
 Primitives Generated Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-pipelineStatistics-07076 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, orVK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08694 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created without theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, a validVkShaderEXTmust be bound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-None-08695 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created with theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, there must be noVkShaderEXTbound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-buffer-02708 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-buffer-02709 
 buffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-offset-02710 
 offsetmust be a multiple of4
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-commandBuffer-02711 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-drawCount-02718 
 If themultiDrawIndirectfeature is not enabled,drawCountmust be0or1
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-drawCount-02719 
 drawCountmust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-drawCount-07088 
 IfdrawCountis greater than1,stridemust be a multiple of4and must be greater than or equal tosizeof(VkDrawMeshTasksIndirectCommandEXT)
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-drawCount-07089 
 IfdrawCountis equal to1, (offset+sizeof(VkDrawMeshTasksIndirectCommandEXT)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-drawCount-07090 
 IfdrawCountis greater than1, (stride× (drawCount- 1) +offset+sizeof(VkDrawMeshTasksIndirectCommandEXT)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-MeshEXT-07091 
 The current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSmust contain a shader stage using theMeshEXTExecutionModel
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawMeshTasksIndirectEXT-commonparent 
 Both ofbuffer, andcommandBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
The VkDrawMeshTasksIndirectCommandEXT structure is defined as:
// Provided by VK_EXT_mesh_shader
typedef struct VkDrawMeshTasksIndirectCommandEXT {
    uint32_t    groupCountX;
    uint32_t    groupCountY;
    uint32_t    groupCountZ;
} VkDrawMeshTasksIndirectCommandEXT;- 
groupCountXis the number of local workgroups to dispatch in the X dimension.
- 
groupCountYis the number of local workgroups to dispatch in the Y dimension.
- 
groupCountZis the number of local workgroups to dispatch in the Z dimension.
The members of VkDrawMeshTasksIndirectCommandEXT have the same meaning
as the similarly named parameters of vkCmdDrawMeshTasksEXT.
- 
VUID-VkDrawMeshTasksIndirectCommandEXT-TaskEXT-07322 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICScontains a shader using theTaskEXTExecutionModel,groupCountXmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxTaskWorkGroupCount[0]
- 
VUID-VkDrawMeshTasksIndirectCommandEXT-TaskEXT-07323 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICScontains a shader using theTaskEXTExecutionModel,groupCountYmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxTaskWorkGroupCount[1]
- 
VUID-VkDrawMeshTasksIndirectCommandEXT-TaskEXT-07324 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICScontains a shader using theTaskEXTExecutionModel,groupCountZmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxTaskWorkGroupCount[2]
- 
VUID-VkDrawMeshTasksIndirectCommandEXT-TaskEXT-07325 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICScontains a shader using theTaskEXTExecutionModel, The product ofgroupCountX,groupCountYandgroupCountZmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxTaskWorkGroupTotalCount
- 
VUID-VkDrawMeshTasksIndirectCommandEXT-TaskEXT-07326 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSdoes not contain a shader using theTaskEXTExecutionModel,groupCountXmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxMeshWorkGroupCount[0]
- 
VUID-VkDrawMeshTasksIndirectCommandEXT-TaskEXT-07327 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSdoes not contain a shader using theTaskEXTExecutionModel,groupCountYmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxMeshWorkGroupCount[1]
- 
VUID-VkDrawMeshTasksIndirectCommandEXT-TaskEXT-07328 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSdoes not contain a shader using theTaskEXTExecutionModel,groupCountZmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxMeshWorkGroupCount[2]
- 
VUID-VkDrawMeshTasksIndirectCommandEXT-TaskEXT-07329 
 If the current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSdoes not contain a shader using theTaskEXTExecutionModel, The product ofgroupCountX,groupCountYandgroupCountZmust be less than or equal toVkPhysicalDeviceMeshShaderPropertiesEXT::maxMeshWorkGroupTotalCount
To record an indirect mesh tasks drawing command with the draw count sourced from a buffer, call:
// Provided by VK_EXT_mesh_shader with VK_KHR_draw_indirect_count or VK_VERSION_1_2
void vkCmdDrawMeshTasksIndirectCountEXT(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset,
    VkBuffer                                    countBuffer,
    VkDeviceSize                                countBufferOffset,
    uint32_t                                    maxDrawCount,
    uint32_t                                    stride);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
- 
countBufferis the buffer containing the draw count.
- 
countBufferOffsetis the byte offset intocountBufferwhere the draw count begins.
- 
maxDrawCountspecifies the maximum number of draws that will be executed. The actual number of executed draw calls is the minimum of the count specified incountBufferandmaxDrawCount.
- 
strideis the byte stride between successive sets of draw parameters.
vkCmdDrawMeshTasksIndirectCountEXT behaves similarly to
vkCmdDrawMeshTasksIndirectEXT except that the draw count is read by
the device from a buffer during execution.
The command will read an unsigned 32-bit integer from countBuffer
located at countBufferOffset and use this as the draw count.
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-stage-06480 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pStages-10680 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust not have last bound thepStageselement ofVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITwith a valid shader object other than VK_NULL_HANDLE
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07074 
 Transform Feedback Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-07075 
 Primitives Generated Queries must not be active
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-pipelineStatistics-07076 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, orVK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08694 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created without theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, a validVkShaderEXTmust be bound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-08695 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created with theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, there must be noVkShaderEXTbound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-buffer-02708 
 Ifbufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-buffer-02709 
 buffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-offset-02710 
 offsetmust be a multiple of4
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-commandBuffer-02711 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-countBuffer-02714 
 IfcountBufferis non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-countBuffer-02715 
 countBuffermust have been created with theVK_BUFFER_USAGE_INDIRECT_BUFFER_BITbit set
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-countBufferOffset-02716 
 countBufferOffsetmust be a multiple of4
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-countBuffer-02717 
 The count stored incountBuffermust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-countBufferOffset-04129 
 (countBufferOffset+sizeof(uint32_t)) must be less than or equal to the size ofcountBuffer
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-None-04445 
 If thedrawIndirectCountfeature is not enabled this function must not be used
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-stride-07096 
 stridemust be a multiple of4and must be greater than or equal tosizeof(VkDrawMeshTasksIndirectCommandEXT)
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-maxDrawCount-07097 
 IfmaxDrawCountis greater than or equal to1, (stride× (maxDrawCount- 1) +offset+sizeof(VkDrawMeshTasksIndirectCommandEXT)) must be less than or equal to the size ofbuffer
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-MeshEXT-07100 
 The current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSmust contain a shader stage using theMeshEXTExecutionModel
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-countBuffer-parameter 
 countBuffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawMeshTasksIndirectCountEXT-commonparent 
 Each ofbuffer,commandBuffer, andcountBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
22.7. Programmable Cluster Culling Shading
In this drawing approach, cluster are generated by the cluster culling shader stage. It operates similarly to dispatching compute as the shaders make use of workgroups.
To record a cluster culling shader drawing command, call:
// Provided by VK_HUAWEI_cluster_culling_shader
void vkCmdDrawClusterHUAWEI(
    VkCommandBuffer                             commandBuffer,
    uint32_t                                    groupCountX,
    uint32_t                                    groupCountY,
    uint32_t                                    groupCountZ);- 
commandBufferis the command buffer into which the command will be recorded.
- 
groupCountXis the number of local workgroups to dispatch in the X dimension.
- 
groupCountYis the number of local workgroups to dispatch in the Y dimension.
- 
groupCountZis the number of local workgroups to dispatch in the Z dimension.
When the command is executed,a global workgroup consisting of
groupCountX*groupCountY*groupCountZ local workgroup is assembled.
Note that the cluster culling shader pipeline only accepts
vkCmdDrawClusterHUAWEI and vkCmdDrawClusterIndirectHUAWEI as
drawing commands.
- 
VUID-vkCmdDrawClusterHUAWEI-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawClusterHUAWEI-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawClusterHUAWEI-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawClusterHUAWEI-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawClusterHUAWEI-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawClusterHUAWEI-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawClusterHUAWEI-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawClusterHUAWEI-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawClusterHUAWEI-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawClusterHUAWEI-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawClusterHUAWEI-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawClusterHUAWEI-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawClusterHUAWEI-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawClusterHUAWEI-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawClusterHUAWEI-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawClusterHUAWEI-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawClusterHUAWEI-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawClusterHUAWEI-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawClusterHUAWEI-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawClusterHUAWEI-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawClusterHUAWEI-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawClusterHUAWEI-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawClusterHUAWEI-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawClusterHUAWEI-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawClusterHUAWEI-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawClusterHUAWEI-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawClusterHUAWEI-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawClusterHUAWEI-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawClusterHUAWEI-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawClusterHUAWEI-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawClusterHUAWEI-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawClusterHUAWEI-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawClusterHUAWEI-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawClusterHUAWEI-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawClusterHUAWEI-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawClusterHUAWEI-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawClusterHUAWEI-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawClusterHUAWEI-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawClusterHUAWEI-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawClusterHUAWEI-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawClusterHUAWEI-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawClusterHUAWEI-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawClusterHUAWEI-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawClusterHUAWEI-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawClusterHUAWEI-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawClusterHUAWEI-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawClusterHUAWEI-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawClusterHUAWEI-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawClusterHUAWEI-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawClusterHUAWEI-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawClusterHUAWEI-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawClusterHUAWEI-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawClusterHUAWEI-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawClusterHUAWEI-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawClusterHUAWEI-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawClusterHUAWEI-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawClusterHUAWEI-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawClusterHUAWEI-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawClusterHUAWEI-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawClusterHUAWEI-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawClusterHUAWEI-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawClusterHUAWEI-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawClusterHUAWEI-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawClusterHUAWEI-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawClusterHUAWEI-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawClusterHUAWEI-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawClusterHUAWEI-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawClusterHUAWEI-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawClusterHUAWEI-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawClusterHUAWEI-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawClusterHUAWEI-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawClusterHUAWEI-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawClusterHUAWEI-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawClusterHUAWEI-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawClusterHUAWEI-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawClusterHUAWEI-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawClusterHUAWEI-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawClusterHUAWEI-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterHUAWEI-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawClusterHUAWEI-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawClusterHUAWEI-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawClusterHUAWEI-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawClusterHUAWEI-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawClusterHUAWEI-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawClusterHUAWEI-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawClusterHUAWEI-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawClusterHUAWEI-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawClusterHUAWEI-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawClusterHUAWEI-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawClusterHUAWEI-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawClusterHUAWEI-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawClusterHUAWEI-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawClusterHUAWEI-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterHUAWEI-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterHUAWEI-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawClusterHUAWEI-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawClusterHUAWEI-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawClusterHUAWEI-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterHUAWEI-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawClusterHUAWEI-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawClusterHUAWEI-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawClusterHUAWEI-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawClusterHUAWEI-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawClusterHUAWEI-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawClusterHUAWEI-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterHUAWEI-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawClusterHUAWEI-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawClusterHUAWEI-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawClusterHUAWEI-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawClusterHUAWEI-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawClusterHUAWEI-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawClusterHUAWEI-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawClusterHUAWEI-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawClusterHUAWEI-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawClusterHUAWEI-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawClusterHUAWEI-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawClusterHUAWEI-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawClusterHUAWEI-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawClusterHUAWEI-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawClusterHUAWEI-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawClusterHUAWEI-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawClusterHUAWEI-stage-06480 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-pStages-10680 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust not have last bound thepStageselement ofVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITwith a valid shader object other than VK_NULL_HANDLE
- 
VUID-vkCmdDrawClusterHUAWEI-None-07074 
 Transform Feedback Queries must not be active
- 
VUID-vkCmdDrawClusterHUAWEI-None-07075 
 Primitives Generated Queries must not be active
- 
VUID-vkCmdDrawClusterHUAWEI-pipelineStatistics-07076 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, orVK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
- 
VUID-vkCmdDrawClusterHUAWEI-None-08694 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created without theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, a validVkShaderEXTmust be bound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawClusterHUAWEI-None-08695 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created with theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, there must be noVkShaderEXTbound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawClusterHUAWEI-None-07819 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_TASK_SHADER_INVOCATIONS_BIT_EXT, orVK_QUERY_PIPELINE_STATISTIC_MESH_SHADER_INVOCATIONS_BIT_EXT
- 
VUID-vkCmdDrawClusterHUAWEI-groupCountX-07820 
 groupCountXmust be less than or equal toVkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI::maxWorkGroupCount[0]
- 
VUID-vkCmdDrawClusterHUAWEI-groupCountY-07821 
 groupCountYmust be less than or equal toVkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI::maxWorkGroupCount[1]
- 
VUID-vkCmdDrawClusterHUAWEI-groupCountZ-07822 
 groupCountZmust be less than or equal toVkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI::maxWorkGroupCount[2]
- 
VUID-vkCmdDrawClusterHUAWEI-ClusterCullingHUAWEI-07823 
 The current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSmust contain a shader stage using theClusterCullingHUAWEIExecutionModel
- 
VUID-vkCmdDrawClusterHUAWEI-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawClusterHUAWEI-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawClusterHUAWEI-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawClusterHUAWEI-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawClusterHUAWEI-videocoding 
 This command must only be called outside of a video coding scope
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action | 
To record an indirect cluster culling drawing command, call:
// Provided by VK_HUAWEI_cluster_culling_shader
void vkCmdDrawClusterIndirectHUAWEI(
    VkCommandBuffer                             commandBuffer,
    VkBuffer                                    buffer,
    VkDeviceSize                                offset);- 
commandBufferis the command buffer into which the command is recorded.
- 
bufferis the buffer containing draw parameters.
- 
offsetis the byte offset intobufferwhere parameters begin.
vkCmdDrawClusterIndirectHUAWEI behaves similarly to
vkCmdDrawClusterHUAWEI except that the parameters are read by the
device from a buffer during execution.
The parameters of the dispatch are encoded in a
VkDispatchIndirectCommand structure taken from buffer starting at
offset.
Note the cluster culling shader pipeline only accepts
vkCmdDrawClusterHUAWEI and vkCmdDrawClusterIndirectHUAWEI as
drawing commands.
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-magFilter-04553 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-magFilter-09598 
 If a VkSampler created withmagFilterorminFilterequal toVK_FILTER_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-mipmapMode-04770 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEAR,reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, andcompareEnableequal toVK_FALSEis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-mipmapMode-09599 
 If a VkSampler created withmipmapModeequal toVK_SAMPLER_MIPMAP_MODE_LINEARandreductionModeequal to eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-unnormalizedCoordinates-09635 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’slevelCountandlayerCountmust be 1
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08609 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the image view’sviewTypemust beVK_IMAGE_VIEW_TYPE_1DorVK_IMAGE_VIEW_TYPE_2D
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08610 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions withImplicitLod,DreforProjin their name
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08611 
 If a VkSampler created withunnormalizedCoordinatesequal toVK_TRUEis used to sample a VkImageView as a result of this command, then the sampler must not be used with any of the SPIR-VOpImageSample*orOpImageSparseSample*instructions that includes a LOD bias or any offset values
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-06479 
 If a VkImageView is sampled with depth comparison, the image view’s format features must containVK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-02691 
 If a VkImageView is accessed using atomic operations as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07888 
 If aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor is accessed using atomic operations as a result of this command, then the storage texel buffer’s format features must containVK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-02692 
 If a VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-02693 
 If the VK_EXT_filter_cubic extension is not enabled and any VkImageView is sampled withVK_FILTER_CUBIC_EXTas a result of this command, it must not have a VkImageViewType ofVK_IMAGE_VIEW_TYPE_3D,VK_IMAGE_VIEW_TYPE_CUBE, orVK_IMAGE_VIEW_TYPE_CUBE_ARRAY
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-filterCubic-02694 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have a VkImageViewType and format that supports cubic filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-filterCubicMinmax-02695 
 Any VkImageView being sampled withVK_FILTER_CUBIC_EXTwith a reduction mode of eitherVK_SAMPLER_REDUCTION_MODE_MINorVK_SAMPLER_REDUCTION_MODE_MAXas a result of this command must have a VkImageViewType and format that supports cubic filtering together with minmax filtering, as specified by VkFilterCubicImageViewImageFormatPropertiesEXT::filterCubicMinmaxreturned by vkGetPhysicalDeviceImageFormatProperties2
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-cubicRangeClamp-09212 
 If thecubicRangeClampfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must not have a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-reductionMode-09213 
 Any VkImageView being sampled with a VkSamplerReductionModeCreateInfo::reductionModeequal toVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOMas a result of this command must sample withVK_FILTER_CUBIC_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-selectableCubicWeights-09214 
 If theselectableCubicWeightsfeature is not enabled, then any VkImageView being sampled withVK_FILTER_CUBIC_EXTas a result of this command must have VkSamplerCubicWeightsCreateInfoQCOM::cubicWeightsequal toVK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-flags-02696 
 Any VkImage created with a VkImageCreateInfo::flagscontainingVK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NVsampled as a result of this command must only be sampled using a VkSamplerAddressMode ofVK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpTypeImage-07027 
 For any VkImageView being written as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpTypeImage-07028 
 For any VkImageView being read as a storage image where the image format field of theOpTypeImageisUnknown, the view’s format features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpTypeImage-07029 
 For any VkBufferView being written as a storage texel buffer where the image format field of theOpTypeImageisUnknown, the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpTypeImage-07030 
 Any VkBufferView being read as a storage texel buffer where the image format field of theOpTypeImageisUnknownthen the view’s buffer features must containVK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08600 
 For each set n that is statically used by a bound shader, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08601 
 For each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout array used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10068 
 For each array of resources that is used by a bound shader, the indices used to access members of the array must be less than the descriptor count for the identified binding in the descriptor sets used by this command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-maintenance4-08602 
 If themaintenance4feature is not enabled, then for each push constant that is statically used by a bound shader, a push constant value must have been set for the same pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with the VkPipelineLayout used to create the current VkPipeline or the VkDescriptorSetLayout and VkPushConstantRange arrays used to create the current VkShaderEXT , as described in Pipeline Layout Compatibility
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08114 
 Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08115 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdBindDescriptorSets, the bound VkPipeline must have been created withoutVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08116 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08604 
 Descriptors in bound descriptor buffers, specified via vkCmdSetDescriptorBufferOffsetsEXT, must be valid if they are dynamically used by any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08117 
 If the descriptors used by the VkPipeline bound to the pipeline bind point were specified via vkCmdSetDescriptorBufferOffsetsEXT, the bound VkPipeline must have been created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08119 
 If a descriptor is dynamically used with a VkPipeline created withVK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08605 
 If a descriptor is dynamically used with a VkShaderEXT created with aVkDescriptorSetLayoutthat was created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT, the descriptor memory must be resident
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08608 
 If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-uniformBuffers-06935 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a uniform buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2foruniformBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08612 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a uniform buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-storageBuffers-06936 
 If any stage of the VkPipeline object bound to the pipeline bind point used by this command accesses a storage buffer, and that stage was created without enabling eitherVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESSorVK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2forstorageBuffers, and therobustBufferAccessfeature is not enabled, that stage must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08613 
 If therobustBufferAccessfeature is not enabled, and any VkShaderEXT bound to a stage corresponding to the pipeline bind point used by this command accesses a storage buffer, it must not access values outside of the range of the buffer as specified in the descriptor set bound to the same pipeline bind point
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in Compatibility Between SPIR-V Image Dimensions and Vulkan ImageView Types
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-format-07753 
 If a VkImageView or VkBufferView is accessed as a result of this command, then the numeric type of the view’sformatand theSampledTypeoperand of theOpTypeImagemust match
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageWrite-08795 
 If a VkImageView created with a format other thanVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the image view’s format
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageWrite-08796 
 If a VkImageView created with the formatVK_FORMAT_A8_UNORMis accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have four components
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageWrite-04469 
 If a VkBufferView is accessed usingOpImageWriteas a result of this command, then theTypeof theTexeloperand of that instruction must have at least as many components as the buffer view’s format
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-SampledType-04470 
 If a VkImageView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-SampledType-04471 
 If a VkImageView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-SampledType-04472 
 If a VkBufferView with a VkFormat that has a 64-bit component width is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 64
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-SampledType-04473 
 If a VkBufferView with a VkFormat that has a component width less than 64-bit is accessed as a result of this command, theSampledTypeof theOpTypeImageoperand of that instruction must have aWidthof 32
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sparseImageInt64Atomics-04474 
 If thesparseImageInt64Atomicsfeature is not enabled, VkImage objects created with theVK_IMAGE_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sparseImageInt64Atomics-04475 
 If thesparseImageInt64Atomicsfeature is not enabled, VkBuffer objects created with theVK_BUFFER_CREATE_SPARSE_RESIDENCY_BITflag must not be accessed by atomic instructions through anOpTypeImagewith aSampledTypewith aWidthof 64 by this command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageWeightedSampleQCOM-06971 
 IfOpImageWeightedSampleQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageWeightedSampleQCOM-06972 
 IfOpImageWeightedSampleQCOMuses a VkImageView as a sample weight image as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageBoxFilterQCOM-06973 
 IfOpImageBoxFilterQCOMis used to sample a VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageBlockMatchSSDQCOM-06974 
 IfOpImageBlockMatchSSDQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageBlockMatchSADQCOM-06975 
 IfOpImageBlockMatchSADQCOMis used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageBlockMatchSADQCOM-06976 
 IfOpImageBlockMatchSADQCOMor OpImageBlockMatchSSDQCOM is used to read from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageWeightedSampleQCOM-06977 
 IfOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageWeightedSampleQCOM-06978 
 If any command other thanOpImageWeightedSampleQCOM,OpImageBoxFilterQCOM,OpImageBlockMatchWindowSSDQCOM,OpImageBlockMatchWindowSADQCOM,OpImageBlockMatchGatherSSDQCOM,OpImageBlockMatchGatherSADQCOM,OpImageBlockMatchSSDQCOM, orOpImageBlockMatchSADQCOMuses a VkSampler as a result of this command, then the sampler must not have been created withVK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageBlockMatchWindow-09215 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format features must containVK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageBlockMatchWindow-09216 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMinstruction is used to read from an VkImageView as a result of this command, then the image view’s format must be a single-component format
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpImageBlockMatchWindow-09217 
 If aOpImageBlockMatchWindow*QCOMorOpImageBlockMatchGather*QCOMread from a reference image as result of this command, then the specified reference coordinates must not fail integer texel coordinate validation
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09600 
 If a descriptor with type equal to any ofVK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM,VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, orVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTis accessed as a result of this command, all image subresources identified by that descriptor must be in the image layout identified when the descriptor was written
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-commandBuffer-10746 
 TheVkDeviceMemoryobject allocated from aVkMemoryHeapwith theVK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOMproperty that is bound to a resource accessed as a result of this command must be the active bound bound tile memory object incommandBuffer
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10678 
 If this command is recorded inside a tile shading render pass instance, the stages corresponding to the pipeline bind point used by this command must only includeVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT, and/orVK_SHADER_STAGE_COMPUTE_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10679 
 If this command is recorded where per-tile execution model is enabled, there must be no access to any image while the image was be transitioned to theVK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pDescription-09900 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the underlying VkTensorARM object must have been created with a VkTensorCreateInfoARM::pDescriptionwhoseusagemember containedVK_TENSOR_USAGE_SHADER_BIT_ARM
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dimensionCount-09905 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then theRankof theOpTypeTensorARMof the tensor resource variable must be equal to thedimensionCountprovided via VkTensorCreateInfoARM::pDescriptionwhen creating the underlying VkTensorARM object
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpTypeTensorARM-09906 
 If aVK_DESCRIPTOR_TYPE_TENSOR_ARMdescriptor is accessed as a result of this command, then the element type of theOpTypeTensorARMof the tensor resource variable must be compatible with the VkFormat of the VkTensorViewARM used for the access
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-subpass-02685 
 The subpass index of the current render pass must be equal to thesubpassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-OpTypeImage-07468 
 If any shader executed by this pipeline accesses anOpTypeImagevariable with aDimoperand ofSubpassData, it must be decorated with anInputAttachmentIndexthat corresponds to a valid input attachment in the current subpass
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07469 
 Input attachment views accessed in a subpass must be created with the same VkFormat as the corresponding subpass definition, and be created with a VkImageView that is compatible with the attachment referenced by the subpass'pInputAttachments[InputAttachmentIndex] in the bound VkFramebuffer as specified by Fragment Input Attachment Compatibility
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pDepthInputAttachmentIndex-09595 
 Input attachment views accessed in a dynamic render pass with aInputAttachmentIndexreferenced by VkRenderingInputAttachmentIndexInfo, or noInputAttachmentIndexif VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexor VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexareNULL, must be created with a VkImageView that is compatible with the corresponding color, depth, or stencil attachment in VkRenderingInfo
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pDepthInputAttachmentIndex-09596 
 Input attachment views accessed in a dynamic render pass via a shader object must have anInputAttachmentIndexif both VkRenderingInputAttachmentIndexInfo:pDepthInputAttachmentIndexand VkRenderingInputAttachmentIndexInfo:pStencilInputAttachmentIndexare non-NULL
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-InputAttachmentIndex-09597 
 If an input attachment view accessed in a dynamic render pass via a shader object has anInputAttachmentIndex, theInputAttachmentIndexmust match an index in VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-06537 
 Memory backing image subresources used as attachments in the current render pass must not be written in any way other than as an attachment by this command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10795 
 If a color attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_COLOR_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10796 
 If a depth attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_DEPTH_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10797 
 If a stencil attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, feedback loop is not enabled for it, and either:- 
the VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTis set on the bound pipeline or
- 
the last call to vkCmdSetAttachmentFeedbackLoopEnableEXT included VK_IMAGE_ASPECT_STENCIL_BITand- 
there is no bound graphics pipeline or 
- 
the bound graphics pipeline was created with VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
 
- 
 it must not be accessed in any way other than as an attachment by this command 
- 
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09003 
 If an attachment is written by any prior command in this subpass or by the load, store, or resolve operations for this subpass, it must not be accessed in any way other than as an attachment, storage image, or sampled image by this command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-06539 
 If any previously recorded command in the current subpass accessed an image subresource used as an attachment in this subpass in any way other than as an attachment, this command must not write to that image subresource as an attachment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-06886 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the depth aspect, depth writes must be disabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-06887 
 If the current render pass instance uses a depth/stencil attachment with a read-only layout for the stencil aspect, both front and backwriteMaskare not zero, and stencil test is enabled, all stencil ops must beVK_STENCIL_OP_KEEP
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07831 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORTdynamic state enabled then vkCmdSetViewport must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07832 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SCISSORdynamic state enabled then vkCmdSetScissor must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07833 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_WIDTHdynamic state enabled then vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08617 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPolygonModeEXT in the current command buffer setpolygonModetoVK_POLYGON_MODE_LINE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08618 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetPrimitiveTopology in the current command buffer setprimitiveTopologyto any line topology, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08619 
 If a shader object that outputs line primitives is bound to theVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, vkCmdSetLineWidth must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07834 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIASdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBiasEnableisVK_TRUE, then vkCmdSetDepthBias or vkCmdSetDepthBias2EXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07835 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_BLEND_CONSTANTSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and an active color attachment current value ofblendEnableisVK_TRUEwith a blend equations where any VkBlendFactor member isVK_BLEND_FACTOR_CONSTANT_COLOR,VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,VK_BLEND_FACTOR_CONSTANT_ALPHA, orVK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, then vkCmdSetBlendConstants must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07836 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDSdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthBoundsTestEnableisVK_TRUE, then vkCmdSetDepthBounds must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07837 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_COMPARE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilCompareMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07838 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_WRITE_MASKdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilWriteMask must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07839 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_REFERENCEdynamic state enabled, the current value of andrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilReference must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-maxMultiviewInstanceIndex-02688 
 If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index must be less than or equal to VkPhysicalDeviceMultiviewProperties::maxMultiviewInstanceIndex
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsEnable-02689 
 If the bound graphics pipeline was created with VkPipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnableset toVK_TRUEand the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07634 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleLocationsEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-06666 
 If theVK_EXT_sample_locationsextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofsampleLocationsEnableisVK_TRUE, then vkCmdSetSampleLocationsEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07840 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CULL_MODEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCullMode must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07841 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRONT_FACEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFrontFace must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07843 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, vkCmdSetDepthTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07844 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthWriteEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07845 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_COMPARE_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdepthTestEnableisVK_TRUE, then vkCmdSetDepthCompareOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07846 
 If thedepthBoundsfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBoundsTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07847 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_TEST_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetStencilTestEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07848 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_STENCIL_OPdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, the current value ofstencilTestEnableisVK_TRUE, then vkCmdSetStencilOp must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewportCount-03417 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetViewportWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-scissorCount-03418 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTdynamic state enabled, and the state is not inherited, then vkCmdSetScissorWithCount must have been called and not subsequently invalidated in the current command buffer prior to this drawing
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewportCount-03419 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with both theVK_DYNAMIC_STATE_SCISSOR_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic states enabled, and the state is not inherited, then theviewportCountparameter ofvkCmdSetViewportWithCountmust match thescissorCountparameter ofvkCmdSetScissorWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewportCount-04137 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportWScalingStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewportCount-04138 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then vkCmdSetViewportWScalingNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08636 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NVdynamic state enabled, the current value ofviewportWScalingEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportWScalingNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewportCount-04139 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportShadingRateImageStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-shadingRateImage-09233 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NVand the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoarseSampleOrderNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-shadingRateImage-09234 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then vkCmdSetViewportShadingRatePaletteNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08637 
 If theshadingRateImagefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofshadingRateImageEnableisVK_TRUE, then theviewportCountparameter in the last call to vkCmdSetViewportShadingRatePaletteNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-VkPipelineVieportCreateInfo-04141 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportSwizzleStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-VkPipelineVieportCreateInfo-04142 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled and a VkPipelineViewportExclusiveScissorStateCreateInfoNV structure chained from VkPipelineViewportStateCreateInfo, then the bound graphics pipeline must have been created with VkPipelineViewportExclusiveScissorStateCreateInfoNV::exclusiveScissorCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07878 
 If theexclusiveScissorfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NVdynamic state enabled, then vkCmdSetExclusiveScissorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07879 
 If theexclusiveScissorfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NVdynamic state enabled, and the most recent call to vkCmdSetExclusiveScissorEnableNV in the current command buffer set any element ofpExclusiveScissorEnablestoVK_TRUE, then vkCmdSetExclusiveScissorNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-04876 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEdynamic state enabled, then vkCmdSetRasterizerDiscardEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-04877 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthBiasEnable must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-logicOp-04878 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITor a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value oflogicOpEnableisVK_TRUE, then vkCmdSetLogicOpEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-primitiveFragmentShadingRateWithMultipleViewports-04552 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, the bound graphics pipeline was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, and any of the shader stages of the bound graphics pipeline write to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-primitiveFragmentShadingRateWithMultipleViewports-08642 
 If theprimitiveFragmentShadingRateWithMultipleViewportslimit is not supported, and any shader object bound to a graphics stage writes to thePrimitiveShadingRateKHRbuilt-in, then vkCmdSetViewportWithCount must have been called in the current command buffer prior to this drawing command, and theviewportCountparameter ofvkCmdSetViewportWithCountmust be1
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-blendEnable-04727 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then for each color attachment, if the corresponding image view’s format features do not containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the corresponding current value ofblendEnablemust beVK_FALSE
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08644 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and none of the following is enabled:- 
the VK_AMD_mixed_attachment_samplesextension
- 
the VK_NV_framebuffer_mixed_samplesextension
- 
the multisampledRenderToSingleSampledfeature
 then the current value of rasterizationSamplesmust be the same as the current color and/or depth/stencil attachments
- 
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-imageView-06172 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-imageView-06173 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-imageView-06174 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-imageView-06175 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-imageView-06176 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpDepthAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpDepthAttachmentisVK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, this command must not write any values to the depth attachment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-imageView-06177 
 If the current render pass instance was begun with vkCmdBeginRendering, theimageViewmember ofpStencilAttachmentis not VK_NULL_HANDLE, and thelayoutmember ofpStencilAttachmentisVK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, this command must not write any values to the stencil attachment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewMask-06178 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::viewMaskequal to VkRenderingInfo::viewMask
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-colorAttachmentCount-06179 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled and the current render pass instance was begun with vkCmdBeginRendering, the bound graphics pipeline must have been created with a VkPipelineRenderingCreateInfo::colorAttachmentCountequal to VkRenderingInfo::colorAttachmentCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08910 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08912 
 If thedynamicRenderingUnusedAttachmentsfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewequal to VK_NULL_HANDLE must have the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound pipeline equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08911 
 If thedynamicRenderingUnusedAttachmentsfeature is enabled, and the current render pass instance was begun with vkCmdBeginRendering and VkRenderingInfo::colorAttachmentCountgreater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with animageViewnot equal to VK_NULL_HANDLE must have been created with a VkFormat equal to the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the bound graphics pipeline, or the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormats, if it exists, must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-colorAttachmentCount-09362 
 If the current render pass instance was begun with vkCmdBeginRendering, with a VkRenderingInfo::colorAttachmentCountequal to1, there is no shader object bound to any graphics stage, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aresolveImageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09363 
 If there is no shader object bound to any graphics stage, the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, and a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with an image created with a VkExternalFormatANDROID::externalFormatvalue equal to the VkExternalFormatANDROID::externalFormatvalue used to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09364 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, then vkCmdSetColorBlendEnableEXT must have set the blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09365 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09366 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetColorBlendEnableEXT must have set blend enable toVK_FALSEprior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizationSamples-09367 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetRasterizationSamplesEXT must have setrasterizationSamplestoVK_SAMPLE_COUNT_1_BITprior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09368 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09369 
 If the current render pass instance was begun with vkCmdBeginRendering, there is no shader object bound to any graphics stage, and the bound graphics pipeline was created with a non-zero VkExternalFormatANDROID::externalFormatvalue and with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pFragmentSize-09370 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->widthto1prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pFragmentSize-09371 
 If there is a shader object bound to any graphics stage, and the current render pass includes a color attachment that uses theVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROIDresolve mode, then vkCmdSetFragmentShadingRateKHR must have setpFragmentSize->heightto1prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07749 
 If thecolorWriteEnablefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetColorWriteEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-attachmentCount-07750 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXTdynamic state enabled then theattachmentCountparameter ofvkCmdSetColorWriteEnableEXTmust be greater than or equal to theVkPipelineColorBlendStateCreateInfo::attachmentCountof the bound graphics pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08647 
 If thecolorWriteEnablefeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then theattachmentCountparameter of most recent call tovkCmdSetColorWriteEnableEXTin the current command buffer must be greater than or equal to the number of color attachments in the current render pass instance
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07751 
 If theVK_EXT_discard_rectanglesextension is enabled, a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo included a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPipelineDiscardRectangleStateCreateInfoEXT::discardRectangleCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizerDiscardEnable-09236 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXTdynamic state enabled and thepNextchain of VkGraphicsPipelineCreateInfo did not include a VkPipelineDiscardRectangleStateCreateInfoEXT structure, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command for each discard rectangle in VkPhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07880 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDiscardRectangleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07881 
 If theVK_EXT_discard_rectanglesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofdiscardRectangleEnableisVK_TRUE, then vkCmdSetDiscardRectangleModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08913 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08914 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08915 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pDepthAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08916 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal toVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08917 
 If current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline must be equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-dynamicRenderingUnusedAttachments-08918 
 If the current render pass instance was begun with vkCmdBeginRendering, thedynamicRenderingUnusedAttachmentsfeature is enabled, VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, and the value of VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the bound graphics pipeline was not equal to the VkFormat used to create VkRenderingInfo::pStencilAttachment->imageView, the value of the format must beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-imageView-06183 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentShadingRateAttachmentInfoKHR::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-imageView-06184 
 If the current render pass instance was begun with vkCmdBeginRendering and VkRenderingFragmentDensityMapAttachmentInfoEXT::imageViewwas not VK_NULL_HANDLE, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-layers-10831 
 If the current render pass instance was created withVK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVEorVK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, and the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE, then the current render pass instance must have alayersvalue less than or equal to VkPipelineFragmentDensityMapLayeredCreateInfoVALVE::maxFragmentDensityMapLayers
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-colorAttachmentCount-06185 
 If the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the corresponding element of thepColorAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pDepthAttachment-06186 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pStencilAttachment-06187 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline was created with a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value of thedepthStencilAttachmentSamplesmember of VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV used to create the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-multisampledRenderToSingleSampled-07285 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and the current render pass instance was begun with vkCmdBeginRendering with a VkRenderingInfo::colorAttachmentCountparameter greater than0, then each element of the VkRenderingInfo::pColorAttachmentsarray with aimageViewnot equal to VK_NULL_HANDLE must have been created with a sample count equal to the value ofrasterizationSamplesfor the bound graphics pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-multisampledRenderToSingleSampled-07286 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pDepthAttachment->imageView
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-multisampledRenderToSingleSampled-07287 
 If the bound pipeline was created without a VkAttachmentSampleCountInfoAMD or VkAttachmentSampleCountInfoNV structure, and themultisampledRenderToSingleSampledfeature is not enabled, and VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to the sample count used to create VkRenderingInfo::pStencilAttachment->imageView
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pNext-07935 
 If this command has been called inside a render pass instance started with vkCmdBeginRendering, and thepNextchain of VkRenderingInfo includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then the value ofrasterizationSamplesfor the bound graphics pipeline must be equal to VkMultisampledRenderToSingleSampledInfoEXT::rasterizationSamples
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-renderPass-06198 
 If the current render pass instance was begun with vkCmdBeginRendering, the bound pipeline must have been created with a VkGraphicsPipelineCreateInfo::renderPassequal to VK_NULL_HANDLE
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pColorAttachments-08963 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound with a fragment shader that statically writes to a color attachment, the color write mask is not zero, color writes are enabled, and the corresponding element of the VkRenderingInfo::pColorAttachments->imageViewwas not VK_NULL_HANDLE, then the corresponding element of VkPipelineRenderingCreateInfo::pColorAttachmentFormatsused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pDepthAttachment-08964 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, depth test is enabled, depth write is enabled, and the VkRenderingInfo::pDepthAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::depthAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pStencilAttachment-08965 
 If the current render pass instance was begun with vkCmdBeginRendering, there is a graphics pipeline bound, stencil test is enabled and the VkRenderingInfo::pStencilAttachment->imageViewwas not VK_NULL_HANDLE, then the VkPipelineRenderingCreateInfo::stencilAttachmentFormatused to create the pipeline must not beVK_FORMAT_UNDEFINED
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-flags-10582 
 If the current render pass instance was begun with vkCmdBeginRendering, its VkRenderingInfo::flagsparameter must not haveVK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITset unlessVK_RENDERING_CONTENTS_INLINE_BIT_KHRis also set
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-primitivesGeneratedQueryWithNonZeroStreams-06709 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, the bound graphics pipeline must not have been created with a non-zero value inVkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStream
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07620 
 If thedepthClampfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetDepthClampEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07621 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_POLYGON_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetPolygonModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07622 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRasterizationSamplesEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07623 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetSampleMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-alphaToCoverageEnable-08919 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, andalphaToCoverageEnablewasVK_TRUEin the last call to vkCmdSetAlphaToCoverageEnableEXT, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-alphaToCoverageEnable-08920 
 If a shader object is bound to any graphics stage, and the most recent call to vkCmdSetAlphaToCoverageEnableEXT in the current command buffer setalphaToCoverageEnabletoVK_TRUE, then the Fragment Output Interface must contain a variable for the alphaComponentword inLocation0 atIndex0
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07624 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToCoverageEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07625 
 If thealphaToOnefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAlphaToOneEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07626 
 If thelogicOpfeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLogicOpEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07627 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorBlendEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07628 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08658 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the most recent call to vkCmdSetColorBlendEnableEXT for any attachment set that attachment’s value inpColorBlendEnablestoVK_TRUE, then vkCmdSetColorBlendEquationEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07629 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and there are color attachments bound, then vkCmdSetColorWriteMaskEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07630 
 If thegeometryStreamsfeature is enabled, and a shader object is bound to theVK_SHADER_STAGE_GEOMETRY_BITstage or a graphics pipeline is bound which was created with both aVK_SHADER_STAGE_GEOMETRY_BITstage and theVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTdynamic state enabled, then vkCmdSetRasterizationStreamEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07631 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetConservativeRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07632 
 If theVK_EXT_conservative_rasterizationextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofconservativeRasterizationModeisVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, then vkCmdSetExtraPrimitiveOverestimationSizeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07633 
 If thedepthClipEnablefeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXTdynamic state, then vkCmdSetDepthClipEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07635 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizerDiscardEnable-09416 
 If theVK_EXT_blend_operation_advancedextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then at least one of vkCmdSetColorBlendEquationEXT and vkCmdSetColorBlendAdvancedEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07636 
 If theVK_EXT_provoking_vertexextension is enabled, a shader object is bound to theVK_SHADER_STAGE_VERTEX_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetProvokingVertexModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08666 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08667 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08668 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineRasterizationModeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08669 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofpolygonModeisVK_POLYGON_MODE_LINE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08670 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, aVK_SHADER_STAGE_VERTEX_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofprimitiveTopologyis any line topology, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08671 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled, and a shader object is bound or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTdynamic state enabled, either aVK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITstage is bound, the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetLineStippleEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07849 
 If any of thestippledRectangularLines,stippledBresenhamLinesorstippledSmoothLinesfeatures are enabled and a shader object is bound to any graphics stage, or a bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLEdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofstippledLineEnableisVK_TRUE, then vkCmdSetLineStipple must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10608 
 If a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic state enabled, and the currentlineRasterizationModeisVK_LINE_RASTERIZATION_MODE_BRESENHAMorVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then the currentalphaToCoverageEnable,alphaToOneEnableandsampleShadingEnablestates must all beVK_FALSE
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07639 
 If thedepthClipControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXTdynamic state enabled, then vkCmdSetDepthClipNegativeOneToOneEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09650 
 If thedepthClampControlfeature is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXTdynamic state enabled, and the current value ofdepthClampEnableisVK_TRUE, then vkCmdSetDepthClampRangeEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07640 
 If theVK_NV_clip_space_w_scalingextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NVdynamic state enabled, then vkCmdSetViewportWScalingEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07641 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then vkCmdSetViewportSwizzleNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07642 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageToColorEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07643 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageToColorEnableisVK_TRUE, then vkCmdSetCoverageToColorLocationNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07644 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageModulationModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07645 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationModeis any value other thanVK_COVERAGE_MODULATION_MODE_NONE_NV, then vkCmdSetCoverageModulationTableEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07646 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NVdynamic state enabled, the current value ofrasterizerDiscardEnableisVK_FALSE, and the current value ofcoverageModulationTableEnableisVK_TRUE, then vkCmdSetCoverageModulationTableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07647 
 If theshadingRateImagefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetShadingRateImageEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pipelineFragmentShadingRate-09238 
 If thepipelineFragmentShadingRatefeature is enabled, a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHRdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetFragmentShadingRateKHR must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07648 
 If therepresentativeFragmentTestfeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetRepresentativeFragmentTestEnableNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07649 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetCoverageReductionModeNV must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pColorBlendEnables-07470 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTstate enabled and the last call to vkCmdSetColorBlendEnableEXT setpColorBlendEnablesfor any attachment toVK_TRUE, then for those attachments in the subpass the corresponding image view’s format features must containVK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizationSamples-07471 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current subpass does not use any color and/or depth/stencil attachments, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must follow the rules for a zero-attachment subpass
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-samples-07472 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to the VkPipelineMultisampleStateCreateInfo::rasterizationSamplesparameter used to create the bound graphics pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-samples-07473 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_MASK_EXTstate andVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstates enabled, then thesamplesparameter in the last call to vkCmdSetSampleMaskEXT must be greater or equal to therasterizationSamplesparameter in the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizationSamples-07474 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and themultisampledRenderToSingleSampledfeature is not enabled, and neither theVK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as the current subpass color and/or depth/stencil attachments
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09211 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, or a shader object is bound to any graphics stage, and the current render pass instance includes a VkMultisampledRenderToSingleSampledInfoEXT structure withmultisampledRenderToSingleSampledEnableequal toVK_TRUE, then therasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT must be the same as therasterizationSamplesmember of that structure
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-firstAttachment-07476 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic state enabled then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizerDiscardEnable-09417 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorBlendEnableEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEnableEXTcalls must specify an enable for all active color attachments in the current subpass
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-firstAttachment-07477 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXTdynamic state enabled then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizerDiscardEnable-09418 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and both the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSEand there are color attachments bound, then vkCmdSetColorBlendEquationEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendEquationEXTcalls must specify the blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-firstAttachment-07478 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXTdynamic state enabled then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizerDiscardEnable-09419 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, then vkCmdSetColorWriteMaskEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorWriteMaskEXTcalls must specify the color write mask for all active color attachments in the current subpass
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-firstAttachment-07479 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTdynamic state enabled then vkCmdSetColorBlendAdvancedEXT must have been called in the current command buffer prior to this drawing command, and the attachments specified by thefirstAttachmentandattachmentCountparameters ofvkCmdSetColorBlendAdvancedEXTcalls must specify the advanced blend equations for all active color attachments in the current subpass where blending is enabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-advancedBlendMaxColorAttachments-07480 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXTandVK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXTdynamic states enabled and the last calls to vkCmdSetColorBlendEnableEXT and vkCmdSetColorBlendAdvancedEXT have enabled advanced blending, then the number of active color attachments in the current subpass must not exceedadvancedBlendMaxColorAttachments
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-primitivesGeneratedQueryWithNonZeroStreams-07481 
 If theprimitivesGeneratedQueryWithNonZeroStreamsfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, and the bound graphics pipeline was created withVK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXTstate enabled, the last call to vkCmdSetRasterizationStreamEXT must have set therasterizationStreamto zero
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsPerPixel-07482 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate disabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesmember of the VkPipelineMultisampleStateCreateInfo structure the bound graphics pipeline has been created with
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsPerPixel-07483 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, then thesampleLocationsPerPixelmember ofpSampleLocationsInfoin the last call to vkCmdSetSampleLocationsEXT must equal therasterizationSamplesparameter of the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsEnable-07484 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, andsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, and the current subpass has a depth/stencil attachment, then that attachment must have been created with theVK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXTbit set
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsEnable-07485 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.widthin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsEnable-07486 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate enabled and theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, then thesampleLocationsInfo.maxSampleLocationGridSize.heightin the last call to vkCmdSetSampleLocationsEXT must evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equalingrasterizationSamples
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsEnable-07487 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXTstate enabled, and ifsampleLocationsEnablewasVK_TRUEin the last call to vkCmdSetSampleLocationsEnableEXT, the fragment shader code must not statically use the extended instructionInterpolateAtSample
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsEnable-07936 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.widthmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.widthas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsEnable-07937 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationGridSize.heightmust evenly divide VkMultisamplePropertiesEXT::maxSampleLocationGridSize.heightas returned by vkGetPhysicalDeviceMultisamplePropertiesEXT with asamplesparameter equaling the value ofrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-sampleLocationsEnable-07938 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXTstate disabled and theVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTstate enabled, and the current value ofsampleLocationsEnableisVK_TRUE, thensampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamplesin the last call to vkCmdSetRasterizationSamplesEXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-coverageModulationTableEnable-07488 
 If a shader object is bound to any graphics stage or the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NVstate enabled, and the last call to vkCmdSetCoverageModulationTableEnableNV setcoverageModulationTableEnabletoVK_TRUE, then thecoverageModulationTableCountparameter in the last call to vkCmdSetCoverageModulationTableNV must equal the currentrasterizationSamplesdivided by the number of color samples in the current subpass
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizationSamples-07489 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and if current subpass has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled in the bound pipeline, then the currentrasterizationSamplesmust be the same as the sample count of the depth/stencil attachment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-coverageToColorEnable-07490 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NVstate enabled and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizerDiscardEnable-09420 
 If theVK_NV_fragment_coverage_to_colorextension is enabled, and a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage, and the most recent call to vkCmdSetRasterizerDiscardEnable in the current command buffer setrasterizerDiscardEnabletoVK_FALSE, and the last call to vkCmdSetCoverageToColorEnableNV set thecoverageToColorEnabletoVK_TRUE, then the current subpass must have a color attachment at the location selected by the last call to vkCmdSetCoverageToColorLocationNVcoverageToColorLocation, with a VkFormat ofVK_FORMAT_R8_UINT,VK_FORMAT_R8_SINT,VK_FORMAT_R16_UINT,VK_FORMAT_R16_SINT,VK_FORMAT_R32_UINT, orVK_FORMAT_R32_SINT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-coverageReductionMode-07491 
 If thecoverageReductionModefeature is enabled, a shader object is bound to any graphics stage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NVorVK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXTdynamic states enabled, then the current values ofcoverageReductionMode,rasterizationSamples, the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned by vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewportCount-07492 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTdynamic state enabled, but not theVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic state enabled, then the bound graphics pipeline must have been created with VkPipelineViewportSwizzleStateCreateInfoNV::viewportCountgreater or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewportCount-07493 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTandVK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NVdynamic states enabled then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-viewportCount-09421 
 If theVK_NV_viewport_swizzleextension is enabled, and a shader object is bound to any graphics stage, then theviewportCountparameter in the last call to vkCmdSetViewportSwizzleNV must be greater than or equal to theviewportCountparameter in the last call to vkCmdSetViewportWithCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-rasterizationSamples-07494 
 If theVK_NV_framebuffer_mixed_samplesextension is enabled, and thecoverageReductionModefeature is not enabled, or the current value ofcoverageReductionModeis notVK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV, and the current value ofrasterizationSamplesis greater than sample count of the color attachment, then sample shading must be disabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-stippledLineEnable-07495 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR, then thestippledRectangularLinesfeature must be enabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-stippledLineEnable-07496 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_BRESENHAM, then thestippledBresenhamLinesfeature must be enabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-stippledLineEnable-07497 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH, then thestippledSmoothLinesfeature must be enabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-stippledLineEnable-07498 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXTorVK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXTdynamic states enabled, and if the currentstippledLineEnablestate isVK_TRUEand the currentlineRasterizationModestate isVK_LINE_RASTERIZATION_MODE_DEFAULT, then thestippledRectangularLinesfeature must be enabled and VkPhysicalDeviceLimits::strictLinesmust beVK_TRUE
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-conservativePointAndLineRasterization-07499 
 If the bound graphics pipeline state was created with theVK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXTdynamic state enabled,conservativePointAndLineRasterizationis not supported, and the effective primitive topology output by the last pre-rasterization shader stage is a line or point, then theconservativeRasterizationModeset by the last call to vkCmdSetConservativeRasterizationModeEXT must beVK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-stage-07073 
 If the bound pipeline was created with the VkPipelineShaderStageCreateInfo::stagemember of an element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT, then Mesh Shader Queries must not be active
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08877 
 If a shader object is bound to theVK_SHADER_STAGE_FRAGMENT_BITstage or a graphics pipeline is bound which was created with theVK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTdynamic state enabled, and the current value ofrasterizerDiscardEnableisVK_FALSE, then vkCmdSetAttachmentFeedbackLoopEnableEXT must have been called and not subsequently invalidated in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-nextStage-10745 
 For each shader object bound to a graphics stage, except for shader object bound to the last graphics stage in the logical pipeline, it must have been created with anextStageincluding the corresponding bit to the shader object bound to the following graphics stage in the logical pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08684 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_VERTEX_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08685 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08686 
 If there is no bound graphics pipeline, and thetessellationShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08687 
 If there is no bound graphics pipeline, and thegeometryShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08688 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_FRAGMENT_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08689 
 If there is no bound graphics pipeline, and thetaskShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_TASK_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08690 
 If there is no bound graphics pipeline, and themeshShaderfeature is enabled,vkCmdBindShadersEXTmust have been called in the current command buffer withpStageswith an element ofVK_SHADER_STAGE_MESH_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08693 
 If there is no bound graphics pipeline, and at least one of thetaskShaderandmeshShaderfeatures is enabled, one of theVK_SHADER_STAGE_VERTEX_BITorVK_SHADER_STAGE_MESH_BIT_EXTstages must have a validVkShaderEXTbound, and the other must have noVkShaderEXTbound
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08696 
 If there is no bound graphics pipeline, and a validVkShaderEXTis bound to theVK_SHADER_STAGE_VERTEX_BITstage, there must be noVkShaderEXTbound to either theVK_SHADER_STAGE_TASK_BIT_EXTstage or theVK_SHADER_STAGE_MESH_BIT_EXTstage
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08698 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, then all shaders created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag in the same vkCreateShadersEXT call must also be bound
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08699 
 If any graphics shader is bound which was created with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag, any stages in between stages whose shaders which did not create a shader with theVK_SHADER_CREATE_LINK_STAGE_BIT_EXTflag as part of the same vkCreateShadersEXT call must not have anyVkShaderEXTbound
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-colorAttachmentCount-09372 
 If the current render pass instance was begun with vkCmdBeginRendering and a VkRenderingInfo::colorAttachmentCountequal to1, a color attachment with a resolve mode ofVK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID, and a fragment shader is bound, it must not declare theDepthReplacingorStencilRefReplacingEXTexecution modes
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pDynamicStates-08715 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpDepthAttachmentReadEXT, thedepthWriteEnableparameter in the last call to vkCmdSetDepthWriteEnable must beVK_FALSE
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pDynamicStates-08716 
 If the bound graphics pipeline state includes a fragment shader stage, was created withVK_DYNAMIC_STATE_STENCIL_WRITE_MASKset in VkPipelineDynamicStateCreateInfo::pDynamicStates, and the fragment shader declares theEarlyFragmentTestsexecution mode and usesOpStencilAttachmentReadEXT, thewriteMaskparameter in the last call to vkCmdSetStencilWriteMask must be0
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09116 
 If a shader object is bound to any graphics stage or the bound graphics pipeline was created withVK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and the format of any color attachment isVK_FORMAT_E5B9G9R9_UFLOAT_PACK32, the corresponding element of thepColorWriteMasksparameter of vkCmdSetColorWriteMaskEXT must either include all ofVK_COLOR_COMPONENT_R_BIT,VK_COLOR_COMPONENT_G_BIT, andVK_COLOR_COMPONENT_B_BIT, or none of them
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-maxFragmentDualSrcAttachments-09239 
 If blending is enabled for any attachment where either the source or destination blend factors for that attachment use the secondary color input, the maximum value ofLocationfor any output attachment statically used in theFragmentExecutionModelexecuted by this command must be less thanmaxFragmentDualSrcAttachments
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09548 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, the value of each element of VkRenderingAttachmentLocationInfo::pColorAttachmentLocationsset by vkCmdSetRenderingAttachmentLocations must match the value set for the corresponding element in the bound pipeline
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09549 
 If the current render pass was begun with vkCmdBeginRendering, and there is no shader object bound to any graphics stage, input attachment index mappings in the bound pipeline must match those set for the current render pass instance via VkRenderingInputAttachmentIndexInfo
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09642 
 If the current render pass was begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag, the bound graphics pipeline must have been created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-09643 
 If the bound graphics pipeline was created withVK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT, the current render pass must have begun with vkCmdBeginRendering with theVK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTflag
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-stage-06480 
 The bound graphics pipeline must not have been created with the VkPipelineShaderStageCreateInfo::stagemember of any element of VkGraphicsPipelineCreateInfo::pStagesset toVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pStages-10680 
 If there is no bound graphics pipeline,vkCmdBindShadersEXTmust not have last bound thepStageselement ofVK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,VK_SHADER_STAGE_TESSELLATION_EVALUATION_BITorVK_SHADER_STAGE_GEOMETRY_BITwith a valid shader object other than VK_NULL_HANDLE
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07074 
 Transform Feedback Queries must not be active
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-07075 
 Primitives Generated Queries must not be active
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-pipelineStatistics-07076 
 ThepipelineStatisticsmember used to create any active Pipeline Statistics Query must not containVK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, orVK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08694 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created without theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, a validVkShaderEXTmust be bound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-None-08695 
 If there is no bound graphics pipeline, and both thetaskShaderandmeshShaderfeatures are enabled, and a validVkShaderEXTis bound the to theVK_SHADER_STAGE_MESH_BIT_EXTstage, and thatVkShaderEXTwas created with theVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXTflag, there must be noVkShaderEXTbound to theVK_SHADER_STAGE_TASK_BIT_EXTstage
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-drawCount-02718 
 If themultiDrawIndirectfeature is not enabled,drawCountmust be0or1
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-drawCount-02719 
 drawCountmust be less than or equal toVkPhysicalDeviceLimits::maxDrawIndirectCount
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-ClusterCullingHUAWEI-07824 
 The current pipeline bound toVK_PIPELINE_BIND_POINT_GRAPHICSmust contain a shader stage using theClusterCullingHUAWEIExecutionModel
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-offset-07918 
 offsetmust be a multiple of VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI::indirectBufferOffsetAlignment
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-buffer-parameter 
 buffermust be a valid VkBuffer handle
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics operations
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-renderpass 
 This command must only be called inside of a render pass instance
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdDrawClusterIndirectHUAWEI-commonparent 
 Both ofbuffer, andcommandBuffermust have been created, allocated, or retrieved from the same VkDevice
- 
Host access to commandBuffermust be externally synchronized
- 
Host access to the VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
| Command Buffer Levels | Render Pass Scope | Video Coding Scope | Supported Queue Types | Command Type | 
|---|---|---|---|---|
| Primary | Inside | Outside | Graphics | Action |