radv/rt: refactor radv_rt_pipeline_compile()
authorDaniel Schürmann <daniel@schuermann.dev>
Fri, 14 Apr 2023 14:34:27 +0000 (16:34 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 10 May 2023 07:02:13 +0000 (07:02 +0000)
commitdfa5fd480cfa89e143e32c1d12aabafebf9eccdc
treecfa8faf17a263c723c92ff7ca257f388b31a3e2e
parentb314c2aae22792b4e4386e2f49578fe9b87cd66e
radv/rt: refactor radv_rt_pipeline_compile()

This patch moves the NIR shader creation into radv_rt_pipeline_compile()
and simplifies radv_rt_pipeline_create().

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