RUNTIME_VERSION 1935: draws unlike their kept draw are counted by what differed
Picks perdraw's 15bce71b34 (steelbrain/unlike-split). In reims' pin-26 glass walk, 69.5 of 248.5 draws per composite were draws_unlike_kept, with no count saying which part differed. Eight new WorkCounts fields count each part an unlike draw met: pipeline; call (the call or primitive assembly); counts; index_buffer; index_offset; tessellation; command_buffer; under. A ninth, draws_unlike_kept_arguments_alone, counts the draws that differ only in counts or index offset, which is how far rebinding across a draw's own arguments could reach. The parts are worked out only for an unlike draw, which takes every step anyway, so the like draw's comparison is unchanged. Verified (m3-max-10307, ms01 lavapipe): clippy default/cpu_icd/gpu clean; rustdoc clean; api_signatures 3/3. Focused draw_again, kept_shadowed_draws, command_counts and inline_first tests pass 20/20 debug and 16/16 release. The draw_work and replayed_frames lanes pass 32/32. The new test tests::draw_again::a_draw_unlike_its_kept_draw_is_counted_by_what_differed asserts all nine counts and the total. The cost records gain these counts at the next re-bless on development.
This commit is contained in:
1 parent
efa4aaa7c7
commit
2dc637eeff
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
9d14f0c39bcf32bcd718dd5cd78cbb5b92a49a2be05fef86494c61ac3fad5c26
|
||||
66248551d7c49ab9b6b9454cb427970df0197581676ae9efa720d5d834fca680
|
||||
Vendored
+1
-1
@@ -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 = 1934;
|
||||
pub const RUNTIME_VERSION: u32 = 1935;
|
||||
|
||||
/// 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
|
||||
|
||||
Reference in new issue
Block a user