Skip to content

vulkan: Add a vk_shader_module_to_nir() helper

Faith Ekstrand requested to merge gfxstrand/mesa:vulkan/module-to-nir into main

This encapsulates all the little bits needed to turn a shader module into some mostly reasonable NIR. It handles inlining functions, lowering variable initializers, handling per-member structs and other trickiness that is needed for consuming the output of spirv_to_nir.

Edited by Faith Ekstrand

Merge request reports