RUNTIME_VERSION 1945 and the runtime-sources pin for nearest line widths on the granularity grid

The four commits before this (nvreds) put a refused band's lines at the nearest width on the
device's lineWidthGranularity grid: the nearer step, a tie the wider, never 0 (render/line_width.rs
drawn_width). On RADV (granularity 1/8 from 0) Metal's width-0 line was handed 1/16, a tie between 0
and 1/8 that the driver may take either way, and it drew nothing. It now draws at 1/8.

Verified (nvreds):
- RX 7900 XTX (10724, NAVI31) and the 780M (10773, PHOENIX): 23 pixels at width 0.125 where
  Metal draws 23, against 'drew nothing' at the base;
- lavapipe 10911: runtime tests 21/21, plain clippy, lane 7/7;
- M3 10654 lane 7/7; Iris 10629 23/23 before the rebase.
The two wide_lines reds (628 against 622 pixels) are on both sides and their fix is the next tip.
Landing: pin-compute, api-signatures --check, refusal surface and coverage with no diff.
This commit is contained in:
Anees Iqbal committed 2026-11-08 22:18:26 -08:00
1 parent 4ee54fa319
commit b5ec32d663
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
472966aa53dc439abed13b5d5b0aae8ff102598630490ba73520ad799f1fca3b
f5d183e7f767e51fba12d7cea2cc359c051d17f0d8de57ffb23b52c7a0ad5afc
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 496;
/// 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 = 1944;
pub const RUNTIME_VERSION: u32 = 1945;
/// 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