From 0f0769a7bda74a834f87d1d668e04a799b013798 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 20 Nov 2026 15:05:57 -0800 Subject: [PATCH] cache: ARTIFACT_FORMAT_VERSION 561, the codec's new precision-note tag f4a423ced6 added PrecisionNote::DeviceLineRasterization as the last entry of the codec's precision-note list (cache/codec.rs), which is a new tag in an encoded type. Entries written before it still decode, but a reader from before it, under the same format version, would meet an unknown tag in an entry this build writes. ARTIFACT_FORMAT_VERSION's own rule (cache/mod.rs: "a field, variant or tag added") asks for the bump, so such an entry is a miss under the old reader rather than a decode error. The value is 561, one above development's 560 (valexec's lockstep note). This branch's base held 557, so the line conflicts at landing and resolves to 561. No SEMANTICS_VERSION bump: the translator emits no different bytes. The runtime-sources pin does not cover cache/mod.rs. Verified: cargo fmt --all. The compile runs as its own job. --- 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 876ea94eb..b1e172b7b 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -71,7 +71,7 @@ pub const SEMANTICS_VERSION: u32 = 2217; /// re-typed in an encoded type, its `codec` body or its `envelope`. A variant removed while its tag /// stays unused needs no bump: an entry holding it fails to decode, which is a miss. The commit that /// bumps it says what changed; this comment keeps no history. -pub const ARTIFACT_FORMAT_VERSION: u32 = 560; +pub const ARTIFACT_FORMAT_VERSION: u32 = 561; /// The version of what this crate's runtime does with a compiled pipeline: instantiating a binding /// plan (`BindingPlan::instantiate_*`: descriptor ranges, push bytes, root, argument, and handle