GPU: give screen passes dedicated pipeline workers and wait budget #2433
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2433
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?
@pushkarreddyy on GitHub · 2026-11-25 13:26 UTC · original
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.
@Marvisak on GitHub · 2026-11-25 15:50 UTC · original
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