From a3a35015b720c13f5e2fa8f51068859cbf81d602 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 10 Nov 2026 06:14:38 -0800 Subject: [PATCH] SEMANTICS_VERSION 2020, RUNTIME_VERSION 2015 and the runtime-sources pin for an argument buffer's half-write NaN note by the families its heap can name What: steelbrain/overnotes 8f6f240554, e4e3d069bd, 2ab67e989a (over-notes (3)): a half write through an argument buffer notes DeviceNanEncoding only where the heap can name a texture family the device stores its own way; the heap's NaN family bits and classifier live in bind/heap.rs (the runtime-sources guard). ARTIFACT_FORMAT_VERSION 500 came with the stack; SEMANTICS 2019 -> 2020 and RUNTIME 2014 -> 2015 here. Not in pin 36 (ef7af82fe4). Why: on the M3 argument-buffer writes of 32-bit float and rg11b10f differed in 0 lanes yet announced. Verified (agent): at 2ab67e989a (13759, gem10): the guard passes with its pin, translator and runtime suites on lavapipe 5481/5481, half_write_nans and heap_extended_reads lanes 11/11 (lavapipe announces 16f 8, 32f 15, rg11b10f 0 differing), clippy plain / m2v_cpu_icd / m2v_gpu, rustdoc, api-docs. M3 at f4fab8b4ec: 32f and rg11b10f 0 differ, no longer announced, 16f announced; RADV at bbbf5e6930: 16f 0 differ, not announced. Here: pin-compute, generators, 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 4bf23a7e8..4b2d7a56d 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -3ed762ab0df2da48d1ceec1288baf5a28eb5b223c25a4a0a57242547e52d2c4a +01db797b5289922c3ed2fdb346f7c0e088fd5303de4fc736508893babe2ea855 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index afe157c0a..b6f4382c1 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 = 2019; +pub const SEMANTICS_VERSION: u32 = 2020; /// 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 = 500; /// 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 = 2014; +pub const RUNTIME_VERSION: u32 = 2015; /// 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