radv: use a linked list for physical devices
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Apr 2020 11:53:35 +0000 (13:53 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:44:21 +0000 (06:44 +0000)
commit701f2c3dfc9bd5b18b3103670f3946e723587f42
tree033f147737831f620f393ad350ab8514e55d9d73
parent8d993c9d2c23d70d48248c9a8f8bc2855e12b18f
radv: use a linked list for physical devices

Instead of a static array inside the instance object.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4806>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h