zink: dynamically load a few functions
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 23 Jun 2021 08:23:38 +0000 (10:23 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 May 2022 16:23:41 +0000 (16:23 +0000)
commit56e9ccce7b7c69054a231274c4cb80a77495e0fe
tree7eea2e82637be0c5f034059079cb082fd7cad2a5
parentd91cb5cbcc013da3e6484b8c9cb69feac94811c1
zink: dynamically load a few functions

These functions are used in a bit of a limbo-situation; we haven't yet
loaded the dispatch-table yet, because we have no instance yet. So let's
instead load them directly from the loader when we need them.

Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11550>
src/gallium/drivers/zink/zink_instance.py