Previously removed function calls in extension_create_instance
because I believed they were no longer needed. I was incorrect.
Change-Id: Ibc63009f0038a413b7e1bc03225818b046a62352
return true;
}
+ // Functions for the VK_AMD_draw_indirect_count extension
+
+ if (!strcmp("vkCmdDrawIndirectCountAMD", name)) {
+ *addr = (void *)vkCmdDrawIndirectCountAMD;
+ return true;
+ }
+
+ if (!strcmp("vkCmdDrawIndexedIndirectCountAMD", name)) {
+ *addr = (void *)vkCmdDrawIndexedIndirectCountAMD;
+ return true;
+ }
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+
+ // Functions for the VK_NV_external_memory_win32 extension
+
+ if (!strcmp("vkGetMemoryWin32HandleNV", name)) {
+ *addr = (void *)vkGetMemoryWin32HandleNV;
+ return true;
+ }
+
+#endif // VK_USE_PLATFORM_WIN32_KHR
+
return false;
}