From 51ae45ea4c8abb8e09264a284f9ca9e21dd2e4f7 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 10 Nov 2026 03:00:58 -0800 Subject: [PATCH] SEMANTICS_VERSION 2016 and RUNTIME_VERSION 2007, with the runtime-sources pin, for the triage's decided entries Translation (2016; xrblend2 took 2015): a float ldexp records no NativeNanEncoding, since its lowering answers Metal's NaN itself; a half read of a 32-bit or small float texel records no NaN note where the device's half is Metal's; a mesh pipeline's required object size answers as Metal's first compile. Runtime (2007): an allocation at maxMemoryAllocationCount waits for the untaken ahead chunks' give-back instead of being refused; a head held for a kept group's signal goes with the group; the mesh pipeline's required-size state follows Metal's first compile. Verified by the branch (steelbrain/unknowns, gate m3-max-13466 on gem10 at the pre-rebase tree): metal2vulkan suite 3427/3427, lavapipe lanes 33/33, runtime tests 36/36, conformance 1050/1050, negative controls failing as they should; M3 runs 13458 and others. Here: pin-compute, refusal/conformance/Metal coverage generators unchanged after the stack, api-signatures --check 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 f7f52eabb..8fa04463b 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -3fd2218241472861187b64463912d103d1b79b4b1cf81b9ba928168a9f199981 +a2c0cf66a2bbf394b1aeaf18ed5e5e91920be59a32e6af119a9e118dc1c9b98c diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index a2b9b23fb..84c1e1101 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 = 2015; +pub const SEMANTICS_VERSION: u32 = 2016; /// 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 = 499; /// 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 = 2006; +pub const RUNTIME_VERSION: u32 = 2007; /// 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