4eaa780944
We should not scrub raster dedicated states when dynamic state includes VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE. Test: - dEQP-VK.pipeline.extended_dynamic_state.*_raster - dEQP-VK.api.pipeline.pipeline_invalid_pointers_unused_structs.graphics Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Ryan Neph <ryanneph@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17582>