radv: dump NIR when a GPU hang is detected
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 22 Sep 2017 14:44:08 +0000 (16:44 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 4 Oct 2017 17:37:08 +0000 (19:37 +0200)
commita2a350a3be1a4f3dec8cc3264a19eb877d606628
tree32d8830a1ba76ef648e3ad2a6333fb9e0eded04f
parent94d800bfa364601faee73826c941015e2f15ae05
radv: dump NIR when a GPU hang is detected

This looks a bit ugly to me, but the existing codepath
is not terribly elegant as well.

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