Skip to content

anv: ensure we reapply always pipeline dynamic state in runtime state

What does this MR do and why?

anv: ensure we reapply always pipeline dynamic state in runtime state

Doing something like this is allowed :

vkCreateGraphicsPipeline(.., scissorState, &pipeline);

vkCmdBindPipeline(pipeline);
vkCmdSetScissor(...)
vkCmdBindPipeline(pipeline)

If we don't reapply the pipeline dynamic state, the command buffer runtime state will keep the dynamic state set in between the 2 binds.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com

Edited by Lionel Landwerlin

Merge request reports