radv: add an option that allows to dump pre-optimization ir
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 19 Jan 2018 11:12:02 +0000 (12:12 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 22 Jan 2018 11:28:33 +0000 (12:28 +0100)
commit33e6e5e6a45a63728053d92c366fe8b320199843
treea5dd61a31210be3d044712e50db41daba522aea6
parent525b4f7548462bfc2e82f2d1f04f61ce6854a3c5
radv: add an option that allows to dump pre-optimization ir

With RADV_DEBUG=preoptir.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_shader.c