vulkan: fix initializing the primitive topology when it's dynamic
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 9 Aug 2022 14:34:10 +0000 (16:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Aug 2022 06:40:39 +0000 (08:40 +0200)
commitc6e88d0394f9cb33cc440363a7031b480093a7d2
tree0e1476639ee84c6c061cbc2b0d3f5f3501b8a582
parent3f9450b4e5c889552f87cfdd846391f055e84d73
vulkan: fix initializing the primitive topology when it's dynamic

The PSO still contain the topology class and some Vulkan drivers like
RADV need to know this.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18015>
src/vulkan/runtime/vk_graphics_state.c