Repository navigation
Conversation
Following the triage of Marvisak#2435 (pushkarreddyy's cherry-pick above, adapted from Belobug's work): the proposal gave a screen-classified pass a 20 s per-frame wait, but such a pass is nearly every full-screen draw the title runs, so a cold one could hold the title's frame for seconds. The two kinds keep their own queues, workers and budget accounting, and both budgets are the same half a second: a world's pipelines cannot spend a screen pass's budget away (the lighting-table fills are made within moments by the two screen workers), and a misclassified pass can only move pools, never wait longer than the ordinary pool allowed. A draw whose pipeline was not made within the budget is now logged once by key, so a run losing a once-drawn pass shows it. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
|
oni-swr verification — head Environment: Windows 11 Pro (26200), rustc 1.98.1, WARP only ( Commands / results
Review: The classification and the two-kind queue/budget bookkeeping look correct (per-kind Overlap: this is the same fix as open #2435 (also "fixes #2433", the original by @pushkarreddyy): #2582 states it supersedes it with different budget semantics, so only one of the two should land. #2250's AI disclosure: this review and verification were done by Claude Code (Claude Sonnet 5.5), not a human reviewer. Comment-only; no code changed. |
…s a test From oni-swr's verification of Marvisak#2582: the dropped warning said "the draw is skipped" where the budget only costs the pipeline's draw this frame — the message now says so, and names the pass drawn only once, which the skip loses outright. The routing to the screen pool itself had no test: a screen-classified pipeline now goes through `ready` in a test, so both worker pools' spawn paths run under test. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@oni-swr Thanks for the verification @oni-swr — points 1 and 2 are addressed in fd872f4:
On 3, agreed — that is the shape I went for: one warning per key for the On the overlap: #2582 supersedes #2435's 20 s budget — happy for |
|
Automated triage for the maintainers. Needs rebase. This PR no longer merges cleanly into Generated by Claude Code |
Takes #2435 by @pushkarreddyy (adapted from @Belobug's tree) onto current main,
authorship preserved in the first commit, and addresses its triage's two
points.
What stays: the screen-pass classification (no vertex input, no depth or
stencil, triangle topology —
GraphicsState::screen_pass), and twopipeline kinds with their own queues, workers and per-frame budget
accounting: the ordinary pool (2..=8 workers) and two dedicated screen
workers. The lighting-table fills of #2433 (
PS_IntegrateEnvBRDF*,PS_AreaLightIlluminance, drawn once at world entry) are no longer stuckbehind a world's worth of pipelines, and a world's waits can no longer
spend a screen pass's budget.
What changes from #2435: no 20 s budget. A screen-classified pass is
nearly every full-screen draw the title runs, so a cold one could hold
the frame for seconds — the stall the budget exists to prevent. Both
kinds now share the same half-second budget; a misclassified pass can
only move pools, never wait longer than the ordinary pool allowed. The
screen workers make the one-off fills within moments, so a longer wait
is not needed for them.
Also, a draw whose pipeline was not made within its kind's budget is now
logged once by key ("a draw's pipeline is not made within the frame's
budget; the draw is skipped") — the drop the triage asked to see, so a
run that loses a once-drawn pass shows it and testers (thanks to the
readback protocol of #2435's thread) can turn it into the missing
evidence on the hardware where the drop happens.
Local check: clippy --workspace --all-targets with and without
--all-features, -D warnings clean; victory-gpu tests pass on a capped
RTX heap except the two failures that #1943's not-yet-merged fix owns.
Merge note (from #2435's review): #2250's
VICTORY_PIPELINE_THREADSenvadds worker count control where
queue()starts its pool — when itlands, its env should apply to the ordinary kind only.