One game records a small list each frame into the same command memory on one thread, after it waits for the last
frame's fences, and submits it on another. At loads the submitting thread can still hold the last frame's handle, at
the same address, when the recording thread has begun the next frame's list there. The console's GPU then runs the
commands that the two left there. nvn read its handle's first record, now a JUMP to the piece of the runtime's
memory that the new recording was still cut from, and then bytes not written yet: a command record ... has op 0 and
size 0, in about one run in five. An event ring showed the order. The fences signal in order, and no
AddCommandMemory comes between the two, so nothing the game calls can wait for the replay there.
So a walk ends a recording at a JUMP into a piece that a command buffer is still cut from (nvn_cmd_unfinished): past
the records written so far there is nothing final to run. The stop message names the segment of the runtime's memory,
how far it is cut, and the pieces in use there (nvn_cmd_describe).
Made from docs/layers/gpu/nvn.md at 69237645142c. GPL-3.0-or-later.