A commit whose pass finds a submission check or a host step for the scheduler thread now wakes that
thread at once, instead of after its own later passes and submission handlers. The scheduler thread
runs one check or host step at a time, taking in waiting commits between them, and a commit handed
to another thread waits at most for that thread's current pass and its handlers. The commit-latency
lane measures a checked commit's wait for its submission under a consumer-like load (400 host
imports, checked command buffers from one and three threads, event waits).
Gain: the consumer's guest A/B on a Radeon 780M and an RX 7900 XTX (RADV): window drags +13-20%
frames/s, and the commit's off-CPU wait from 9.3 to 0 ms a frame. The new test's hold fell from
71-75 ms (RADV, ANV) to prompt.
Verified on the original branch: the scheduler lanes, 62 of 62 on RADV and ANV, and the runtime
crate's tests. This squashed commit was not re-tested on its own.
A commit no longer blocks on the scheduler's lock while another thread's pass holds it across its
vkQueueSubmit calls: it leaves its batches in a commit inbox that the pass under way takes in, in
commit order. A batch's first work rides in the batch's own vkQueueSubmit, a batch with nothing to
end submits no command buffer, and the runtime counts its queue submissions and live memory blocks
per commit.
Gain: on an Intel Iris Xe host (ANV on i915), the consumer's guest A/B measured a Finder window drag
at 22.1 -> 34.4 frames/s and Safari at 39.1 -> 42.7 frames/s.
Verified on the original branch: the runtime lanes on ANV and lavapipe. This squashed commit was not
re-tested on its own.