1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry 2.Valid Usage (Implicit) 3**** 4* [[VUID-vkCmdSetStencilCompareMask-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle 5* [[VUID-vkCmdSetStencilCompareMask-faceMask-parameter]] pname:faceMask must: be a valid combination of elink:VkStencilFaceFlagBits values 6* [[VUID-vkCmdSetStencilCompareMask-faceMask-requiredbitmask]] pname:faceMask must: not be `0` 7* [[VUID-vkCmdSetStencilCompareMask-commandBuffer-recording]] pname:commandBuffer must: be in the <<commandbuffers-lifecycle, recording state>> 8* [[VUID-vkCmdSetStencilCompareMask-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support graphics operations 9**** 10 11.Host Synchronization 12**** 13* Host access to pname:commandBuffer must: be externally synchronized 14* Host access to the sname:VkCommandPool that pname:commandBuffer was allocated from must: be externally synchronized 15**** 16 17.Command Properties 18**** 19[options="header", width="100%"] 20|==== 21|<<VkCommandBufferLevel,Command Buffer Levels>>|<<vkCmdBeginRenderPass,Render Pass Scope>>|<<VkQueueFlagBits,Supported Queue Types>>|<<synchronization-pipeline-stages-types,Pipeline Type>> 22|Primary + 23Secondary|Both|Graphics| 24|==== 25**** 26 27