radv: Use different allocator for descriptor set vram

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 17 February 2017 03:28 EST

This one only keeps allocated memory in the list, and list nodes in the descriptor sets. Thsi doesn't need messing around with max_sets, and we get automatic merging of free regions.

d5bf4c7 radv: Use different allocator for descriptor set vram.
src/amd/vulkan/radv_descriptor_set.c | 82 +++++++++++-------------------------
src/amd/vulkan/radv_private.h | 18 ++------
2 files changed, 29 insertions(+), 71 deletions(-)

Upstream: cgit.freedesktop.org


  • Share