GPU: give screen passes dedicated pipeline workers and wait budget #2433

Open
opened 2026-11-26 05:05:38 +00:00 by github-bot · 1 comment
Owner

@⁠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* and PS_AreaLightIlluminance fill lighting tables once at world entry. Currently on main (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's VIctory-Belobug-AMD@18e57db onto current main.

Claiming this issue and opening a PR shortly.

**@⁠pushkarreddyy** on GitHub · 2026-11-25 13:26 UTC · [original](https://github.com/Marvisak/VIctory/issues/2433) ### Summary One-off screen passes (no vertex input, no depth/stencil testing, triangle topology) such as `PS_IntegrateEnvBRDF*` and `PS_AreaLightIlluminance` fill lighting tables once at world entry. Currently on `main` (`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`'s `VIctory-Belobug-AMD@18e57db` onto current `main`. *Claiming this issue and opening a PR shortly.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:05:38 +00:00
Author
Owner

@⁠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.rs has one worker pool (queue, half the logical processors, 2 to 8) and one 500 ms per-frame wait budget (BUDGET, used by wait) for every pipeline, and ready returns 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

**@⁠Marvisak** on GitHub · 2026-11-25 15:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/2433#issuecomment-7167352732) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T13:26:19Z at=2026-11-25T15:49:53Z --> 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.rs` has one worker pool (`queue`, half the logical processors, 2 to 8) and one 500 ms per-frame wait budget (`BUDGET`, used by `wait`) for every pipeline, and `ready` returns 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](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#2433
No description provided.