vulkan/device_select: remove get_pdevice_proc_addr
authorChia-I Wu <olvaffe@gmail.com>
Tue, 3 May 2022 17:55:03 +0000 (10:55 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Jul 2022 23:53:25 +0000 (23:53 +0000)
commit3831079fdf2801f862a4a5eaf4a8692398f7651e
tree5e92fe43c2fbfbf613187b5eb239ada96b88c624
parent259449e5735720655bfd721bfa24bfe50eaa1a9b
vulkan/device_select: remove get_pdevice_proc_addr

It is optional and is needed only when a layer has physical device
extensions that may be unknown to the loader.

This simplifies the layer a bit, but more importantly, it works around a
bug in the loader when there is another layer in the layer chain that
wraps VkInstance.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16307>
src/vulkan/device-select-layer/device_select_layer.c