aboutsummaryrefslogtreecommitdiff
path: root/include/vkLayer.h
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-05-06 10:15:07 -0600
committerJon Ashburn <jon@lunarg.com>2015-05-07 16:24:43 -0600
commitc5104f208dd40c53c47a77d84b4c5cd68065af26 (patch)
tree2bcce4f0d3cf736a33e2c0127fedd79a1267f4e9 /include/vkLayer.h
parent8abcd57aee10259ad7066200383c0769bdb7e3f4 (diff)
downloadusermoji-c5104f208dd40c53c47a77d84b4c5cd68065af26.tar.xz
misc: Add vkGetInstanceProcAddr() entrypoint
Adding this entrypoint as this has been discussed in khronos and is needed for the loader/layer/extension proposal. Caveats: 1) Have not updated layers or any tests/demos yet that will come later; 2) No one including loader is using this call yet; 3) Leaving exisitng vkGetProcAddr() as is for now; later once loader is using vkGetInstanceProcAddr call can switch vkGetProcAddr() to vkGetDeviceProcAddr()
Diffstat (limited to 'include/vkLayer.h')
-rw-r--r--include/vkLayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vkLayer.h b/include/vkLayer.h
index e95811b8..87a79e5d 100644
--- a/include/vkLayer.h
+++ b/include/vkLayer.h
@@ -26,6 +26,7 @@ typedef struct VkBaseLayerObject_
typedef struct VkLayerDispatchTable_
{
PFN_vkGetProcAddr GetProcAddr;
+ PFN_vkGetInstanceProcAddr GetInstanceProcAddr;
PFN_vkCreateInstance CreateInstance;
PFN_vkDestroyInstance DestroyInstance;
PFN_vkEnumeratePhysicalDevices EnumeratePhysicalDevices;