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 <noreply@anthropic.com>
This commit is contained in:
DaniellandClaude Opus 5.5 committed 2026-11-11 00:14:50 +00:00
1 parent 6be6d61a66
commit e324732128
1 file changed
+1 -1
+1 -1
View File
@@ -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