From 0c352506a5da34bb17d2fd5441f8f10d367593b8 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 21 Nov 2026 06:30:15 -0800 Subject: [PATCH] Translator: ARTIFACT_FORMAT_VERSION 588 -> 589 for the PrecisionNote tag DeviceOcclusionCount What: the cache codec's PrecisionNote enum gained the tag DeviceOcclusionCount in this branch's first commit, which bumped the format version 587 -> 588. development's c3f9f55e63 bumped it 587 -> 588 too, for its own change, and the rebase onto it kept one 588 for both encodings. This bumps it again, so an entry that holds the new tag never shares a format version with a build that cannot decode it. Why: cache/mod.rs's rule: bump whenever a variant or tag is added to an encoded type. Verified: the check job on this commit runs the cache:: tests (the frame layout test reads the constant) beside the compile gate (named in the lane's report). --- 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 78394eac1..1f6e5cfcb 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -71,7 +71,7 @@ pub const SEMANTICS_VERSION: u32 = 2257; /// 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 = 588; +pub const ARTIFACT_FORMAT_VERSION: u32 = 589; /// 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