radv: Use different allocator for descriptor set vram.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 16 Feb 2017 20:23:58 +0000 (21:23 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 17 Feb 2017 08:28:23 +0000 (09:28 +0100)
commitd5bf4c739462a686fb186f5e804ea9e628431526
tree78ce72b45bde063908bd76187fb5715d0e189af3
parentf4487016226c3337fa5fb2244c75ce298093c3ce
radv: Use different allocator for descriptor set vram.

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.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_descriptor_set.c
src/amd/vulkan/radv_private.h