Bump RUNTIME_VERSION to 1858: a rebound draw that moved offsets writes only what moved

perdraw's third cut on the rebound-draw path: a moved slot's offset or base word written in place
of its general field bytes, a moved buffer slot brought into the kept table at one lookup, the
image flag kept as slots are added, binding tables made only for a step that reads them, a moved
draw's moved uses listed as the patch patches them, and on MoltenVK nothing bound for a moved draw
whose record holds its kept draw's set 0. Re-pinned.

Verified by perdraw, release, draw_costs 10k --heap, base d1c4221cb6 against the tip, alternating:
M3 6080 -> 5630 instructions a draw (-7.4%), cpu_ns 282-284 -> 257-266 (m3-max-6759); lavapipe on
ms01 5815 -> 5537 (-4.8%), 474-491 -> 443-455 ns, every count line identical (6754). M3 cost
--check exit 0, no gated bound moved; M3 runtime suite under m2v_gpu 1795 passed; ms01 clippy
m2v_gpu and cpu-icd, rustdoc, lavapipe runtime suite 1824, metal2vulkan suite 3380 (6801). The
RTX 5080 read tips 1 and 2: 8781 -> 7049 -> 6200 instructions a draw, 437 -> 316 -> 285 ns.
This commit is contained in:
Anees Iqbal committed 2026-11-07 20:53:20 -08:00
1 parent bd7bad014c
commit 0f28b4b79e
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
1cd32244c97c7721415401b374fdb3811b68f078244a32566aa3f85d016c39e5
7ec479432ad642beba3004029ff21a31accb96b5d0f205138f8a4bad3778093a
+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 = 1857;
pub const RUNTIME_VERSION: u32 = 1858;
/// 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