From 2e381ae1f0564fb01a76a9e564abf2b1759f27e9 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 06:21:17 -0800 Subject: [PATCH] RUNTIME_VERSION 1890: host RAM copies of runs of words take the page kernel's dispatches irisperf-words (562fc5fc52): the pages-copy kernel's table entries carry a word count (at most 1024; a whole page is one entry as before), so copies whose runs start, end and land on words take dispatches; only runs that end off a word, and a scatter that writes a byte twice, keep vkCmdCopyBuffer regions. Re-pinned. Verified (irisperf): Iris ms01 8523 host RAM copy tests 17/17, negative control fails the new device test; gem10 8466 clippy plain and m2v_gpu, translator tests 24/24, lavapipe host_ram 56/56. Iris, a 31.5 MB surface of 4-byte texel rows over 7703 runs downloaded in one call: GPU 0.83 ms by the kernel against 13.5 ms by regions and 4.3 ms by the page view's blits, no mapping. --- 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 50f98ef72..cfaa68fb0 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -feb55cbdfc9c0151786cc313046410ad2933109de560d1f22900122d1898b862 +97e5f459c3f69055ddbf694e20a8f67aa49f51ad3de130c8e0674d48033f94fb diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 13bd4f47d..93901a16c 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 = 1889; +pub const RUNTIME_VERSION: u32 = 1890; /// 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