radv: add a no-op version of vkGetPhysicalDeviceToolPropertiesEXT()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 13 Jan 2022 06:55:57 +0000 (07:55 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 25 Jan 2022 15:57:53 +0000 (15:57 +0000)
commit852197537ec01d4b18d8c4e83f332fc63ab44dc6
tree4f05797749456f072abbe247fd4440ed5b8b320e
parent9be4d36d5f213ed31768e9761c82b9516ae6e684
radv: add a no-op version of vkGetPhysicalDeviceToolPropertiesEXT()

It seems the vulkan common runtime code exposes VK_EXT_tooling but
doesn't (yet) have a fallback if the backend doesn't enable this
extension. Implement it as a no-op for a temporary workaround.

This fixes crashes with dEQP-VK.api.tooling_info.*.

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/14707>
src/amd/vulkan/radv_device.c