You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a pipeline is bound to the pipeline bind point used by this command, there must not have been any calls to dynamic state setting commands for any state specified statically in the VkPipeline object bound to the pipeline bind point used by this command, since that pipeline was bound
If a pipeline doesn't use tessellation, is it valid to call vkCmdSetPatchControlPointsEXT() after the pipeline is bound?
TEST_F(PositivePipeline, SetUnrelatedDynamicStateAfterBind) {
TEST_DESCRIPTION("Set vkCmdSetPatchControlPointsEXT after pipeline is bound that does not use tessellation");
AddRequiredExtensions(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
AddRequiredFeature(vkt::Feature::extendedDynamicState2PatchControlPoints);
RETURN_IF_SKIP(Init());
InitRenderTarget();
CreatePipelineHelper pipe(*this);
pipe.CreateGraphicsPipeline();
m_command_buffer.Begin();
m_command_buffer.BeginRenderPass(m_renderPassBeginInfo);
vk::CmdBindPipeline(m_command_buffer.handle(), VK_PIPELINE_BIND_POINT_GRAPHICS, pipe.Handle());
vk::CmdSetPatchControlPointsEXT(m_command_buffer.handle(), 4u);
vk::CmdDraw(m_command_buffer.handle(), 3u, 1u, 0u, 0u);
m_command_buffer.EndRenderPass();
m_command_buffer.End();
}
The text was updated successfully, but these errors were encountered:
basically we need to get a spec clarification (now that we seem to have so much CTS coverage) to show that dynamic state can be "ignored" if not used for certain parts of the pipeline
VUID-vkCmdDraw-None-08608
If a pipeline doesn't use tessellation, is it valid to call
vkCmdSetPatchControlPointsEXT()
after the pipeline is bound?The text was updated successfully, but these errors were encountered: