From 5f334c520471192b107ef1c3ff91fd99dba5bb95 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 14:03:30 -0800 Subject: [PATCH] Bump SEMANTICS_VERSION to 1992 and RUNTIME_VERSION to 1823: the link refuses a rasterizing pipeline whose vertex function writes no position The runtime-sources pin re-derived for void-vertex-answer (7f8536158d, fcf4338efd, ffc6619794, 5da2f00827). The link's new refusal, DescriptorError::RasterizedVoidVertex, changes a translation outcome under an unchanged key, hence the semantics bump. A plain render creation no longer asks the void-vertex question (fixes the cost and replay failures at 2f44dda930: [specialized, linked_use] back to [2, 2]; control 01d28593fc fails with [3, 3], m3-max-5095). The command line compiles a void vertex function given no --fragment with rasterization disabled. Evidence: m3-max-5099 (M3 cost --show, in order and alone: every count equals its record), m3-max-5223 (whole metal2vulkan suite 3380/3380), m3-max-5213, m3-max-5093 (runtime cpuicd 1776/1776, clippy clean). --- 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 538fff7ff..e87a24563 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -49cc162a48dc7d521b1dd5444b6014fa6d7e6baf8fc915f76ecdc0ed9292ecd3 +b9ab7a6cab7fd847bea8697f1cfc53e4813b7dce2dbb5bce5f71a52cd83da052 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 6e5ca12a8..5e789b43d 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 = 1991; +pub const SEMANTICS_VERSION: u32 = 1992; /// 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 = 493; /// 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 = 1822; +pub const RUNTIME_VERSION: u32 = 1823; /// 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