Indirect light stand-in: VICTORY_AMBIENT_ASIDE=1 makes its passes on a thread of ours and leaves them out until made, so a list thread never waits in the driver cache with the frame behind it #1122
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1122"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T13:42:58Z.
Problem
The indirect light stand-in makes its seven compute passes on first use, on whichever list thread asks first. With an empty driver cache those creates can take as long as the title's own pipelines, tens of seconds. The list threads behind it wait too, the submission they translate stays at the head of the line, and the present behind it can pass the title's 30 s watchdog.
Change
VICTORY_AMBIENT_ASIDE=1makes the passes on a thread of their own (victory-ambient). Until they are made,pass()returnsNoneand the stand-in is left out, as when it cannot be made. The time taken is logged once. If the thread cannot start, the stand-in stays off. Off by default: without the switch the passes are made on first use, as before.Tested
Built. It only changes anything when set.