// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry .Valid Usage (Implicit) **** * [[VUID-vkCmdClearDepthStencilImage-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle * [[VUID-vkCmdClearDepthStencilImage-image-parameter]] pname:image must: be a valid sname:VkImage handle * [[VUID-vkCmdClearDepthStencilImage-imageLayout-parameter]] pname:imageLayout must: be a valid elink:VkImageLayout value * [[VUID-vkCmdClearDepthStencilImage-pDepthStencil-parameter]] pname:pDepthStencil must: be a valid pointer to a valid sname:VkClearDepthStencilValue structure * [[VUID-vkCmdClearDepthStencilImage-pRanges-parameter]] pname:pRanges must: be a valid pointer to an array of pname:rangeCount valid sname:VkImageSubresourceRange structures * [[VUID-vkCmdClearDepthStencilImage-commandBuffer-recording]] pname:commandBuffer must: be in the <> * [[VUID-vkCmdClearDepthStencilImage-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support graphics operations * [[VUID-vkCmdClearDepthStencilImage-renderpass]] This command must: only be called outside of a render pass instance * [[VUID-vkCmdClearDepthStencilImage-rangeCount-arraylength]] pname:rangeCount must: be greater than `0` * [[VUID-vkCmdClearDepthStencilImage-commonparent]] Both of pname:commandBuffer, and pname:image 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%"] |==== |<>|<>|<>|<> |Primary + Secondary|Outside|Graphics|Transfer |==== ****