radv: Break up radv_shader_nir_to_asm
authorFriedrich Vock <friedrich.vock@gmx.de>
Wed, 7 Jun 2023 09:12:51 +0000 (11:12 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Jul 2023 15:58:25 +0000 (15:58 +0000)
commit51f2fa1a5ef0e05fb4b95ba914fbee787d983fee
tree1cef9753c8f689224ff5570307b0cf678649d716
parent878a731c77b17b05f06e1179e43195165ea45cac
radv: Break up radv_shader_nir_to_asm

radv_shader_nir_to_asm actually had 3 functions: compiling the NIR to
asm, uploading the shaders and generating debug info for them.
This reduces the functionality of radv_shader_nir_to_asm to only compile
NIR to asm. Uploading the shader and generating debug info is split into
separate functions.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23516>
src/amd/vulkan/radv_pipeline_cache.c
src/amd/vulkan/radv_pipeline_compute.c
src/amd/vulkan/radv_pipeline_graphics.c
src/amd/vulkan/radv_pipeline_rt.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h