diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c index 6fa0017..0052eba 100644 --- a/libs/vkd3d/device.c +++ b/libs/vkd3d/device.c @@ -205,6 +205,12 @@ static HRESULT vkd3d_init_instance_caps(struct vkd3d_instance *instance, return S_OK; }
+#ifdef HAVE_MOLTENVK_VK_MVK_MOLTENVK_H +#define VULKAN_SO_NAME "libMoltenVK.dylib" +#else +#define VULKAN_SO_NAME "libvulkan.so.1" +#endif
We should consider linking to Vulkan loader (libvulkan.1.dylib) instead of directly to MoltenVK (ICD). Vulkan loader is included in Vulkan SDK for macOS.