radv: refactor physical device properties
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Jan 2020 14:02:26 +0000 (15:02 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 21:44:56 +0000 (21:44 +0000)
commit3a3b16a3958837f51f12849a557130be43b7fb29
tree86f498f39cc2e0d6b776fa09be241f6046666b0f
parent5b9fe184854f4026fb70d90fd6fee82bc72c2c0e
radv: refactor physical device properties

Based on ANV. This removes a bunch of duplicated code for properties.

Fixes: 1b8d99e2885 ("radv: bump conformance version to 1.2.0.0")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3626>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3626>
src/amd/vulkan/radv_device.c