From 25945236d145b44534b580d36449c7902f88e008 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 25 Nov 2026 12:00:36 -0800 Subject: [PATCH] SEMANTICS 2303: a metallib without MDSZ or an extended header now translates What: SEMANTICS_VERSION 2302 -> 2303. Why: the container fix (c9b08b08f5) changes the output for an input under an unchanged key: a format 2.2 library, whose entries carry no MDSZ and which has no extended header, was refused InvalidInput(Container( MissingTag)), and it now parses and its functions compile. docs/HOWTO.md section 4 lets a consumer keep a non-transient error as the answer for that input and device, so without the bump a cached InvalidInput would outlive the fix. A library that parsed before parses to the same functions, so no other output changes. The validation censuses key on SEMANTICS_VERSION (the translation census and the authored-compile census through the product's census key) and move with it. Harvest carves the modules of a library the reader refuses and keys nothing on the reader, so no census, index or harvest version needs a bump of its own. The golden table reports a bless due; it is re-blessed on development. Verified: the lane's quick check and suites at this commit. --- 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 7fe5d9f9f..fab2bef3c 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 = 2302; +pub const SEMANTICS_VERSION: u32 = 2303; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another