From 0950c1a0ab3837c152775eebc237d134cea9da15 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 19:56:43 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1855: the in-place check's verdicts hold on Iris, and self-reads without STORAGE read a snapshot The in-place check's writer now sweeps the bytes beside the texels until its step ends, and the check adds a draw round (CHECK_VERSION 5), so a device that writes back stale bytes beside a row's end (ANV's clear+store on Iris Xe) fails the render verdicts on every check instead of now and then. A self-read of a color whose image lacks STORAGE reads through a snapshot of the color's own image, pinning its instances. New public items: bind::check_draw_modules and CheckDrawModules. Re-pinned. Verified by selfread: Iris 20/20 fresh checks (renders and writes Failed, reads Passed, 156-342 ms each), 20/20 lane record tests; old writer caught 1 of 200 render rounds, new 200 of 200 (6226). M3 (6160) and RADV XTX (6523, 626-642 ms a check) still Passed all nine verdicts 5/5. ms01 clippy plain, cpu-icd, gpu, rustdoc, API tables, fast_paths, check_draw 40/40, lavapipe 251/251 (6589). M3 cost records for the snapshot path unaudited until the next round's cost leg. --- 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 665ee8ad8..9d89f31d6 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -e17ab7b95a4994df7596d464049329f3b05dcd7b8490ab0e63e37cb278bc84c0 +0760bc5b168d1b4c84191593580df602888a95bf70b89d14d3749a8777e59908 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index f184caa6b..36394edfa 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 = 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 = 1854; +pub const RUNTIME_VERSION: u32 = 1855; /// 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