From 68bfb94cc15de2d45e04038ae062b8896ea453d1 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Thu, 12 Nov 2026 23:41:36 -0800 Subject: [PATCH] RUNTIME_VERSION 2201: the runtime's attachment images start at zero where DontCare stays DONT_CARE On a device where an unstored DontCare load stays the driver's DONT_CARE (no UnstoredClearNoSlower under the Driver policy), the runtime's own attachment images (depth/stencil scratch, stand-ins, backings, fetch scratches, colour twins) now start zeroed, so such a load never reads a released texture's texels. Devices that clear those loads pay nothing. That changes runtime behaviour. Verified by the change's own runs: on lavapipe the new test fails without the fix and passes with it, runtime suite 2454/2454 (24582); Iris 25/25 (24584); clippy and rustdoc 24552 and 24553. The class's other routes were read and none can be read by a program. --- crates/metal2vulkan/src/cache/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 07bbc9771..6dc4d402d 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 = 515; /// 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 = 2200; +pub const RUNTIME_VERSION: u32 = 2201; /// 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