From 2fed3c245385e6bb058aca09945dd1d351e63887 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 21:44:17 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1863: a rebound draw takes its slot rebinds from its plan once, and its push overlaps from masks perdraw's fourth cut (0397cbb254..2d6ba7a88b, 4 commits): BindingPlan::slot_rebinds works out a draw's slot rebinds once per plan and slot list (new public SlotRebinds and rebind_draw_slots_with; rebind_draw_slots_into keeps its contract), cached for the settled draw's slot list; the vertex-stride dynamic state is looked up once a record; refresh_changed takes the caller's counting (bound_offsets_moved lands in the encoder's tally, same totals); push writes' overlaps are held as masks worked out when the writes change. No answer changes, no WorkCounts field. Re-pinned. Verified by perdraw, draws.10k --heap, base 0f28b4b79e against the tip, alternating: lavapipe (ms01 6928, 7008, 7020) 5565 -> 5073 instructions a draw (-8.8%), about 455 -> 418 ns; M3 (7022) 5644-5653 -> 5158-5167 (-8.6%), cpu 266-290 -> 239-241 ns; cost --check on the M3 moved no gated bound; clippy m2v_gpu and m2v_cpu_icd and rustdoc (7021); runtime suite on lavapipe 1833 passed, metal2vulkan 3381 passed; the M3 runtime suite 1803 passed, 1 failed: the self_read_storage fetch test, which fails the same at the base (7071) and which c026efb3cf fixed. --- 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 8dd42ad83..e9e757b23 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -bf16cbc5e22b91f94c2045f6398b9e8e904595cb2170e61878ea9cee7c9d66b6 +96b5dc4365d6c71903e5cef284bb05df8b65bd9575ce535831d971b5fc6d43a0 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 9571908fb..83840fa7c 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 = 1862; +pub const RUNTIME_VERSION: u32 = 1863; /// 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