Files
metal2vulkan/crates
Anees Iqbal b5f8b080e9 WorkCounts: why direct draws keep nothing, find their kept draw unlike, or stop a rebind
A guest's composite (the 780M glass drag) rebound 0 of about 261 draws,
though some of its gaps between draws call no forgetting call. These
counts tell why: draws_unkept, a direct draw that recorded and kept
nothing, with the groups of conditions it met (a step of its own or a new
instance, a barrier, a shadow or snapshot, a heap, handle, sampler or root
table or push hole, an index copy, a write, a pipeline still being made,
or none of those); draws_unlike_kept, a draw whose encoder kept a draw of
another call, arguments, state, command buffer or Under; and
draws_rebind_stopped, a draw of its kept draw again after calls that took
every step. The switching test checks the first two on its draws. The API
signatures table is blessed.

(cherry picked from commit a027a28691a3cb6d4022e320047e16cbeaa5d5a3)
2026-11-08 10:49:02 -08:00
..