vulkan/runtime: add internal parameter to vk_spirv_to_nir
authorIván Briano <ivan.briano@intel.com>
Fri, 15 Sep 2023 21:34:31 +0000 (14:34 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 9 Oct 2023 23:37:51 +0000 (23:37 +0000)
commit919f5468eb612dac088c9b605455dd3306547b0f
tree01d6d29576d32b7a8e0e1067283ad7b29be8b0ea
parentc8c1109bc6cc2b0910e4e502cb8a2dbebae2d4da
vulkan/runtime: add internal parameter to vk_spirv_to_nir

If used to compile internal shaders, it will lack the flag while running
through all the optimization passes it does.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25281>
src/intel/vulkan/anv_internal_kernels.c
src/vulkan/runtime/vk_nir.c
src/vulkan/runtime/vk_nir.h
src/vulkan/runtime/vk_pipeline.c