diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-08-29 15:36:23 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-08-31 13:27:14 -0600 |
| commit | a71dfb7eab11c7bb8d5308b2f9b607a4e043e763 (patch) | |
| tree | f3ad4b8e87ae921fb994a7cd3560ddb8cac58cf4 /loader/table_ops.h | |
| parent | 0ec7f3d96390a6a68debec142b1bdac106b6529f (diff) | |
| download | usermoji-a71dfb7eab11c7bb8d5308b2f9b607a4e043e763.tar.xz | |
loader: Add support for NV device extension
Added vkGetMemoryWin32HandleNV from the VK_NV_external_memory_win32
extension to the loader.
Change-Id: If6a959f126cc48ebf2608ed6e113e2883deae871
Diffstat (limited to 'loader/table_ops.h')
| -rw-r--r-- | loader/table_ops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h index 014607ad..5a9abf17 100644 --- a/loader/table_ops.h +++ b/loader/table_ops.h @@ -272,6 +272,10 @@ static inline void loader_init_device_extension_dispatch_table( table->CmdDrawIndexedIndirectCountAMD = (PFN_vkCmdDrawIndexedIndirectCountAMD)gpa( dev, "vkCmdDrawIndexedIndirectCountAMD"); +#ifdef VK_USE_PLATFORM_WIN32_KHR + table->GetMemoryWin32HandleNV = + (PFN_vkGetMemoryWin32HandleNV)gpa(dev, "vkGetMemoryWin32HandleNV"); +#endif // VK_USE_PLATFORM_WIN32_KHR } static inline void * |
