Skip to content

vulkan: add vk_spec_info_to_nir_spirv util method

All vulkan drivers have been copying anv's code to convert VkSpecializationInfo into nir_spirv_specialization.

Recently there was a Vulkan spec change on allowed values for VkSpecializationInfo, and all drivers got affected.

This commits creates a new helper, and uses it on all Vulkan Mesa drivers.

Merge request reports