From 6d7f59365aec3f84f5b63656bc53683edbe218ef Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 07:38:03 -0800 Subject: [PATCH] RUNTIME_VERSION 1975 and the runtime-sources pin for a depth cleared ahead where RADV on the RX 550 clears at the standard positions nvreds c7061858f8: on RADV POLARIS12 (Mesa 26.2.6) a pass at custom sample positions whose load op clears its depth stores and tests every sample's depth at the standard position of its index for every draw (16/16 samples, Depth32Float, Depth16Unorm, Depth32Float_Stencil8), while a pass that loads the depth takes the custom positions. New DriverFact ClearedDepthAtStandardPositions (one row, RADV 0x1002:0x699f): ReachClears clears that depth before the pass in its own render pass (vkCmdClearAttachments) and the pass loads it; no notice, the answer is Metal's. Runtime behaviour changed: RUNTIME_VERSION 1974 -> 1975, pin recomputed. A DriverFact enters no translation fingerprint, so SEMANTICS stays. Verified by nvreds: runtime_lane::sample_positions RX 550 9/9 (validation layer silent, 'cleared ahead true (1 attachment clears)'), 780M 9/9 ('cleared ahead false'), base 3d5ed3b021 RX 550 4 red; clippy plain + gpu; driver_facts/api_signatures/api_surface 9 pass. Here: signatures --check and refusal surface unchanged. Not measured: separate depth and stencil textures at custom positions on the RX 550. --- 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 7b7f0d863..e5de8d7a4 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -fa6e121993d141715520817c1b6407e8de0ddd5158656c9a655354c2fed7f1fa +d8f9f56db269711da88821ed2b08b030baf46e1060f4060e6a5cb3a79a045972 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index ca9c7f0a6..97726351e 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 = 497; /// 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 = 1974; +pub const RUNTIME_VERSION: u32 = 1975; /// 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