From b991ca5474e0dc436ef7f07df4ac9d884d70bc45 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 4 Dec 2026 21:18:05 -0800 Subject: [PATCH] Cache: SEMANTICS_VERSION 2392, PR 30's fix-forwards A legacy memory intrinsic's alignment that is not a power of two (or above 2^32) is now refused as a malformed record, not ImmediateNotConstant (f32b143935), and a legacy call whose volatile flag is not a constant now meets the verifier the current form meets instead of failing decode's verify (3e311ec8ac). Both change what decode answers for a module, so cached answers keyed by the old version must not be reused. --- 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 d95be8597..84f57e8a4 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 = 2391; +pub const SEMANTICS_VERSION: u32 = 2392; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another