radv: Use correct buffer count with variable descriptor set sizes.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 8 Apr 2020 11:53:47 +0000 (13:53 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 8 Apr 2020 15:26:50 +0000 (15:26 +0000)
commita7e2efa7c95b78373d8a4b7b88ceb7b3769e6eaa
tree76dbdef3201358435442b0cdd886546349958ba1
parentbb7e44a23db614e58c997487b8dd5e61edf93f92
radv: Use correct buffer count with variable descriptor set sizes.

Fixes dEQP-VK.binding_model.descriptorset_random.sets16.noarray.ubolimitlow.sbolimitlow.imglimitlow.iublimitlow.frag.ialimitlow.0

CC: <mesa-stable@lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2607
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4489>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_descriptor_set.c
src/amd/vulkan/radv_private.h