Files
metal2vulkan/crates
Anees Iqbal 0def48a4f6 Validation: every note whose doc keeps a difference a mismatch for review is only recorded
What: the notes whose rustdoc says "a difference stays a mismatch for review" are Recorded in
the allowance table, as rule 5 made QuadsSplitByClipping and DeviceInterpolation:
ExtrapolatedInterpolation, FragmentSimdgroupGrouping, BlendedWriteRounding,
CoverageReadsRoundedAlpha, DeviceAlphaCoverage, RotatedBlendRounding, HalfOutputPrecision,
DevicePointSize, LoopedSampleOutputs, NativeLogicOperation and UnorderedFetchWithinDraw (whose
doc says it without "and no explanation"). ViewBaseTexelOffset, DeviceColorConversion,
LinkedSamplerNumbering and DeviceInterpolationOffset already were. A word they reach that
differs is a mismatch unless another note excuses it.

C3's deferral of a near-equivalent (FragmentSimdgroupGrouping, BlendedWriteRounding,
CoverageReadsRoundedAlpha, RotatedBlendRounding among them) reads the run's recorded notes
(ExecutedCensus::all_notes) rather than the unbounded class, which no longer names a recorded
note: a row that ran one stays open as before.

The review-sentence lines of the note docs drop their design citation ("deferred in C3", "which
C3 names"), and the table's rows say what each note records. The NativeNanEncoding row says it
covers a payload moved through loads, stores and selects (the reach the previous commits gave
it), and the DeviceDenormals row lists the operations measured to keep a denormal.

Why: the planner ruled that rule 5 applies to every note carrying the sentence; the code read
them as unbounded, so a difference they reached was a noted difference against their docs.
ClippedCoverageSplit says "no tolerance and no explanation" but not "a mismatch for review", and
its cases are held open through it; it is unchanged.

Verified on lavapipe (Mesa 26.2.4, the lavapipe image), the 1,168 public cases, job
m3-max-82941 (this tree with the next commit's doc text) against m3-max-82873 (rule 5 alone):
ten cases are mismatches, every differing word of each on the fall-back; eight of them were
noted differences that FragmentSimdgroupGrouping explained: 1daf00c7, 243237a9, 8926b0e1, aa65ed07, b1f22cbf, c8195f48 (helper threads),
8aac224c and f03c5415 (simdgroup fills); 524be944 and 60db147e are rule 5's. Two runs
of that job ended in a device wait timeout under the host's load (2e81b17c, 35d576e0) and are
rerun at the tip. Each note's row is tested (every_precision_note_has_its_table_row), and a red
check that turns NativeLogicOperation back to Unbounded fails it.
2026-12-03 03:27:51 -08:00
..