From 394b4db3f64fbd95b35aab2901fbe76dca8bde28 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 07:22:46 -0800 Subject: [PATCH] Bump SEMANTICS_VERSION to 1983 and RUNTIME_VERSION to 1792: vertex strides past 32 bits The rows2 landing changes translation and the runtime: every stepped pulled read (per vertex, per instance, captured vertex) checks its reach past 2^32 bytes and reads zero there, both argument tables hold a stride's low 32 bits (MTLAttributeStrideStatic as 2^32-1), and inline vertex bytes at that constant read element 0 and then zeros, so BindError::MissingVertexStride is removed. rows2's 11b2a4e79f set SEMANTICS_VERSION to 1982, the number development already held from the replay landing (027bb2e682), so the pick applied with no change to it; this commit takes the next number. The runtime-sources pin is re-derived; REFUSALS.md and the coverage document re-derive unchanged. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 4893b9e4f..b0b8f4257 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -937e2d1a71dc7b9f3b5ab646d63be25d510f4c36580de23fb8125803b1a54c5b +b64d65484e0b17028a65b95762575714ac0bed006e519f478daca792e0c271e7 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 01ff3094f..68d775b8f 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 = 1982; +pub const SEMANTICS_VERSION: u32 = 1983; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 490; /// changes no behaviour, and then updates that hash alone with the commit saying why, or changes /// behaviour and also bumps this version. The commit that bumps it says what changed; this comment /// keeps no history. -pub const RUNTIME_VERSION: u32 = 1791; +pub const RUNTIME_VERSION: u32 = 1792; /// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex, /// of the manifest, the build script, and exactly the files the crate roots' module tree compiles