radv: record LLVM IR when debugging shaders
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Mar 2018 09:34:13 +0000 (10:34 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 15 Mar 2018 16:20:03 +0000 (17:20 +0100)
commit81818662a5e5f252f95f4b4611b0840854d25beb
tree27c43722e267b68a129c2c5e2f8d190edcc36878
parentd07edf5fdf70b42324cac961feb10fb41c71b13b
radv: record LLVM IR when debugging shaders

If AMD_shader_info or RADV_TRACE_FILE is used we might need to
keep trace of LLVM IR.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h