| // WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry |
| .Valid Usage (Implicit) |
| **** |
| * [[VUID-vkCmdBindDescriptorSets-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle |
| * [[VUID-vkCmdBindDescriptorSets-pipelineBindPoint-parameter]] pname:pipelineBindPoint must: be a valid elink:VkPipelineBindPoint value |
| * [[VUID-vkCmdBindDescriptorSets-layout-parameter]] pname:layout must: be a valid sname:VkPipelineLayout handle |
| * [[VUID-vkCmdBindDescriptorSets-pDescriptorSets-parameter]] pname:pDescriptorSets must: be a valid pointer to an array of pname:descriptorSetCount valid sname:VkDescriptorSet handles |
| * [[VUID-vkCmdBindDescriptorSets-pDynamicOffsets-parameter]] If pname:dynamicOffsetCount is not `0`, pname:pDynamicOffsets must: be a valid pointer to an array of pname:dynamicOffsetCount basetype:uint32_t values |
| * [[VUID-vkCmdBindDescriptorSets-commandBuffer-recording]] pname:commandBuffer must: be in the <<commandbuffers-lifecycle, recording state>> |
| * [[VUID-vkCmdBindDescriptorSets-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support graphics, or compute operations |
| * [[VUID-vkCmdBindDescriptorSets-descriptorSetCount-arraylength]] pname:descriptorSetCount must: be greater than `0` |
| * [[VUID-vkCmdBindDescriptorSets-commonparent]] Each of pname:commandBuffer, pname:layout, and the elements of pname:pDescriptorSets must: have been created, allocated, or retrieved from the same sname:VkDevice |
| **** |
| |
| .Host Synchronization |
| **** |
| * Host access to pname:commandBuffer must: be externally synchronized |
| * Host access to the sname:VkCommandPool that pname:commandBuffer was allocated from must: be externally synchronized |
| **** |
| |
| .Command Properties |
| **** |
| [options="header", width="100%"] |
| |==== |
| |<<VkCommandBufferLevel,Command Buffer Levels>>|<<vkCmdBeginRenderPass,Render Pass Scope>>|<<VkQueueFlagBits,Supported Queue Types>>|<<synchronization-pipeline-stages-types,Pipeline Type>> |
| |Primary + |
| Secondary|Both|Graphics + |
| Compute| |
| |==== |
| **** |
| |