diff --git a/blade-graphics/src/vulkan/init.rs b/blade-graphics/src/vulkan/init.rs index 9481cb0d..e079d39b 100644 --- a/blade-graphics/src/vulkan/init.rs +++ b/blade-graphics/src/vulkan/init.rs @@ -5,7 +5,9 @@ use ash::{ use naga::back::spv; use std::{ffi, mem, sync::Mutex}; -const OPTIONAL_LAYERS: &[&[u8]] = &[]; +const OPTIONAL_LAYERS: &[&[u8]] = &[ + b"VK_LAYER_MESA_device_select\0", +]; const REQUIRED_DEVICE_EXTENSIONS: &[&ffi::CStr] = &[ vk::ExtInlineUniformBlockFn::name(),