From aeaa4844ee7c9794d8ce8668aefd859d2156a8a6 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 03:48:38 -0800 Subject: [PATCH] RUNTIME_VERSION 1968 and the runtime-sources pin for colour clears and fills taking either code by default nvreds' 876cfd1402 (from 9a844f5c5f): a normalized channel a clear or fill leaves off a whole code is in question on every device, as the spec allows either code, except where a measured row says the device stores Metal's (ColorClearIsMetals, MoltenVK Apple9 load-op clears). This inverts the old default. Removed from the public surface: DriverFact::ColorClearTakesEitherCode (both crates) and its three device rows; the AMD_RX_550 constant goes with them. The runtime changed, so RUNTIME_VERSION 1968. Verified (nvreds), full runtime lanes, the stack 0bf26ce585 against its base 7b45bd4646: on the 780M (11477) and the XTX (11476), color_fills (188 plain fills), logic_ops (the 16 cleared RGB10A2Unorm draws) and buffer_texture_blits::iosurface_planes go from red to green; Iris (11544) 1922/1922 at both; RX 550 (11495) and M3 (11478) unchanged; 5080 tip 1406/1922 + 642/643, the one red (view_attachments volume-plane resolve) red at the base too (3/3 each). device-color-conversion notices rise about 16.2k on the XTX, the 780M and the M3 (plain fills announced 17558 -> 33706 of 106680). 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 81d6b43de..a40f1f7d0 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -a64089ff9571067d5ef3b892085b2982496357f3f31f749a592e70577490448b +5fdf4234888e857245a93111b4b02aca0f74a527a1cccbed99de61b6d3b808c0 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index ba93c9383..6c41fa668 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 = 1967; +pub const RUNTIME_VERSION: u32 = 1968; /// 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