• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
2.Valid Usage (Implicit)
3****
4* [[VUID-vkCmdUpdateBuffer-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle
5* [[VUID-vkCmdUpdateBuffer-dstBuffer-parameter]] pname:dstBuffer must: be a valid sname:VkBuffer handle
6* [[VUID-vkCmdUpdateBuffer-pData-parameter]] pname:pData must: be a valid pointer to an array of pname:dataSize bytes
7* [[VUID-vkCmdUpdateBuffer-commandBuffer-recording]] pname:commandBuffer must: be in the <<commandbuffers-lifecycle, recording state>>
8* [[VUID-vkCmdUpdateBuffer-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support transfer, graphics, or compute operations
9* [[VUID-vkCmdUpdateBuffer-renderpass]] This command must: only be called outside of a render pass instance
10* [[VUID-vkCmdUpdateBuffer-dataSize-arraylength]] pname:dataSize must: be greater than `0`
11* [[VUID-vkCmdUpdateBuffer-commonparent]] Both of pname:commandBuffer, and pname:dstBuffer must: have been created, allocated, or retrieved from the same sname:VkDevice
12****
13
14.Host Synchronization
15****
16* Host access to pname:commandBuffer must: be externally synchronized
17* Host access to the sname:VkCommandPool that pname:commandBuffer was allocated from must: be externally synchronized
18****
19
20.Command Properties
21****
22[options="header", width="100%"]
23|====
24|<<VkCommandBufferLevel,Command Buffer Levels>>|<<vkCmdBeginRenderPass,Render Pass Scope>>|<<VkQueueFlagBits,Supported Queue Types>>|<<synchronization-pipeline-stages-types,Pipeline Type>>
25|Primary +
26Secondary|Outside|Transfer +
27Graphics +
28Compute|Transfer
29|====
30****
31
32