radv: fix descriptor pool allocation size
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 14 Sep 2018 12:56:38 +0000 (14:56 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 17 Sep 2018 08:18:01 +0000 (10:18 +0200)
commit90819abb56f6b1a0cd4946b13b6caf24fb46e500
tree32fb19a6799fa13c5b7982ff53d8646944ffd18f
parent67094e11e96da75dedd4ea7e0cdaa19f95cef4d8
radv: fix descriptor pool allocation size

The size has to be multiplied by the number of sets.

This gets rid of the OUT_OF_POOL_KHR error and fixes
a crash with the Tangrams demo.

CC: 18.1 18.2 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_descriptor_set.c