diff --git a/crates/metal2vulkan/src/tests/engine_simd_emulated.rs b/crates/metal2vulkan/src/tests/engine_simd_emulated.rs index 8cc540842..2eb06e61c 100644 --- a/crates/metal2vulkan/src/tests/engine_simd_emulated.rs +++ b/crates/metal2vulkan/src/tests/engine_simd_emulated.rs @@ -1579,7 +1579,8 @@ fn emulated_operations_do_not_depend_on_reconvergence() { } /// On lavapipe without maximal reconvergence (its description with `shaderMaximalReconvergence` -/// cleared, as the runtime lane withholds the feature): the shuffles of `dsm2_shuffle_past_n` run +/// cleared, as the runtime lane withholds the feature, and with it `shaderQuadControl`, which no +/// device offers without it): the shuffles of `dsm2_shuffle_past_n` run /// on the emulated tier (8-lane subgroups cannot hold Metal's simdgroups), every tangled /// instruction is an emulated site, and the kernel's reconvergence is `Guaranteed`, compiled alone /// and as the compute pipeline the runtime makes. @@ -1591,10 +1592,15 @@ fn emulated_shuffles_keep_metals_reconvergence_without_maximal_reconvergence() { let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) .join("../metal2vulkan-validation/profiles/lavapipe.json"); let text = std::fs::read_to_string(path).expect("profile"); - let cleared = text.replace( - "\"shaderMaximalReconvergence\": true", - "\"shaderMaximalReconvergence\": false", - ); + let cleared = text + .replace( + "\"shaderMaximalReconvergence\": true", + "\"shaderMaximalReconvergence\": false", + ) + .replace( + "\"shaderQuadControl\": true", + "\"shaderQuadControl\": false", + ); assert_ne!( cleared, text, "the description names shaderMaximalReconvergence" diff --git a/crates/metal2vulkan/src/tests/engine_simd_lockstep.rs b/crates/metal2vulkan/src/tests/engine_simd_lockstep.rs index ee39d04ba..0d9594a74 100644 --- a/crates/metal2vulkan/src/tests/engine_simd_lockstep.rs +++ b/crates/metal2vulkan/src/tests/engine_simd_lockstep.rs @@ -2540,11 +2540,17 @@ fn the_stage_bound_fixture_takes_the_lighter_module_or_states_its_weight() { assert_eq!((entry_only(&module), weight(&module)), emulated); assert_eq!(function.module_stats().entry_weight, emulated.1); } - // Without maximal reconvergence: emulated for the lockstep pair, with no pin to keep. - let cleared = text.replace( - "\"shaderMaximalReconvergence\": true", - "\"shaderMaximalReconvergence\": false", - ); + // Without maximal reconvergence (and so without quad control, which no device offers without + // it): emulated for the lockstep pair, with no pin to keep. + let cleared = text + .replace( + "\"shaderMaximalReconvergence\": true", + "\"shaderMaximalReconvergence\": false", + ) + .replace( + "\"shaderQuadControl\": true", + "\"shaderQuadControl\": false", + ); assert_ne!( cleared, text, "the description names shaderMaximalReconvergence"