Files
metal2vulkan/crates
Anees Iqbal 7e59bca6ef rt: forced_flushes_across_queues says what it counts: its test omits three of the own queue's reasons
The counter's doc said no path of the submit thread sends a group with
no reason of its own queue's, so it stays 0. A boot on a 780M read 119.
Its test in close omits three reasons step sends a group for, all of
the group's own queue: a command buffer that cannot join it (its
queue's expected run not known, or the group at GROUP_RUN or
UNSEEN_JOINS), and a segment that leans on a copy for a buffer an
earlier segment of the group wrote. So it counts with one queue too.
The doc now says so, and that a group sent for another queue's fence
waiter is not counted (it goes as a host wait would send it).

Verified: a scratch device test (never lands) on lavapipe, one queue,
six commits held behind its busy work: forced +1 and submissions +1
while held, the fifth commit past UNSEEN_JOINS sending the group of
four (job m3-max-52396).
2026-11-19 07:04:21 -08:00
..