From 9696d4b3dda11741c632ccb3a4dfe2a4b53b5e22 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 19:00:30 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1849: work that completed before a failed wait completes When a real fence wait fails on a lost device, command buffers whose queue timeline had already passed them now complete Ok (their GPU times read where the device still answers) instead of failing as the recovery's victims. Device::raw's docs say a lost generation's VkDevice stays alive until the next raw call. Re-pinned the runtime sources. Verified by devloss: MoltenVK on the M3, the negative control failed 3 of 3 (m3-max-6319); with the change the runtime and lane device_recovery tests passed 6 of 6 rounds each (6325); lavapipe on msi clippy clean, runtime suite plus touched validation 1862/1863 (6329), the one failure predating this change. --- 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 8cb067466..580b0d2b5 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -52b50f583feea3a5b792b7bed18a44fab4f8b2bf0f97b5f0a84de565879bcfae +7b9a8cd88bb442531fcc97c8546ae1955df9b14e01497529c3979b4f44180b4d diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index ace246200..7c44a1525 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 = 1848; +pub const RUNTIME_VERSION: u32 = 1849; /// 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