| // WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry |
| .Valid Usage (Implicit) |
| **** |
| * [[VUID-vkCmdUpdateBuffer-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle |
| * [[VUID-vkCmdUpdateBuffer-dstBuffer-parameter]] pname:dstBuffer must: be a valid sname:VkBuffer handle |
| * [[VUID-vkCmdUpdateBuffer-pData-parameter]] pname:pData must: be a valid pointer to an array of pname:dataSize bytes |
| * [[VUID-vkCmdUpdateBuffer-commandBuffer-recording]] pname:commandBuffer must: be in the <<commandbuffers-lifecycle, recording state>> |
| * [[VUID-vkCmdUpdateBuffer-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support transfer, graphics, or compute operations |
| * [[VUID-vkCmdUpdateBuffer-renderpass]] This command must: only be called outside of a render pass instance |
| * [[VUID-vkCmdUpdateBuffer-dataSize-arraylength]] pname:dataSize must: be greater than `0` |
| * [[VUID-vkCmdUpdateBuffer-commonparent]] Both of pname:commandBuffer, and pname:dstBuffer 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|Outside|Transfer + |
| Graphics + |
| Compute|Transfer |
| |==== |
| **** |
| |