mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
vulkan/overlay: fix vkGetInstanceProcAddr self-resolving
vkGetInstanceProcAddr(instance, "vkGetInstanceProcAddr") should return our
vkGetInstanceProcAddr not the next in the chain.
CC: mesa-stable
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8285>
(cherry picked from commit fff77e4b43)
This commit is contained in:
parent
b439d0e679
commit
24c7a4df3a
2 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,7 @@
|
|||
"description": "vulkan/overlay: fix vkGetInstanceProcAddr self-resolving",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2582,6 +2582,7 @@ static const struct {
|
|||
const char *name;
|
||||
void *ptr;
|
||||
} name_to_funcptr_map[] = {
|
||||
{ "vkGetInstanceProcAddr", (void *) vkGetInstanceProcAddr },
|
||||
{ "vkGetDeviceProcAddr", (void *) vkGetDeviceProcAddr },
|
||||
#define ADD_HOOK(fn) { "vk" # fn, (void *) overlay_ ## fn }
|
||||
#define ADD_ALIAS_HOOK(alias, fn) { "vk" # alias, (void *) overlay_ ## fn }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue