From ba83af131859d984baae655b1f6faebee282f4ea Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 15:58:50 -0800 Subject: [PATCH] RUNTIME_VERSION 1929: no-copy buffers and heaps whose pointer the device refuses, with no dma-buf source, are copies 0e07fff15b (radvruns): new_buffer_with_bytes_no_copy and a no-copy heap's own buffer over shared memory the device refuses (RADV with a shared memfd and no source) were refused, though Metal makes them. They now take copied.rs's copied-host-pages path, announced with the device's refusal and counted (WorkCounts::copied_host_buffers_device_refused). A rebind to such memory without a source stays refused (HOWTO 6). Verified: gem10 m3-max-10021 clippy x2, unit 46/46, lavapipe lane 52/52 (lavapipe imports shared memory, so the path is not reached); 780M m3-max-10057 lane 52/52, the new test makes a Copied buffer, the first-fill bench passes whole; negative control fails with the old refusal. --- 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 7eb1a5058..8e986de4b 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -e81f3b86294b4cca4d691586060c419d46b7fcecd7538b53ed7d8223b36f8d34 +6078e791e0da44873d121aa189c4d744e0dc32e24b986c770d38dd5730f08500 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index b1cdc04fe..0eb7f757d 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 = 1928; +pub const RUNTIME_VERSION: u32 = 1929; /// 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