Translator: SEMANTICS_VERSION 2291 for a fragment's quad votes in the quad vote form

What: SEMANTICS_VERSION goes from 2289 to 2291 (2290 is held by another
change). A fragment's quad_all and quad_any are now
OpGroupNonUniformQuadAllKHR and OpGroupNonUniformQuadAnyKHR (1958c34e85),
so its words change under an unchanged key.

Why: a cached artifact of the ballot form would serve AMDVLK's wrong
answer for a quad with a helper.

Verified, base c4aee831e9 (the red test alone) against fix d701f8e921:
- Red/green, um790, m3-max-70847 and m3-max-70857. AMDVLK 2025.Q2.1
  with the base: 12 of the 36 covered pixels wrong on the RX 7900 XTX and
  on the Radeon 780M, each covered pixel of the four diagonal quads
  reading quad_any(x > y) = 0 and quad_all(x <= y) = 1 where Metal
  answers 1 and 0. With the fix 36 of 36 on both cards. RADV (Mesa
  26.2.6) reads 36 of 36 on both cards with both arms. The quad
  reduction test reads its quads whole in all eight arms.
- Checks at d701f8e921 (m3-max-70855, msi): fmt; clippy -D warnings on
  the workspace (all features), on metal2vulkan with no feature and with
  serde, ash and cli alone, and under --cfg m2v_gpu and --cfg m2v_cpu_icd
  for metal2vulkan and the runtime; Rustdoc -D warnings; the
  translator's simd, spirv, quad and golden tests, 499 of 500, the one
  failure the golden table (bless due); the runtime's device suite on
  lavapipe (--cfg m2v_cpu_icd), 683 of 683, quad_votes 36 of 36.
This commit is contained in:
Anees Iqbal committed 2026-11-23 04:46:39 -08:00
1 parent f8bd4941e2
commit de44227e11
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ mod tests;
/// unchanged version, and its bless records the version. Independent of the crate's version and of
/// [`ARTIFACT_FORMAT_VERSION`]. The commit that bumps it says what changed; this comment keeps no
/// history.
pub const SEMANTICS_VERSION: u32 = 2289;
pub const SEMANTICS_VERSION: u32 = 2291;
/// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the
/// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another