From d4184690ebfa45283b396c1d7717d473c9fbdb65 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 22:59:42 -0800 Subject: [PATCH] RUNTIME_VERSION 1948 and the runtime-sources pin for exitcrash's per-draw CPU cuts The five commits before this, exitcrash's per-draw CPU work, in progress at the owner's 11-08 park and landed under it: - a pass without custom sample positions asks the device nothing; - end_pass takes each ~2 KiB instance alone; - inline_first's begin borrows its device; - composite_costs gains a `joined` shape, the one lane that exercises augment_into; - an ended encoder's host-alias keys found go to the device's next encoder (at most 8 sets of 256 keys, only those found at the standing version). host_alias_lookups and the pass's instruction counts move, which a stored runtime artifact can see. So RUNTIME_VERSION goes 1947 -> 1948 and the runtime-sources pin is recomputed: 18ae56cb799c595cee3cf629bdc599c35d4d3456e59dacab072c27dfd20a47bd. Verified at the pre-rebase sha a74139fe4c on um790's 780M (exitcrash): - clippy -D warnings clean, all targets and features and under --cfg m2v_gpu; - host_aliases unit tests 19/19; - the runtime device suite 1960 passed, 23 skipped (hazard and GPU-time tests excluded). composite_costs `passes` on the 780M: opening+end went 41.6k -> 40.9k instructions and CPU per pass 31.0-31.3 -> 30.2-30.7 us. On `joined`, host_alias_lookups go 184 -> 92 a frame, net about -48 instructions a pass (kept built-neutral). The rebase onto 1c7a75be62 was clean and touched none of these files; the rebased tree is not yet built, and development's round runs it. api-signatures --check, refusal-surface and conformance-coverage leave the docs unchanged. --- 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 bce388e26..32489c703 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -43dea09e84fa5e92afdc42ca0c5572baccc30bb7177f61dcad0efbc28caad275 +18ae56cb799c595cee3cf629bdc599c35d4d3456e59dacab072c27dfd20a47bd diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index fc1dadaff..ca260159a 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 = 496; /// 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 = 1947; +pub const RUNTIME_VERSION: u32 = 1948; /// 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