diff --git a/volk.c b/volk.c index b6f986f..1de8902 100644 --- a/volk.c +++ b/volk.c @@ -163,6 +163,9 @@ VkDevice volkGetLoadedDevice(void) void volkLoadInstanceTable(struct VolkInstanceTable* table, VkInstance instance) { + /* vkGetDeviceProcAddr is used by volkLoadDeviceTable; for now we load this global pointer even though it might be instance-specific */ + vkGetDeviceProcAddr = (PFN_vkGetDeviceProcAddr)load(context, "vkGetDeviceProcAddr"); + volkGenLoadInstanceTable(table, instance, vkGetInstanceProcAddrStub); }