GPU: give screen passes dedicated pipeline workers and wait budget #2431
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Marvisak/VIctory. Originally posted by pushkarreddyy on 2026-11-25T13:26:19Z.
Summary
One-off screen passes (no vertex input, no depth/stencil testing, triangle topology) such as
PS_IntegrateEnvBRDF*andPS_AreaLightIlluminancefill lighting tables once at world entry. Currently onmain(940d32f), they share the same pipeline worker pool and 500 ms per-frame wait budget (BUDGET) as 1,200+ world mesh/compute pipelines, causing them to stall behind world pipelines and get dropped (resulting in missing diffuse light and white bloom indoors).Proposed Change
Give screen passes dedicated pipeline workers (
2) and an independent per-frame wait budget (20 s, below the title's 30 s watchdog), adapted from@Belobug'sVIctory-Belobug-AMD@18e57dbonto currentmain.Claiming this issue and opening a PR shortly.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T15:50:00Z.
Automated triage for the maintainers.
Request; it fits the project's scope. The description of main (
da82e44) is accurate:crates/victory-gpu/src/pipeline/make.rshas one worker pool (queue, half the logical processors, 2 to 8) and one 500 ms per-frame wait budget (BUDGET, used bywait) for every pipeline, andreadyreturns nothing for a pipeline not made within that budget, so its draw is skipped that frame. A pass drawn only once is then never drawn. Whether these passes should get their own workers and a longer wait (up to 20 s per frame in the proposal) is the maintainers' call. Open PR #2435 implements it.Generated by Claude Code