vkGetInstanceProcAddr(instance, "vkGetInstanceProcAddr") should return our
vkGetInstanceProcAddr not the next in the chain.
CC: mesa-stable
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8286>
static void (*get_instance_proc_addr(VkInstance instance, const char* name))()
{
+ if (strcmp(name, "vkGetInstanceProcAddr") == 0)
+ return (void(*)())get_instance_proc_addr;
if (strcmp(name, "vkCreateInstance") == 0)
return (void(*)())device_select_CreateInstance;
if (strcmp(name, "vkDestroyInstance") == 0)