From 39b45dd232c74e55109addce515503e045b29caa Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 13:48:46 -0800 Subject: [PATCH] RUNTIME_VERSION 1988 and the runtime-sources pin for the in-place check's near-byte walk On ms01's Iris Xe the in-place check's writes and narrow-writes classes answered Passed in some processes and Failed in others (2 of 8 loaded runtime suites, job 12318), and the verdicts are kept per driver identity. Failed is the device's truth: the GPU writes back a row's last 64-byte line as it read it, putting back bytes beside the texels that the CPU writer changed. The writer walked the window at a stride and came back to those few bytes once a sweep, so a round caught the write-back by chance (0-1 of 20 for R8 61x37). The writer now walks the line-sharing bytes many times a sweep, and CHECK_VERSION goes 16 -> 17 so every device measures again (b74bba4d98). Verified by the change's owner: per-round detection on Iris 16-20 of 20 alone, 10-19 beside the suite; the placement test beside the suite 5/5, every class catching all three accesses on its own (180/180); runtime suites 2011/2011 x3 on Iris; the new walk and compare tests fail with the stride walk alone (gem10 12371); clippy and rustdoc clean (12375). Other devices not yet run on it: a device whose store path writes back lines rarely may now answer Failed (expected, unverified). Here: API table check and generators unchanged, pin recomputed. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 61555a20e..4af282acf 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -7ed2740ad3e62735cef5addc343f79347bc3b2e45663f64b2c692f2d08e521eb +5c6b60da39320d4266d778a9350f07c6d68fbbd21a9129c69122160f70920f7a diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index e27e43a1b..5622ab623 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 497; /// 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 = 1987; +pub const RUNTIME_VERSION: u32 = 1988; /// 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