Skip to content

Commit

Permalink
vulkan: enable Mesa device select layer (if available)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Mar 3, 2024
1 parent 7f729d7 commit ca0f1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blade-graphics/src/vulkan/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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(),
Expand Down

0 comments on commit ca0f1fc

Please sign in to comment.