From 1c7a75be6236cdca3cc8211fccc3b5c1c65819d6 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 22:49:40 -0800 Subject: [PATCH] RUNTIME_VERSION 1947 and the runtime-sources pin for RADV volume resolves and multisampled depth-fill clamps The seven commits before this change what a stored runtime artifact can see: - sweep: RuntimeDriverDefect::VolumeResolveFirstPlane on RADV, where a colour resolve into a 3D texture's planes past the first goes through a 2D scratch of the pass's layers copied into the planes (announced resolve-scratch); on the 780M and the XTX a resolve into any plane wrote plane 0. Test-only: dma_buf_imports expects the copy RADV makes of memfd memory with no source; first_use's frame-sized reads are event-gated instead of racing a 2 s busy work. - nvreds: a multisampled Depth32Float fill clamps each sample's depth into [0, 1] on the CPU where the texture clamps depth uploads (restricted-depth-upload, depth_uploads_clamped); on Iris the colour-to-depth copy wrote 0 for a NaN where the notice promised 1.0. Test-only: draw_work expects a set-0 write only in a draw that bound its pipeline (ANV links both alternating states as one VkPipeline). RUNTIME_VERSION 1946 -> 1947; runtime-sources pin 43dea09e84fa5e92afdc42ca0c5572baccc30bb7177f61dcad0efbc28caad275. Verified at the tips (agents' runs): sweep at dcffee4308 (same commits on an older base): a_resolve_writes_the_volume_plane_it_names fails on the 780M and the XTX without the fix, passes with it and on the M3; dma_buf on the XTX; first_use XTX 4/4, M3 3/3; M3 70/70 across view_attachments, first_use, grouped_submissions, resolves, layered_passes; plain and gpu clippy clean. nvreds: Iris 10725 sample_fills passes (d32-wide-4 clamped, base control fails), draw_work passes; lavapipe 10688/10726 and M3 10689/10727. Not yet built on this exact tree; development's round runs it. api-signatures --check, refusal-surface and conformance-coverage leave the docs unchanged. --- 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 14fa67695..bce388e26 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -797202448efb78fd8cd016736f5789171d324030e60daa50b363d8aa916f3696 +43dea09e84fa5e92afdc42ca0c5572baccc30bb7177f61dcad0efbc28caad275 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 8bb84b5c9..fc1dadaff 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 = 496; /// 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 = 1946; +pub const RUNTIME_VERSION: u32 = 1947; /// 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