From fe4598365851de62aef64876c645bb2e41f3ac74 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 05:24:33 -0800 Subject: [PATCH] SEMANTICS_VERSION 2003 for MSL's integer median3 nvreds 20ceaa1206..b186b771e1: air.median3. (i8-i64, scalars and vectors) is a row of the integer table, lowered as max(min(a,b), min(max(a,b),c)), two-word compare-and-select without shaderInt64. Inputs that were refused (UnknownIntrinsic) now translate, so SEMANTICS 2002 -> 2003. golden_hashes and public_fixture_expectations_engine gain the new fixture: re-blessed on development after this. Verified by nvreds: gem10 11743 clippy -D warnings (metal2vulkan, metal2vulkan-air, all targets/features) and the 5 median3 tests; M3 11739 engine answers on moltenvk-m3 (int64 and two-word paths); authored case integer-median3-words qualified on Metal (M3 Max, macOS 27.0.1, metal 32023.922; 2048 words equal an independent model) and the MoltenVK candidate matches (sha256 53621a0c...). Here: signatures --check, refusal surface, METAL-COVERAGE regenerate unchanged. --- crates/metal2vulkan/src/cache/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 3beb9c47d..dafc7d9e2 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -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 = 2002; +pub const SEMANTICS_VERSION: u32 = 2003; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another