From 24e4be922728be3ddc816ea0db8d982ed17b1aa6 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 11 Nov 2026 03:56:46 -0800 Subject: [PATCH] RUNTIME_VERSION 2024: an exportable buffer is dedicated only where the device needs it 8bf3842923's cherry-pick on development: an exportable buffer takes a dedicated allocation only where the device requires one (DEDICATED_ONLY or requiresDedicatedAllocation), not where it prefers one, so on NVIDIA such buffers lie in their handle type's shared block and textures over them lie in place instead of as Shadow(Unchecked). A run of an unchanged artifact allocates and places otherwise, so cached runtime results are stale. (The kept in-place record moves with in_place::CHECK_VERSION 18, a separate key.) Version only; cargo fmt. --- crates/metal2vulkan/src/cache/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index dd6056d09..537eeb7c2 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 = 500; /// 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 = 2023; +pub const RUNTIME_VERSION: u32 = 2024; /// 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