From d1c4221cb672d87e5702cf7f6ea6447b10e22d41 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 19:40:07 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1854: a moved draw's use inside the last one's bytes is noted already A moved draw reads its buffer from a later offset, so its use lies inside the bytes of the use the draw before noted at the same place; it is now taken as noted (NotedApart, InstanceShadows) with the command's own use kept, and a moved draw whose record already holds its kept draw's set-0 writes pushes nothing. New WorkCounts::uses_noted_covered. Re-pinned. Verified by perdraw6, release, base a47726927a against the tip, alternating on one machine: draw_costs 10k --heap on the M3 6667 -> 6085 instructions a draw (-8.7%), cpu_ns 338 -> 303 (m3-max-6477); lavapipe on ms01 6635 -> 5790 (-12.7%), 538 -> 475 ns (6465). M3 cost --check exit 0, only uses_noted_covered moved (17 cases, none gated). M3 runtime suite under m2v_gpu 1781 passed; lavapipe runtime suite 1810 passed; clippy plain, gpu, cpu-icd and rustdoc clean at 948b60545f. Cherry-picked onto development without conflict; this tree's build check follows the merge. --- 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 2c4a0418f..665ee8ad8 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -541a6122ae26477d00dddf4b4f8dd929007fa07fa00330246f038d5aa1bbce68 +e17ab7b95a4994df7596d464049329f3b05dcd7b8490ab0e63e37cb278bc84c0 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index fd0fb97f0..f184caa6b 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 = 1853; +pub const RUNTIME_VERSION: u32 = 1854; /// 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