diff options
Diffstat (limited to 'layers/vk_layer_table.cpp')
| -rw-r--r-- | layers/vk_layer_table.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layers/vk_layer_table.cpp b/layers/vk_layer_table.cpp index d9ec3c5b..bc9062e7 100644 --- a/layers/vk_layer_table.cpp +++ b/layers/vk_layer_table.cpp @@ -155,6 +155,10 @@ VkLayerInstanceDispatchTable *initInstanceTable(VkInstance instance, const PFN_v layer_init_instance_dispatch_table(instance, pTable, gpa); + // Setup func pointers that are required but not externally exposed. These won't be added to the instance dispatch table by + // default. + pTable->GetPhysicalDeviceProcAddr = (PFN_GetPhysicalDeviceProcAddr)gpa(instance, "vk_layerGetPhysicalDeviceProcAddr"); + return pTable; } |
