From 4c18274ab7c98d55fbfdb11ffadf7e4cc68e8d26 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 00:03:34 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1873: a texture's placement answered through the image in place's making up to its bind inplace: the placement query makes the unbound image(s) through the same functions as the making (unplaced / place / release_unplaced), reads the layout and requirements and releases them, so Pitch, Image, Rows and Placement refusals answer exactly. Over dma-buf pages, Source and DmaBuf stay unknowable until the bind. A pending texture's later move makes the same image and stays a shadow on a refusal. Evidence (inplace, M3): 7464 44/44 (in_place, first_host_texture, storage_form, fresh_pages, dma_buf, texture_placement); the pitch test refused 6 of 8 pitches on MoltenVK (61x16 at 272/320/512/1024, 3664x16 at 14672/14848 answered Shadow(Refused(Pitch)) and were made as Pitch shadows; 256 and 14656 answered and were made in place); 7476 each query 1 vkCreateImage + 1 vkDestroyImage, 0 binds, 0 submissions; negative control 7468 (route without the image steps) fails at 272. Pending: lavapipe, clippy in 3 cfgs and rustdoc (gem10 7459) and the 780M run. --- 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 9358ddff5..5255eab80 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -832bd10de701523c7560d7dbe50afe396dc6fc5f4f1b8b76e53472fb8401e2d4 +6b458456bc48c311f731abdbaea54c240e8b9c58af46b63fcd88de62e3e19808 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 97e958397..c130410d9 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 = 1872; +pub const RUNTIME_VERSION: u32 = 1873; /// 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