volk-1.4.341.0 1.4.341.0
Standard Vulkan loader code
Calls LoadLibraryA in sourceDynamic library load in source
SHA-256c9dae696508a6329023c7a4e68ae666488d1e8ceb46b30e8b22940f8c7248fee
MaleculeH₂(DsPo)
Evidence
27:16… lus
28extern "C" {
29#endif
30__declspec(dllimport) HMODULE __stdcall LoadLibraryA(LPCSTR);
31__declspec(dllimport) FARPROC __stdcall GetProcAddress(HMODULE, LPCSTR);
32__declspec(dllimport) int __stdcall FreeLibrary(HMODULE);
33#ifdef __cplusplus
84:7… lt volkInitialize(void)
85{
86#if defined(_WIN32)
87 HMODULE module = LoadLibraryA("vulkan-1.dll");
88 if (!module)
89 return VK_ERROR_INITIALIZATION_FAILED;
90
91 // note: function pointer is cast through void functi …
92:4… GetInstanceProcAddr = (PFN_vkGetInstanceProcAddr)(void(*)(void))GetProcAddress(module, "vkGetInstanceProcAddr");
93#elif defined(__APPLE__)
94 void* module = dlopen("libvulkan.dylib", RTLD_NOW | RTLD_LOCAL);
95 i …
3 *
4 * Copyright (C) 2018-2026, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
5 * Report bugs and download new versions at https://github.com/zeux/volk
6 *
7 * This library is distributed under the MIT License. See notice at the end of this file.
No evidence locations were recorded for this file. Raw result