From ab2385c04a6701c6e071fb3f46bfe4fe0cfecdd4 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 20 Nov 2026 14:39:54 -0800 Subject: [PATCH] Fix forward: the device floor test chains the line feature Gate m3-max-60393 (at a2476a2e76) failed clippy under --cfg m2v_gpu and m2v_cpu_icd: every_device_the_loader_lists_is_above_the_floor destructures floor::Features, which now has line_rasterization. It takes it and chains it as device creation does, with the floor's required robustness2. --- crates/metal2vulkan-runtime/src/tests/floor.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/metal2vulkan-runtime/src/tests/floor.rs b/crates/metal2vulkan-runtime/src/tests/floor.rs index 9eaaa7047..615aa52fb 100644 --- a/crates/metal2vulkan-runtime/src/tests/floor.rs +++ b/crates/metal2vulkan-runtime/src/tests/floor.rs @@ -1548,13 +1548,15 @@ fn every_device_the_loader_lists_is_above_the_floor() { mut divisor, mut border_swizzle, mut linear_attachment, + mut line_rasterization, } = capabilities.features; let mut features = vk::PhysicalDeviceFeatures2::default() .features(core) .push_next(&mut vulkan11) .push_next(&mut vulkan12) .push_next(&mut vulkan13) - .push_next(&mut robustness2); + .push_next(&mut robustness2) + .push_next(&mut line_rasterization); let enabled = |name: &std::ffi::CStr| capabilities.extensions.contains(&name); if enabled(ash::khr::shader_maximal_reconvergence::NAME) { features = features.push_next(&mut maximal_reconvergence);