From b0663eabc1ea7d5ebc297936c627884df577ecfb Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 13 Nov 2026 00:41:57 -0800 Subject: [PATCH] RUNTIME_VERSION 2207: a merged execution with no whole chunk draws an empty first draw The last merge pass now writes a merged execution's first draw as 0 vertices x 0 instances when the total holds no whole chunk, in place of a chunk's 2^31 - 2 vertices x 0 instances. The vertex variant reads the chunk from the scratch's header, not from the draw, so no other answer changes. The trail GPU-form tests now also print their command buffer's GPU time. Changing the draw a merged execution records changes runtime behaviour. Verified by the change's own runs: on the RTX 2080 (24755) the 4-command trail test's command buffer takes 0.526 ms against 0.707 ms before; the indexed 8162-command test is unchanged at 18.6 ms, so the zero-instance draw was not the RTX 3090's slow frame. 50 bind::replay tests and clippy pass (24757). --- 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 b156e1c66..1b622d41a 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 = 515; /// 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 = 2206; +pub const RUNTIME_VERSION: u32 = 2207; /// 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