radv: fix dumping disassembly with RADV_DEBUG=shaders
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 23 Jul 2019 07:55:24 +0000 (09:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 23 Jul 2019 08:22:29 +0000 (10:22 +0200)
commit9343c93e34b559d29f62209ed832f9f11773515a
tree0cc97a9b8460e7475b3fa6e61b8195df39f020f7
parentb1c35fa6d6e1c2177bb602e8cad3d6a25534ad04
radv: fix dumping disassembly with RADV_DEBUG=shaders

Fixes: a20a9d0c5e7 ("radv: dont store disasm string unless keep_shader_info flag set")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_shader.c