RUNTIME_VERSION 2051: DontCare depth and stencil on separate textures, and no NaN clear depth

A stored DontCare aspect of separate depth and stencil textures now takes the single texture's
answer: the aspect is copied into the scratch image and the draws' tiles are cleared there after
the copy. An aspect that can't be copied in (a multisampled aspect copied by draws) is cleared
over the render area and announced as dont-care-load-tiles. A NaN DontCare clear depth clears a
Depth16Unorm to 0 (Metal's answer) and a 32-bit float depth to 1.0, announced as
signed-depth-test. A Depth16Unorm DontCare load that becomes a clear at a midpoint depth announces
unorm-depth-rounding. A new known gap in FAST-PATHS: a draw that neither tests nor writes the
aspect still gets its tiles cleared, where Metal keeps its texels.

Verified (potluck jobs):
- Metal on the M3 Max, macOS 27.0.1: m3-max-16665, 16673 (the probes the answers come from).
- lavapipe before: 16751, 16780 (the lane tests fail); after: 16783, 4/4 pass.
- M3 MoltenVK before: 16755, 3/3 fail; after: 16764, 3/3 pass and 200/200 in the related lanes.
- lavapipe runtime suite 16737, 2133/2133; full runtime_lane 16745, 1974/1975 (the one failure
  was the test bug fixed in the stencil-write commit).
- Lint 16740, 16775, 16782: fmt, clippy all-features, m2v_gpu, m2v_cpu_icd, rustdoc, fast_paths.
- M3 MoltenVK at the tip: 16877, 4/4 and 201/201 in the related lanes; before at 8a13441633: 16879, 0/4.
This commit is contained in:
Anees Iqbal committed 2026-11-11 11:49:31 -08:00
1 parent 24a000b2ca
commit 16dec3f2d3
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 500;
/// 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 = 2050;
pub const RUNTIME_VERSION: u32 = 2051;
/// 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