radv: refactor shader_compile()
authorDaniel Schürmann <daniel@schuermann.dev>
Sat, 18 Mar 2023 00:20:15 +0000 (01:20 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 24 Mar 2023 19:03:29 +0000 (19:03 +0000)
commit493d93f26c5fbd59c04d67eb1daed1447f02f5db
tree5eac474c766baf42298dd746191baa5fd7e6e8ba
parent5051980ff80e16d23aa1617c9abbb944d3de6265
radv: refactor shader_compile()

- change the return type to radv_shader_binary *
- setup options at the caller side

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