C Specification
With VK_EXT_device_generated_commands, the actual generation of
commands as well as their execution on the device is handled as single
action with:
// Provided by VK_EXT_device_generated_commands
void vkCmdExecuteGeneratedCommandsEXT(
    VkCommandBuffer                             commandBuffer,
    VkBool32                                    isPreprocessed,
    const VkGeneratedCommandsInfoEXT*           pGeneratedCommandsInfo);Parameters
- 
commandBufferis the command buffer into which the command is recorded.
- 
isPreprocessedrepresents whether the input data has already been preprocessed on the device. If it isVK_FALSEthis command will implicitly trigger the preprocessing step, otherwise not.
- 
pGeneratedCommandsInfois a pointer to a VkGeneratedCommandsInfoEXT structure containing parameters affecting the generation of commands.
Description
If the VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_EXT
flag was used to create the
VkGeneratedCommandsInfoEXT::indirectCommandsLayout then the
execution of sequences through this command may use implementation-defined
ordering which is not guaranteed to be coherent using the same input data.
It does not affect the order of token processing within a sequence.
This is the implied ordering with
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_EXT.
After a call to vkCmdExecuteGeneratedCommandsEXT, command buffer state
will become undefined according to the tokens executed.
This table specifies the relationship between tokens used and state
invalidation.
| Common Tokens | States Invalidated | 
|---|---|
| 
 | Bound shaders and pipelines | 
| 
 | Push constant data | 
| 
 | Push constant data | 
| 
 | Index buffer | 
| 
 | Vertex buffer | 
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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 [descriptorsets-compatibility]
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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 [descriptorsets-compatibility]
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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 [descriptorsets-compatibility]
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-None-08606 
 If theshaderObjectfeature is not enabled, a valid pipeline must be bound to the pipeline bind point used by this command
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-commandBuffer-02707 
 IfcommandBufferis an unprotected command buffer andprotectedNoFaultis not supported, any resource accessed by bound shaders must not be a protected resource
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-viewType-07752 
 If a VkImageView is accessed as a result of this command, then the image view’sviewTypemust match theDimoperand of theOpTypeImageas described in [spirvenv-image-dimensions]
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-None-07288 
 Any shader invocation executed by this command must terminate
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-renderPass-02684 
 The current render pass must be compatible with therenderPassmember of theVkGraphicsPipelineCreateInfostructure specified when creating theVkPipelinebound toVK_PIPELINE_BIND_POINT_GRAPHICS
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-None-07748 
 If any shader statically accesses an input attachment, a valid descriptor must be bound to the pipeline via a descriptor set
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-None-08876 
 If a shader object is bound to any graphics stage, the current render pass instance must have been begun with vkCmdBeginRendering
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-primitivesGeneratedQueryWithRasterizerDiscard-06708 
 If theprimitivesGeneratedQueryWithRasterizerDiscardfeature is not enabled and theVK_QUERY_TYPE_PRIMITIVES_GENERATED_EXTquery is active, rasterization discard must not be enabled
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-None-07850 
 If dynamic state was inherited from VkCommandBufferInheritanceViewportScissorInfoNV, it must be set in the current command buffer prior to this drawing command
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-None-08878 
 All bound graphics shader objects must have been created with identical or identically defined push constant ranges
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-None-08879 
 All bound graphics shader objects must have been created with identical or identically defined arrays of descriptor set layouts
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-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-vkCmdExecuteGeneratedCommandsEXT-None-10677 
 If the per-tile execution model is enabled, the tileShadingPerTileDraw feature must be enabled
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-None-10772 
 If a shader object is bound to any graphics stage, multiview functionality must not be enabled in the current render pass
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-commandBuffer-11045 
 commandBuffermust not be a protected command buffer
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11046 
 IfisPreprocessedisVK_TRUEand vkGetGeneratedCommandsMemoryRequirementsEXT did not return a required size of zero then vkCmdPreprocessGeneratedCommandsEXT must have already been executed on the device before this command executes, and the preprocessing command must have used the samepGeneratedCommandsInfocontent as well as the content of the input buffers it references (all except VkGeneratedCommandsInfoEXT::preprocessAddress)
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11047 
 IfisPreprocessedisVK_TRUEthen theindirectCommandsLayoutmember ofpGeneratedCommandsInfomust have been created with theVK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_EXTbit set
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-indirectCommandsLayout-11141 
 If theindirectCommandsLayoutmember ofpGeneratedCommandsInfowas created with theVK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_EXTbit set, thenisPreprocessedmust beVK_TRUE
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-preprocessAddress-11142 
 The contents of thepreprocessAddressmember ofpGeneratedCommandsInfomust not have been previously used to record another vkCmdExecuteGeneratedCommandsEXT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11048 
 IfisPreprocessedisVK_TRUEthen the bound descriptor sets and push constants must match identically with those bound during recording of the corresponding call to vkCmdPreprocessGeneratedCommandsEXT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-10198 
 IfisPreprocessedisVK_TRUEthen the conditional render state and its predicate value must match identically with the state and value set during execution of the corresponding call to vkCmdPreprocessGeneratedCommandsEXT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11049 
 IfisPreprocessedisVK_TRUEand theindirectCommandsLayoutmember ofpGeneratedCommandsInfocontains a draw token, then the graphics state bound oncommandBuffermust match identically with the graphics state bound on thestateCommandBufferpassed to vkCmdPreprocessGeneratedCommandsEXT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11149 
 IfisPreprocessedisVK_TRUE, then the queue family index ofcommandBuffermust be the same as the queue family index used to allocate thestateCommandBufferpassed to vkCmdPreprocessGeneratedCommandsEXT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11051 
 IfisPreprocessedisVK_TRUEand theindirectCommandsLayoutmember ofpGeneratedCommandsInfocontains a dispatch token, then the compute state bound oncommandBuffermust match identically with the compute state bound on thestateCommandBufferpassed to vkCmdPreprocessGeneratedCommandsEXT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11052 
 IfisPreprocessedisVK_TRUEand theindirectCommandsLayoutmember ofpGeneratedCommandsInfocontains a ray tracing token, then the ray tracing state bound oncommandBuffermust match identically with the ray tracing state bound on thestateCommandBufferpassed to vkCmdPreprocessGeneratedCommandsEXT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11150 
 IfisPreprocessedisVK_TRUEand theindirectCommandsLayoutmember ofpGeneratedCommandsInfocontains a ray tracing token, the queue family indexcommandBufferwas allocated from must be the same queue family index used to allocate thestateCommandBufferpassed to vkCmdPreprocessGeneratedCommandsEXT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-indirectCommandsLayout-11053 
 If the token sequence of the passed VkGeneratedCommandsInfoEXT::indirectCommandsLayoutcontains aVK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXTtoken, the initial shader state of VkGeneratedCommandsInfoEXT::indirectExecutionSetmust be bound oncommandBuffer
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-indirectCommandsLayout-11004 
 IfindirectCommandsLayoutwas created with a token sequence that contained theVK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXTtoken andindirectExecutionSetwas created usingVK_INDIRECT_EXECUTION_SET_INFO_TYPE_SHADER_OBJECTS_EXT, every executedVK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXTtoken must bind all the shader stages set in the VkIndirectCommandsExecutionSetTokenEXT::shaderStagesused to createindirectCommandsLayout
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-isPreprocessed-11055 
 IfisPreprocessedisVK_TRUEand the token sequence of the passed VkGeneratedCommandsInfoEXT::indirectCommandsLayoutcontains aVK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXTtoken, the members of VkGeneratedCommandsInfoEXT::indirectExecutionSetaccessed by this command must not have been modified since the preprocess buffer was generated
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-indirectCommandsLayout-11056 
 If theindirectCommandsLayoutmember ofpGeneratedCommandsInfocontains a draw token, then the active render pass must not have a specified fragment density map
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-deviceGeneratedCommandsTransformFeedback-11057 
 IfdeviceGeneratedCommandsTransformFeedbackis not supported on device, transform feedback must not be active
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-indirectExecutionSet-11058 
 If transform feedback is active, VkGeneratedCommandsInfoEXT::indirectExecutionSetmust be VK_NULL_HANDLE
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-deviceGeneratedCommands-11059 
 TheVkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT::deviceGeneratedCommandsfeature must be enabled
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-supportedIndirectCommandsShaderStages-11060 
 The bound shader stages must be supported by VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT::supportedIndirectCommandsShaderStages
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-supportedIndirectCommandsShaderStages-11061 
 Only stages specified in VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT::supportedIndirectCommandsShaderStagescan be set inpGeneratedCommandsInfo->shaderStages
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-None-11062 
 If a rendering pass is currently active, the view mask must be0
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-commandBuffer-11143 
 commandBuffermust not have been created withVK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-indirectCommandsLayout-10769 
 If theindirectCommandsLayoutmember ofpGeneratedCommandsInfocontains a draw token, this command must not be called outside a render pass instance
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-commandBuffer-parameter 
 commandBuffermust be a valid VkCommandBuffer handle
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-pGeneratedCommandsInfo-parameter 
 pGeneratedCommandsInfomust be a valid pointer to a valid VkGeneratedCommandsInfoEXT structure
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-commandBuffer-recording 
 commandBuffermust be in the recording state
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-commandBuffer-cmdpool 
 TheVkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-videocoding 
 This command must only be called outside of a video coding scope
- 
VUID-vkCmdExecuteGeneratedCommandsEXT-bufferlevel 
 commandBuffermust be a primaryVkCommandBuffer
- 
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 | 
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.