radv: Use actual memory type count for setting app-visible bitset.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 25 Apr 2020 21:39:21 +0000 (23:39 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 28 Apr 2020 13:44:27 +0000 (15:44 +0200)
commit4a8d172d3f81ef981e386f0cc6c259c36818f697
tree1d18181a5f086191bed2264b2ce784f6e5768c41
parent8e03cf15f9516642ba7f7cd7b7a2d7aad835796a
radv: Use actual memory type count for setting app-visible bitset.

Otherwise we might make a bitset that is too large.

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4751>
src/amd/vulkan/radv_device.c