From e324732128d2ff40bfa0ec8414fb3f21088f12b7 Mon Sep 17 00:00:00 2001 From: Daniell <65464657+0xdaniell@users.noreply.github.com> Date: Wed, 11 Nov 2026 00:02:28 +0000 Subject: [PATCH] Bump SEMANTICS_VERSION 2020 -> 2021 for the flat grid's 32-bit count What changed under unchanged keys: a flat variant's SPIR-V now tests once per dispatch whether the grid's thread count fits in 32 bits and, if so, derives its index and position with 32-bit arithmetic; past 2^32 threads it keeps the 64-bit arm, and a 1-D workgroup counts from its id. The results are the same; the module is not, so an artifact cached under the old version must miss. The golden table is re-blessed on development, not here. Co-Authored-By: Claude Opus 5.5 --- 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 e0a9a6af8..1698c24c7 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 = 2020; +pub const SEMANTICS_VERSION: u32 = 2021; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another