From 35ed3bb8216a14b04eee959d321cdaebb4d1def5 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 10:49:52 -0800 Subject: [PATCH] RUNTIME_VERSION 1902: kept draws per pipeline state, 64-128 kept slot changes, and why draws keep nothing A draw after another pipeline state's draws rebinds its own state's last draw (one bind state per pipeline state, not per interface), argument tables keep 64 to 128 slot changes, and WorkCounts says why a direct draw kept nothing (draws_unkept_*), found its kept draw unlike, or stopped a rebind. Draws record differently, so the version moves; the runtime-sources pin is recomputed. Verified by perdraw: gem10 job 9125 (clippy plain and cpu_icd, rustdoc, draw_again 16/16, runtime lanes on lavapipe 1931/1931, runtime suite 1907/1908 with the one failure the old owned_kernel_builds assertion a5cc119ae9 fixed); A/B 9122: ws -3.9% instructions per draw, rebound 23936 -> 31680 of 32000. --- 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 afed344b8..06a3ef0a2 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -1e506d744647a501afe1827a4bad2074ab5d4ba959db91baae4e1f03d22e0264 +22b280b495a5ce51831bbb984b1ad2b444e9e959447f311ea88a1e1033ae119b diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 2a89f44e5..de845183b 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 = 1901; +pub const RUNTIME_VERSION: u32 = 1902; /// 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