radv: Only allocate supplied number of descriptors when variable.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 29 Jun 2019 01:07:03 +0000 (03:07 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 1 Jul 2019 18:53:33 +0000 (20:53 +0200)
commitd7e6541cc720a7d11d678adbeec7143b099127b0
tree8ce6463ac5ec39d0ee9d6c8d4ffb0c0bbd52c35a
parent177c35bf13ca6e0e950802cbea909b149a7bf579
radv: Only allocate supplied number of descriptors when variable.

Fixes: b5e04e9217b "radv: Support allocating variable size descriptor sets."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111019
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_descriptor_set.c