Vulkan-ValidationLayers icon indicating copy to clipboard operation
Vulkan-ValidationLayers copied to clipboard

layers: Invalidate dynamic state from previous static state

Open spencer-lunarg opened this issue 9 months ago • 5 comments

For https://github.com/KhronosGroup/Vulkan-Docs/issues/2276 (internal spec change https://gitlab.khronos.org/vulkan/vulkan/-/merge_requests/6666)

The following case was never being validated

vkCmdSet()
vkCmdBindPipeline() // static
vkCmdBindPipeline() // dynamic
vkCmdDraw()

This also adds better error messaging to let the developer know that dynamic state was invalidated

spencer-lunarg avatar May 21 '24 03:05 spencer-lunarg