mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-28 10:59:16 -04:00
ea2bfca17d
With dynamic resolution on, the leftover planner's admission share and probe minimum follow measured GPU pressure (fence refusals, pace-guard cuts) instead of thresholds on the live scale, which would be a second resolution controller. Off, they stay keyed on the scale as before. Plans add the estimated cost of passes wanted but shed (and of passes not started before their deadline) to the host ledger, which also carries the pace guard's cut count, so the controller can learn pass demand. Pass costs are selected per image size through the cost cache, so a dynres step or a Fit-to-Window aspect change no longer resets them. A step resets the present-time guard and the picture-on-screen record alongside the pass generations, drops the reserve sample it spans, leaves the two stalled VBlanks out of the pace guard and holds probes and re-measures for 1 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>