From 0dbb2409414b8e7f06e3330d3bc0d04c8a8d6e5a Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 15:46:14 -0800 Subject: [PATCH] RUNTIME_VERSION 1991 and the runtime-sources pin for the large block kept apart and taken blocks waited for again Two holes in RT 1989's blocks made ahead (b38f14b41a): a call for a pool's own (small) block took the smallest made block at least as large, which could be the block kept for recent large placements, so the next large texture waited for a new making (at d562bd4148 a 24 x 4 MiB burst left 5-6 blocks of 32 MiB for 4 large textures, job 12519); and a call whose awaited block another call took made one in place (the 5080 first-growth red at 39b45dd232 fits that). Now calls below the pool's recent large size leave that size alone, and take_ready waits again for a taken block. A pool of 16 MiB blocks with placements past them in the last 10 s keeps up to 96 MiB ahead. Verified by the change's owner at d562bd4148 plus the commit (job 12522): clippy plain, m2v_gpu and m2v_cpu_icd and rustdoc clean; memory tests 62/62 on the RX 550 (POLARIS12) and on lavapipe, the burst keeping the 32 MiB block made ([32, 16] MiB, [32] MiB), nothing made in place. Cost cases expected unchanged (64 MiB blocks, no placement past half a block). Here: API table check and generators unchanged, pin recomputed. --- 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 a03aca0ca..d49a8a946 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -901734f47ef0649a7935af45dcce0fdb92358523938f1e49fa401a48464c45df +efbf46e664845c3f138b8aa2849e7aa3fdf99a7aec74115fc4d0ada0e23f59ed diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 785686591..a84d11cfc 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 = 497; /// 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 = 1990; +pub const RUNTIME_VERSION: u32 = 1991; /// 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