From 67e38e3e9ae6e60f159aed1fcfa76241b8a1367d Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 09:10:35 -0800 Subject: [PATCH] SEMANTICS_VERSION 1994: a repeated equal compile option and bitcode module version 1 translate air11 (8fff014bca, c27da64aaf, b500dc8717): air.compile_options accepts an option that repeats what it already stated (a linked module's merged list; macOS 11's Core Image kernels), and the bitcode reader reads module version 1 (names from the module VALUE_SYMTAB, both of its layouts; one macOS 11 framework's clear pipeline). Both were refused before, so translation outcomes change for those inputs. Verified: the doc checks in the landing tree (signatures --check exit 0, refusal surface, conformance coverage). The change's own evidence: msi m3-max-8930/8935 (metal2vulkan-air 526 passed; every public fixture re-emitted as version 1 decodes alike, 658 compared; engine fixtures translate to identical SPIR-V, 1046 alike and 369 refused alike; goldens unchanged; clippy clean). --- 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 a5dd553f6..7e747f1e7 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 = 1993; +pub const SEMANTICS_VERSION: u32 = 1994; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another