From 5aa1017cd9d7e2a4746c86a6b9db5350c9b240ad Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 03:51:13 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1781: a render encoder's core, log and lowering in boxes The pass-cost branch (passcost-3, a124e0e500) hands a render encoder's 1280-byte core and its log on in boxes through its end and writes its lowering straight into its box, so no whole-lowering copy is made at open or end. On this base cee7849068's sizes are 10736 -> 9144 bytes for the lowering (its message quotes the older base's 10280 -> 8688). The runtime makes the same calls' work differently, so warm records made before are not reused. The runtime sources' pin is recomputed at this tree. Verified: the pin is pin-compute.py's at this tree; the runtime crate here equals passcost-3's. At a124e0e500, on Linux: clippy in all three configurations and rustdoc clean; the release memcpy listing (x86_64) shows assemble's 10736-byte copy and end_encoding/later_groups' copies gone. M3 MoltenVK, one pass's open and end: about 4.98 -> 4.64 (cut 1) -> 4.52 us (cut 2), noise about +-0.3 us (potluck m3-max-3034). The 5080 A/B entries are queued; development's checks run after this 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 044336427..da7aa46fa 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -93d44510509b3127273570851465658c96d4847ac26ddebdd50efed968ef7c4f +3d387083f42a0a7136b08414caa299fdf0af726dada7b03064ec93dcb7537da3 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 7959888d4..655812d02 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 = 490; /// 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 = 1780; +pub const RUNTIME_VERSION: u32 = 1781; /// 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