radv: add llvm_compiler_shader() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 12 Mar 2020 13:49:55 +0000 (14:49 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 13 Mar 2020 10:22:13 +0000 (10:22 +0000)
commit2d295ab3f35acd796826d6f06f798d8618b1d814
tree4169981f01577974c6b0e94bb829ddcef013d7d5
parent4d991c2de46794a5a7c10110677d55a498893586
radv: add llvm_compiler_shader() helper

To match aco_compile_shader().

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4163>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4163>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.c