From d6fe1fbd562e0fe0216cfbf23b0e996f5fea4bf5 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 11 Nov 2026 05:10:23 -0800 Subject: [PATCH] RUNTIME_VERSION 2028: a dma-buf texture whose driver answers another plane offset binds at the texels' offset Where the driver lays an explicit DRM_FORMAT_MOD_LINEAR plane at another offset than asked, the texture's image takes a plane at offset 0 bound at the texels' offset of a non-dedicated import of the pages, where the driver requires no dedicated allocation and its alignment divides the offset, instead of a shadow. Honeykrisp (Mesa 25.3.6, Apple M2 Pro, 16 KiB pages) answers offset 0 for every explicit plane offset; there the route reads the texels in place before and after a CPU write (Asahi host, the plane-offset probe). --- 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 5d9982bfd..63270cfbd 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 = 500; /// 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 = 2027; +pub const RUNTIME_VERSION: u32 = 2028; /// 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