From 7e9acd5e739eef62998baab5a3bacccb25adba14 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 22:14:51 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1866: in-place verdicts by row ends, so a surface whose rows end on the device's lines takes its pages in place selfread's row-ends tip (826eb4d65b, f815203f07): the in-place check's verdicts become 18, class x access x row ends, the line being the device's nonCoherentAtomSize: OnLines texels share no line with bytes beside them, InLines texels share one. CHECK_VERSION 6. On the Iris Xe renders and writes fail InLines and pass OnLines, so a 3840x2160 surface goes in place (0 shadow copies a frame where it copied 8.3M texels: self_reads baseline 3.5 -> 1.7 ms, self-read 5.0 -> 4.55 ms GPU a frame) while the guest's 3662x2039 one, whose rows end inside a line, stays a shadow. Re-pinned. Verified by selfread: Iris (m3-max-6892) fresh checks x20 as above, 323-383 ms; the six lanes that hold a texture to its verdict passed under validation (48 tests); M3 (7142) 12 Passed, 6 DmaBuf Unchecked, 5/5, 306-311 ms, no cost record moves; RADV XTX (6817) 18 Passed 5/5, 535-561 ms; clippy m2v_cpu_icd and m2v_gpu and rustdoc clean, API tables, ledger, tests::in_place 44 passed, lavapipe 306/307 at b0043502d1 (the one failure fixed here by the 64-byte-pitch shapes; the lavapipe rerun is 7152). The M3 verdict correction for 0950c1a0ab is in f815203f07's message. --- 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 e4c50c4f9..31e837554 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -e28a409e1b7165b0a39446bdd869e360dd9111d9ff1f1a986d2f6b3a5fbc5597 +23d03dd232c6572150744f192723cf895e30bda671b8bdb8f609feadc32b22a4 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 851923ad9..5b3f72d99 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 = 1865; +pub const RUNTIME_VERSION: u32 = 1866; /// 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