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.
This commit is contained in:
1 parent
bb96884232
commit
ab2385c04a
1 file changed
+3
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user