1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry 2.Valid Usage (Implicit) 3**** 4* [[VUID-vkCmdWriteTimestamp-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle 5* [[VUID-vkCmdWriteTimestamp-pipelineStage-parameter]] pname:pipelineStage must: be a valid elink:VkPipelineStageFlagBits value 6* [[VUID-vkCmdWriteTimestamp-queryPool-parameter]] pname:queryPool must: be a valid sname:VkQueryPool handle 7* [[VUID-vkCmdWriteTimestamp-commandBuffer-recording]] pname:commandBuffer must: be in the <<commandbuffers-lifecycle, recording state>> 8* [[VUID-vkCmdWriteTimestamp-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support transfer, graphics, or compute operations 9* [[VUID-vkCmdWriteTimestamp-commonparent]] Both of pname:commandBuffer, and pname:queryPool must: have been created, allocated, or retrieved from the same sname:VkDevice 10**** 11 12.Host Synchronization 13**** 14* Host access to pname:commandBuffer must: be externally synchronized 15* Host access to the sname:VkCommandPool that pname:commandBuffer was allocated from must: be externally synchronized 16**** 17 18.Command Properties 19**** 20[options="header", width="100%"] 21|==== 22|<<VkCommandBufferLevel,Command Buffer Levels>>|<<vkCmdBeginRenderPass,Render Pass Scope>>|<<VkQueueFlagBits,Supported Queue Types>>|<<synchronization-pipeline-stages-types,Pipeline Type>> 23|Primary + 24Secondary|Both|Transfer + 25Graphics + 26Compute|Transfer 27|==== 28**** 29 30