fix(agc): hold flip behind worker #2666
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2666"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by sridhar777911 on 2026-10-10T10:29:32Z.
Description
This PR safely resubmits PR #1745 which was previously closed due to administrative/conventions issues initially, now resolved.
What
A title that paces itself on pending flips can get further ahead of the queue 0 worker than its per-frame memory allows, and the worker then records a frame from memory the title has already rewritten.
A submission on queue 0 that carries a flip now waits until the worker has reached the flip of every earlier one. The wait ends early when queue 0 is blocked on memory that no running, held or pending work writes, the criterion orderReleased uses, since only the title can end that wait.
Tested
Windows 11, RTX 5070 Ti, Astro Bot (PPSA21564, 01.007.000), built from
b3fcd6d6(an older main) with this change. 45 s runs through the intro.Checklist
ctesttools/check_conventions.py