From fed63161154601c2e777a3fc2ba6765dbbde88f4 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 02:15:14 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1882: a tiled texture's later levels copy nothing, its merges fetch, and a detach keeps its image amdperf-33 (the three tiled-mips follow-ups): a command counts as a use of a multi-level tiled texture's level-0 shadow only where its range touches level 0, so generate_mipmaps and blits or passes into levels 1+ copy level 0 in and out no more; the multi-level image takes the level-0 unorm and word views, so its merges fetch instead of copying back by dispatch; while its bytes are detached, the tiled texture keeps its own image (levels 1+ unchanged, level 0 its bytes' last texels) where a texture over the pages alone reads zeros. Verified by amdperf: M3 320/320 (7858) with the negative control failing the 4 new tests (7865); 780M (7898). Clippy, rustdoc and lavapipe run on development after the merge. --- 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 c2a475ee3..8453d6b4f 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -6b9c1df892467da48523635821bed6f075d6cc96dbee71372ed1d4b585b2642d +1bc21dcef55e6960469b62dc7c40cea271fe99e824518a8024af70a15f7818fd diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 4c19a075d..7ce7a684a 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 = 1881; +pub const RUNTIME_VERSION: u32 = 1882; /// 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