radv: dont store disasm string unless keep_shader_info flag set
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 17 Jul 2019 04:20:55 +0000 (14:20 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 18 Jul 2019 00:25:55 +0000 (00:25 +0000)
commita20a9d0c5e7e9d4468cfcf58fc5a4e9ad8f90610
tree5ad0d1b0bd3604e23f8f9893b45112dd11ac2009
parent82a2f1052946ec977a7b1fa5f08ff01e6334cff4
radv: dont store disasm string unless keep_shader_info flag set

This fixes the memory use regression from bug 111107.

Fixes: 726a31df705 ("radv: Add the concept of radv shader binaries.")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111107
src/amd/vulkan/radv_shader.c