radv: keep track of the disasm string in debug mode only
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 1 Sep 2017 11:45:33 +0000 (13:45 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 8 Sep 2017 15:18:17 +0000 (17:18 +0200)
commit885d75760b9157f1d84105c979503ec8588470c6
treea1a1c95f09ce502f887449aca19b5be50f3f5837
parent92db23f3f912f207273a90d0850f436e3e95b1d8
radv: keep track of the disasm string in debug mode only

This will allow to dump the active shaders when a hang is
detected. Only the ASM will be dumped for now.

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