From 296e2d7fa8eae24ff44ffec96288a5496d59552c Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 14:28:20 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1827: a copy that drops the GPU's writes takes its guest RAM's dirty log The runtime-sources pin re-derived for amdperf-14 (RO-1, 61a9a4f460). A commit's copy-in compares only the pages the dirty log reports written; a completion's merge back skips the copy where a draw only reads through loaded addresses. Evidence: m3-max-5323 (lavapipe on the rebased tree: the control fails both new tests; copied_device + host_ram 79/79 x2; lanes host_memory, dma_buf_imports, no_copy_heaps 43/43; plain clippy), 5240 (RADV 780M and XTX on the pre-rebase tree: the same counters). The RADV rerun on the rebased tree follows. --- 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 09b540304..2383291f3 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -4073c60e4592cd32606ac14de4f0fe6d73f7a40471ef893a08646c4d681f226d +f78dae4baf7b4164d5fa195729ed92eb25405f8f07a06cd1053d333b72e418d3 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 4adaef575..5f9efcb93 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 = 1826; +pub const RUNTIME_VERSION: u32 = 1827; /// 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