From 0f28b4b79eb9f6825c4baaf3873065da78c53a0a Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 20:53:20 -0800 Subject: [PATCH] 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. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index d03303b21..c9593426f 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -1cd32244c97c7721415401b374fdb3811b68f078244a32566aa3f85d016c39e5 +7ec479432ad642beba3004029ff21a31accb96b5d0f205138f8a4bad3778093a diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index d3ed27603..e58c54b1d 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -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