diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-05-06 10:15:07 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-05-07 16:24:43 -0600 |
| commit | c5104f208dd40c53c47a77d84b4c5cd68065af26 (patch) | |
| tree | 2bcce4f0d3cf736a33e2c0127fedd79a1267f4e9 /vulkan.py | |
| parent | 8abcd57aee10259ad7066200383c0769bdb7e3f4 (diff) | |
| download | usermoji-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 'vulkan.py')
| -rwxr-xr-x | vulkan.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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")]), |
