RUNTIME_VERSION 1903: render state sets restate the kept draw instead of forgetting it

A viewport, scissor, cull, winding, depth-stencil, stencil reference, depth bias, clip mode, fill mode
or blend color set keeps the kept draw, restated: the next draw works its settings and draw state out
again and is rebound where nothing its shape depends on changed (WorkCounts::draws_restated). Draws
record differently, so the version moves; the runtime-sources pin is recomputed.

Verified by perdraw: um790 job 9190 (clippy plain and cpu_icd, rustdoc, draw_again 17/17, runtime
suite 1917/1917, lavapipe lanes 1932/1932), 9238 (clippy on the example); gem10 A/B 9220: the clips
shape 22301 -> 12929 instructions per draw (-42%), rebound 8000 -> 31680 of 32000; ws +11, 10k +7.
This commit is contained in:
Anees Iqbal committed 2026-11-08 11:08:44 -08:00
1 parent 812c4c1d10
commit 53581e6836
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
22b280b495a5ce51831bbb984b1ad2b444e9e959447f311ea88a1e1033ae119b
db2fac483a30fae408063ed759c8d964efc48277502803a39d779a1f20655690
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 493;
/// 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 = 1902;
pub const RUNTIME_VERSION: u32 = 1903;
/// 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