Files
metal2vulkan/docs
Anees Iqbal 4a09c07658 Replay player: a play cut after its last frame names the command buffers held there, not an invalid stream
A play cut with --until-frame F (or at its recording range) ended exit 1 with "invalid stream:
command buffers [...] still wait on events at the stream's end" where a command buffer committed
before the cut waited on an event a call past the cut signals (glbench-3090-r4 cut at 400: cbs
128646 and 128648). The calls past the stop may signal it, so the stream is not invalid there.

The player now tells the stream's end from the stop after its last frame. At the stop, the
command buffers still held on events go into Report::held and a `held #ID ...` line, and the
play ends as it would without them (exit 0 for `ok`). At the stream's end a held command buffer
stays the invalid-stream error, a last frame past the end included.

Test: a_play_stopped_after_its_last_frame_names_the_command_buffers_held_there (a synthetic
stream: cut at frame 0 names #4 held and waits for nothing; played whole, the later signal lets
#4 complete; a stream ending with #4 held is invalid with no last frame and with one past its
end). Without the fix the cut play ends Err(Invalid).
2026-11-21 17:27:43 -08:00
..