From fc668f8ec60e07f884cdc3c2e5dc57c34ee08b1f Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 05:04:58 -0800 Subject: [PATCH] RUNTIME_VERSION 1972 and the runtime-sources pin for carried buffers' calls that hold the lost generation's parts The race fix (exitcrash 8910b47c56..5ccc385768): a Buffer call outside command buffers' work (textures over its bytes, exports, did_modify_range, set_purgeable_state, vk_buffer/vk_host_memory) holds the parts it read, and the lost generation's release at rest waits for the last hold. Runtime behaviour changed, so RUNTIME_VERSION 1971 -> 1972 and the pin is recomputed. Verified by exitcrash: lavapipe 11680 at 5ccc385768 runtime recovery 27/27 (new test included), lane recovery 6/6, clippy plain/cpuicd/gpucfg, rustdoc, refusal check; negative control 5c523b175c fails the new test at !first_parts_freed; Iris 11673 26/26, 7 recoveries end at 1 live VkDevice. Here: signatures --check, refusal surface and coverage regenerate 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 b5bbdd473..ae2b1f094 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -10e109038adb1f8e85a868a70e8fee0be24283f2489cb75ef9f6312f453f5d05 +46d6eeea5ae398343ddb0015583e691f821062e7f3d846d2c4b28b16f89623ef diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index cae86746e..446f8319c 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 = 1971; +pub const RUNTIME_VERSION: u32 = 1972; /// 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