Conformance: the old runtime's side goes; rt's side is the only one, held to one ledger

The cutover deletes metal2vulkan-runtime, so the conformance suite stops depending on it.

What goes: the old runtime's side (runtime_side.rs, runtime_work.rs, states.rs) and its runs in
run.rs, report.rs and the command; the cost verb, the timing-coverage verb, `times`' leg of ours,
the `--rt`, `--default-policy`, `--leg`, `--call` and `--cold-shaders` flags; the four split
binaries that drove the old runtime directly; coverage.rs; and the old side's ledger,
known-gaps.tsv. The harness half of the cutover landed separately.

What stays: rt_side is the only runtime side, and `conformance replay` runs it (CI's
`replay --cpu` now replays rt on lavapipe). Its ledger, known-gaps-rt.tsv, is the one ledger, with
the rows it held; a call rt_side does not answer yet stays Failure::unavailable on it, as before.
The cases keep every allowance: the old runtime's Degradation kinds become the suite's own codes
(degradation.rs, the same `metal2vulkan-degrade-<kind>` codes), and the old runtime's Metal value
enums the cases state become the suite's own (values.rs). The old side's descriptor helpers that
rt_side and its tests used move to rt_side/fields.rs. Recordings keep their `costs` and our times
as data; `deny_unknown_fields` still reads them.

The coverage generator reads rt_side alone, and docs/CONFORMANCE-COVERAGE.md is regenerated.
The README describes the suite as it now is.

Checked: coverage.py --check and --selftest locally. The compile gate (fmt, clippy plain,
--cfg m2v_gpu, --cfg m2v_cpu_icd and for aarch64-apple-darwin, workspace Rustdoc, the suite on the
host and on lavapipe, and the lavapipe replay) runs on this sha as potluck jobs that the landing
note names.
This commit is contained in:
Anees Iqbal committed 2026-11-20 06:19:03 -08:00
1 parent d19a5d3390
commit ac90becd94
149 files changed
+9265 -23639

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@ jobs:
# The conformance suite's replay leg on lavapipe: it reads the committed recordings, runs the
# runtime side and compares, with no Metal present. Its exit status is 0 only where the run
# holds no surprise: no unrecorded case, no stale recording, and exactly the gaps
# crates/metal2vulkan-conformance/known-gaps.tsv expects on this venue. A refusal or a
# crates/metal2vulkan-conformance/known-gaps-rt.tsv expects on this venue. A refusal or a
# divergence that ledger does not list fails here, and so does a row it lists that the run no
# longer holds, so closing a gap forces the ledger edit. A venue that lacks a feature a case
# needs does not spoil it.