blob: 9ec44b512a5a27d24bc2553b35ee0787455a3428 [file] [log] [blame]
// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
.Valid Usage (Implicit)
****
* [[VUID-vkCmdClearAttachments-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle
* [[VUID-vkCmdClearAttachments-pAttachments-parameter]] pname:pAttachments must: be a valid pointer to an array of pname:attachmentCount valid sname:VkClearAttachment structures
* [[VUID-vkCmdClearAttachments-pRects-parameter]] pname:pRects must: be a valid pointer to an array of pname:rectCount sname:VkClearRect structures
* [[VUID-vkCmdClearAttachments-commandBuffer-recording]] pname:commandBuffer must: be in the <<commandbuffers-lifecycle, recording state>>
* [[VUID-vkCmdClearAttachments-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support graphics operations
* [[VUID-vkCmdClearAttachments-renderpass]] This command must: only be called inside of a render pass instance
* [[VUID-vkCmdClearAttachments-attachmentCount-arraylength]] pname:attachmentCount must: be greater than `0`
* [[VUID-vkCmdClearAttachments-rectCount-arraylength]] pname:rectCount must: be greater than `0`
****
.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|Inside|Graphics|Graphics
|====
****