vulkan: Add a vk_shader_module_to_nir() helper
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