RUNTIME_VERSION 1952 and the runtime-sources pin for the kept draw carried across render encoders

The seven commits before this are ownpixel's carried kept draw. It was in progress at the owner's 11-08 park and
lands under it.
- A render encoder that ends with a rebinding kept draw in a plain first instance leaves its LiveBind and Kept in
  its command buffer. The next render encoder takes them where the pass shape, the layers and the under-state
  match.
- The carried draw goes through restate, bring-in of the slots bound since, a stale check and a full state
  recording into the new VkCommandBuffer.
- Any other call that settles the end lets them go.
- New WorkCounts: kept_draws_carried, kept_draws_carry_dropped_{between,layout,under}, draws_rebound_carried and
  draws_carry_stopped{,_stale,_attached,_other}.
Counts and recordings change, which a stored runtime artifact can see. So RUNTIME_VERSION goes 1951 -> 1952 and
the runtime-sources pin is recomputed: 8b28de4fe9b2026ddc99e37d472db0199c4c0a64c1060b6ba26ea70d38762481.

Verified at the tip dd6f32b81b (on 99a11fd507) by ownpixel:
- 780M, gem10 11039, release, composite_costs medians of 9:
  - `passes`: frame CPU 3.228 -> 2.694 ms; per pass 29.60 -> 23.49 us; a draw 5650 -> 3597 ns. All 91 later
    passes carried, no carry stopped or dropped.
  - glass: frame 0.580 -> 0.529 ms, all 7 later passes carried.
  - One pass unchanged.
- 780M, debug: runtime device suite 1967/1967; touched tests 65/66 (the one red, a_volume_s_plane_is_an_attachment,
  was the base's RADV volume red, fixed on development by c1a825d748).
- MoltenVK touched tests 66/66.
- lavapipe: carried_draws 5/5, draw_again 19/19, lane render tests 36/36.
- Clippy (m2v_gpu, and plain) green at 11106.
The cherry-pick onto a1b2bb1907 was clean. This tree is not yet built; development's round runs it. api-signatures
--check, refusal-surface and conformance-coverage leave the docs unchanged.
This commit is contained in:
Anees Iqbal committed 2026-11-08 23:40:19 -08:00
1 parent 70d3fd390b
commit 81f3419f6f
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
e9c0cdabf11dcf274fa1cf9271b9fdc71fddcaa659d3912c2e7e56bbcb095e17
8b28de4fe9b2026ddc99e37d472db0199c4c0a64c1060b6ba26ea70d38762481
+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 = 1951;
pub const RUNTIME_VERSION: u32 = 1952;
/// 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