radv: separate radv_postprocess_binary_config() from radv_shader_create()
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 16 Mar 2023 21:18:26 +0000 (22:18 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 24 Mar 2023 19:03:29 +0000 (19:03 +0000)
commitfe716c242829c0ac1ed1d0e68bdf62b16ad6405c
tree3d20666bef1c443d6e8bd60307a4858aad727c9f
parent0fec7819f4cb98c7ee9328978ae1f2c64557acf1
radv: separate radv_postprocess_binary_config() from radv_shader_create()

The goal is to make radv_shader_create() a function that creates a shader
from a binary without any additional information.
Postprocessing the config is only needed after compilation.

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