From 570f7a394a420bc80e7cd6a28b9dfd7f45f7784e Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 13 Nov 2026 00:43:50 -0800 Subject: [PATCH] RUNTIME_VERSION 2208: a texture's placement over host pages is answered before their import Device::host_pages_texture_placement, a runtime extension, answers where a texture over a no-copy buffer of host pages imported by pointer or as dma-bufs would lie, before any buffer, import or image is made; another backing is refused (Problem::HostPagesBacking). The buffer's own placement query and the image-making path now ask the same image-free answers first and make no image where those answers refuse every plan. The answers are unchanged, but the work the runtime does to reach them changes, so this bumps the runtime's version. Verified by the change's own runs on lavapipe (24747): both new tests pass over 8 shapes with shader-read and unknown usage, by pointer, under the Shadow policy and as dma-bufs, each pre-import answer equal to the buffer's, refusals included, with no image made by a pre-import ask; texture_placement_device 2/2; runtime suite 2461/2462, the one failure the guest-RAM test that fails without the change. clippy plain and --cfg m2v_gpu (24748, 24749), --cfg m2v_cpu_icd (24722), rustdoc (24748). Not run on a real GPU. --- 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 1b622d41a..992356a3d 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 = 2207; +pub const RUNTIME_VERSION: u32 = 2208; /// 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