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).
This commit is contained in:
Anees Iqbal committed 2026-11-13 00:41:57 -08:00
1 parent f57e036303
commit b0663eabc1
1 file changed
+1 -1
+1 -1
View File
@@ -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