From 5ce05e19082f52a103e4add3661940f1a5c834c2 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 03:30:55 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1883: a padding-unobserved buffer's texture lies in place at its own pitch where the device takes a pitched linear modifier inplace-modifier: where the device enables VK_EXT_image_drm_format_modifier and its natural linear image misses the buffer's pitch, a texture over a padding-unobserved buffer of the runtime's own memory is a DRM_FORMAT_MOD_LINEAR image with an explicit row pitch at the buffer's, judged by a new pooled-memory check class (the first move from UNDEFINED, as for host pages) and Access::UnobservedRenders (a render round that changed only its rows' own padding); past 256 KiB it stays a shadow (TextureShadowReason::LinearCost: a linear image renders and samples slower there, Iris sweep 7957). Private buffers count lines from their memory object's offset. CHECK_VERSION 11, 56 verdicts. New: WorkCounts::pooled_pitched_images. Verified by inplace on the Iris (ms01 8057): reims's 93-cache mix 86 in place / 7 shadows (the 7 past the bound), median frame 4137-4140 -> 3823-3840 us (-7.2..-7.6%); device and unit tests 18/18; negative controls 7965 and 8028 gave 0 of 93. M3 43/43 (8058). The 780M is unchanged (RADV refuses the modifier off a 256 multiple, sweep 7949). Clippy, rustdoc and the Linux suites 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 8453d6b4f..92154b547 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -1bc21dcef55e6960469b62dc7c40cea271fe99e824518a8024af70a15f7818fd +b8a6868323229e63ad3c11de89960052b98381253a8e40c082379dbd31cb2aeb diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 7ce7a684a..f5395335d 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 = 1882; +pub const RUNTIME_VERSION: u32 = 1883; /// 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