RUNTIME_VERSION 1940 and the runtime-sources pin for ANV's clear taking either code

The two commits before this (nvreds) add DriverFact::ColorClearTakesEitherCode for ANV on the Iris
Xe of RPL-P (deviceID 0xa7a0), as the RTX 5080 Laptop's row has it. Vulkan's float-to-unorm
conversion returns either of the two closest codes. On that driver a clear's code depends on the
image: 0.1 in an 8-bit unorm channel stores 0x1a in a private optimal image and 0x19 in place.
RGB10A2's 0.8793 (899.51 codes) stores 899 where Metal stores 900. Under rule 1 that is the
device's native conversion: the runtime announces device-color-conversion for a clear or a plain
fill of a normalized channel off a whole code there. The lanes accept either code only at the clear
step, for the cleared channels, where the device lacks ColorClearIsMetals. They compare every load,
blend and blit byte for byte.

Verified (nvreds):
- Iris m3-max-10468 at 385c9c6357, Mesa 26.2.6: no_copy_textures, pitched_surfaces, resolves and
  color_fills 77/77, twice;
- um870 m3-max-10469: clippy x3 and rustdoc green; suites red only at golden_hashes, the profile's
  facts fingerprint, which development's golden re-bless takes;
- M3 m3-max-10524 79/79, and lavapipe 79/79 (um790 10558) at the next commit of that branch.
Landing: pin-compute, api-signatures --check, refusal surface and coverage with no diff.
This commit is contained in:
Anees Iqbal committed 2026-11-08 20:09:21 -08:00
1 parent 7be13179cc
commit 90c9936538
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
f2bfce4dcf22e6f8f8b2ec74bf2531a01f5f680dc19be9d4e4aecde7e1109250
5721292890169cf916a78b3f7173e94410d9a4254237bef154bb0b4f21ea80c3
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 494;
/// 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 = 1939;
pub const RUNTIME_VERSION: u32 = 1940;
/// 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