From 08652be54ee56cb0834a05f9b8d3f7849f2ce90a Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 00:16:59 -0800 Subject: [PATCH] RUNTIME_VERSION 1955 and the runtime-sources pin for RADV's extrapolated perspective reads The two commits before this are radvruns' fix of the 780M pull_model_interpolation red. - Cause: on a perspective input read at a sample or an offset, RADV/ACO answers the pixel center's value extrapolated along the quad's coarse derivatives, a first-order value. A model reproduces every miss within 0.005; exact perspective matches Metal within 0.003. - Fix (rule 1, the device's native interpolation): no v/w emulation. The measured fact DriverWorkaround::PerspectiveReadsExtrapolated (MESA_RADV) makes stage_io record PrecisionNote::ExtrapolatedInterpolation on structure alone: a perspective-qualified input read through InterpolateAtSample/AtOffset, or a perspective smooth varying read at the coverage loop's sample. - API.md's DeviceInterpolation and the FAST-PATHS row are corrected, from "within 1.5e-4" to the measured ~1.0 on the lane's w = 1, 2, 4 geometry. - The lane checks RADV against the first-order model. SEMANTICS 2000 and ARTIFACT_FORMAT 497 come with the commits. This commit moves RUNTIME_VERSION 1954 -> 1955 for the runtime's announcements and recomputes the runtime-sources pin: 8ae32d4765b4f41b760258dd704bedcbfc3453081f6c2273dac3e614fdde045b. Verified by radvruns: - gem10 PHOENIX 11157: lane 2/2, largest distance ~1.02, all within the model; the negative control without the fact fails with the original "1700 values off". - M3 11153/11187: clippy clean; focus 72/72; degradation 17/17. The full suite is 3395/3398, the three being golden_hashes and the engine inventory's pm_linear rows, re-blessed on development. - M3 11189: the negative control with the note emptied fails engine_pull_model and engine_coverage_loop. The cherry-picks onto 9619020361 were clean; this tree is not yet built. --- 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 2bbb6dbd0..28c79f342 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -3ef374c57741e051d2568b6d2dfbc1d38e4d41375b44b04d9ed648b6d89ad133 +8ae32d4765b4f41b760258dd704bedcbfc3453081f6c2273dac3e614fdde045b diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index f11d8bd56..f424b2393 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 = 1954; +pub const RUNTIME_VERSION: u32 = 1955; /// 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