From 2efa1e4f74e663db0991ff0a4e1dd733a22dcf24 Mon Sep 17 00:00:00 2001 From: Graham Wihlidal Date: Fri, 16 Nov 2018 18:00:40 +0100 Subject: [PATCH] Fix macOS instance loading - need to load through libvulkan.dylib, not libMoltenVK.dylib. Otherwise loading fails since the validation layers and debug report extensions can't be found (the loader is bypassed in this case, similar to directly linking against an IHV driver). Resolves #149 --- ash/src/entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ash/src/entry.rs b/ash/src/entry.rs index 6684152..6c8a7b1 100644 --- a/ash/src/entry.rs +++ b/ash/src/entry.rs @@ -33,7 +33,7 @@ const LIB_PATH: &'static str = "libvulkan.so.1"; const LIB_PATH: &'static str = "libvulkan.so"; #[cfg(any(target_os = "macos", target_os = "ios"))] -const LIB_PATH: &'static str = "libMoltenVK.dylib"; +const LIB_PATH: &'static str = "libvulkan.dylib"; lazy_static! { static ref VK_LIB: Result =