Revert "radv: Don't store buffer references in the descriptor set."
In order to reduce a performance regression introduced by 4b13fe55 ("radv: Keep a global BO list for VkMemory."), we are going to maintain two different paths. One when VK_EXT_descriptor_indexing is enabled by the application because we need to have a global BO list, and one (the old one) when it's not enabled. With Talos on Polaris, the global BO list reduces performance by 10% which is too much for me. This reverts commit ab6cadd3. Reviewed-by:Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
- src/amd/vulkan/radv_cmd_buffer.c 4 additions, 0 deletionssrc/amd/vulkan/radv_cmd_buffer.c
- src/amd/vulkan/radv_debug.c 3 additions, 0 deletionssrc/amd/vulkan/radv_debug.c
- src/amd/vulkan/radv_descriptor_set.c 69 additions, 13 deletionssrc/amd/vulkan/radv_descriptor_set.c
- src/amd/vulkan/radv_descriptor_set.h 4 additions, 0 deletionssrc/amd/vulkan/radv_descriptor_set.h
- src/amd/vulkan/radv_private.h 2 additions, 0 deletionssrc/amd/vulkan/radv_private.h