feat(wayland): implement shm ontop of dmabuf

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-07-16 01:13:38 +02:00
parent 826b2413c9
commit a8144dbd22
5 changed files with 216 additions and 35 deletions

View File

@@ -50,7 +50,9 @@ pub fn setup_vulkano_context(
ash_instance.handle(),
vulkano::instance::InstanceCreateInfo {
flags: InstanceCreateFlags::empty(),
max_api_version: Some(vulkano::Version::from(hal_instance.instance_api_version())),
// TODO: make vulkan init reasonable and remove this hardcoded value from
// bevy_mod_openxr
max_api_version: Some(vulkano::Version::V1_2),
enabled_extensions: vulkano::instance::InstanceExtensions::from_iter(
hal_instance
.extensions()
@@ -93,6 +95,7 @@ pub fn setup_vulkano_context(
),
// this is def wrong, lets hope it doesn't cause issues....
enabled_features: vulkano::device::DeviceFeatures::empty(),
..Default::default()
},
)