From c5104f208dd40c53c47a77d84b4c5cd68065af26 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Wed, 6 May 2015 10:15:07 -0600 Subject: 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() --- vulkan.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vulkan.py') diff --git a/vulkan.py b/vulkan.py index cb0b04f9..e795da17 100755 --- a/vulkan.py +++ b/vulkan.py @@ -235,6 +235,10 @@ core = Extension( Param("size_t*", "pDataSize"), Param("void*", "pData")]), + Proto("void*", "GetInstanceProcAddr", + [Param("VkInstance", "instance"), + Param("const char*", "pName")]), + Proto("void*", "GetProcAddr", [Param("VkPhysicalDevice", "gpu"), Param("const char*", "pName")]), -- cgit v1.2.3