The gameplay frame is about 45 ms with the card busy most of it on about
11,000 small commands at 130-140 W of 220; a timeline (tl.190) had the
submission the title waited for stand 7.2 ms sent and not begun behind
other work on the one direct queue. The title runs part of its work on
compute queues of its own, which on the console overlaps its drawing.
The queue itself is not built: a D3D12 list runs only on a queue of its
own type, the type is fixed when the list is made, every host list is a
direct list, and what the layer records into the title's compute lists is
not all something a compute list may hold (textures shaders read are put
in both read states, 0x40|0x80; depth twins are copied through a drawn
pass). A submission cannot fall back to the direct queue once its lists
are compute lists. This is the half that can be had without that:
- host/two_queues.rs: Plan::place, the order between a direct and a
compute queue: the queue each host submission would go to, the value
signalled behind it, and the one wait put before it (left out where the
queue waits behind that value already, or the submission has finished),
for copies in the card's memory (sends and compares in one order), steps
on the card, textures named on both queues, memory values a flight of
the other queue writes (late_met_by), tile mappings, a texture's drawing
state moved on the direct queue first, and submissions of ours.
- With VICTORY_ASYNC_QUEUE=plan (or =1, which says it is not built) the
frame line "two host queues, planned per frame" counts submissions by
the title queue's type, what keeps compute submissions on the direct
queue, those that would go to a compute queue (with and without a wait)
and the waits by reason. Nothing runs differently.
- The title queue's type reaches Host::submit (two_queues::for_title from
the line's thread and the older paths; the queues' types by address,
queue::kind_of); a value job in the line knows its queue.
- Diagnostics: the timeline's summary says how much of the card's running
time was the title's compute queues' submissions (the most a queue of
their own could run beside the rest).
Tests: the plan's order (eight cases). The two failures in indirect::tests
are as before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>