From 557652bd4af814fa1fab51cdcf5dee8bebdbe2e9 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 02:52:48 -0800 Subject: [PATCH] RUNTIME_VERSION 1964 and the runtime-sources pin for libraries of shaders reporting what their driver found ownpixel's 037983e7a0: the pre-rasterization and fragment-shader libraries chain VK_EXT_pipeline_creation_feedback and go through make_pipelines_reported, so a library the driver found in its loaded record reads nothing back and writes nothing. RADV's data for such a library could come back the same length with a byte changed, so the read-back compare saw a new hash and wrote the record again (tests::warm's 'counts only what it writes' red, 2 in 20 on the 780M). The runtime changed, so RUNTIME_VERSION 1964. Verified (ownpixel), 780M RADV PHOENIX ('1002:15bf!'), Mesa 26.2.6, release, --cfg m2v_gpu, job 11466: without the fix the warm test failed 1 of 100 and the new a_library_of_shaders_reports_what_its_driver_found reads 0 reports; with it, the new test x21 (2 hits, 0 written), the warm test x101, warm/shader_cache/driver_pipeline_compile 31, the runtime suite x3 1964 each, pipeline_records and cache lanes 10; clippy plain and m2v_gpu clean (msi 11471). Pending: lavapipe 11484, the 5080 entry. Here: the API-signature check, REFUSALS.md and CONFORMANCE-COVERAGE.md regenerate unchanged, cargo fmt clean. --- 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 70307bad0..83f10dc61 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -fa2d6118ecf928dcf686e6721be789e4cfd317b2270cc4b340b5f04a4c244439 +a62671720a9a14239d2da1e0ab7b29922591c36919b62c6911fa60f228273fee diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 4c54eafe9..3ad5a8673 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 = 1963; +pub const RUNTIME_VERSION: u32 = 1964; /// 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