validation: fix forward the Metal-qualified requirement list for the seq_cst fence

requirement::tests::mesh_requirements_stop_the_executors_that_do_not_draw_them_yet lists the
requirements whose cases stay Metal-qualified; SeqCstFence is now one. A test of the fence's own
stops, limit, closure and name joins the texture buffer member's.

Found by the gate (potluck m3-max-60336, the lavapipe suite: 1467 of 1468 passed).
This commit is contained in:
Anees Iqbal committed 2026-11-20 14:16:42 -08:00
1 parent 42d23a5337
commit b621a8e17f
1 file changed
+15 -1
@@ -441,7 +441,8 @@ mod tests {
.collect::<Vec<_>>(),
[
ToolingRequirement::TextureBufferMember,
ToolingRequirement::MeshRenderPipeline
ToolingRequirement::MeshRenderPipeline,
ToolingRequirement::SeqCstFence
]
);
}
@@ -461,6 +462,19 @@ mod tests {
.is_err());
}
/// A sequentially consistent fence: the Metal oracle runs it, so its cases stay
/// Metal-qualified; the runtime refuses it, so the engine's candidate runs none, a tooling gap
/// that keeps the census open.
#[test]
fn a_seq_cst_fence_stops_only_the_candidate() {
let requirement = ToolingRequirement::SeqCstFence;
assert_eq!(requirement.stops(), [Executor::EngineCandidate]);
assert_eq!(requirement.limit(), Limit::Tooling, "{requirement}");
assert!(requirement.blocks_closure(), "{requirement}");
assert!(requirement.qualifies_on_metal(), "{requirement}");
assert_eq!("seq_cst_fence".parse(), Ok(requirement));
}
/// Every requirement stops some executor, and an executor's name is as stable as a
/// requirement's. A requirement that stops the Metal oracle stops every executor: when Metal
/// cannot run a case, no candidate has an observation to be compared with. Only a tooling gap