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.
This commit is contained in:
Anees Iqbal committed 2026-11-12 23:41:36 -08:00
1 parent 7b77851a95
commit 68bfb94cc1
1 file changed
+1 -1
+1 -1
View File
@@ -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