Repository navigation
GPU: give screen passes dedicated pipeline workers and wait budget - #892
Open
sagouindupm wants to merge 1 commit into
Open
sagouindupm wants to merge 1 commit into
sagouindupm wants to merge 1 commit into
Conversation
ExoCalibra
added a commit
to ExoCalibra/victory-exo
that referenced
this pull request
Nov 25, 2026
ExoCalibra
added a commit
to ExoCalibra/victory-exo
that referenced
this pull request
Nov 25, 2026
…fxceless#559, and upstream fxceless#863 boat buoyancy note to README
ExoCalibra
added a commit
to ExoCalibra/victory-exo
that referenced
this pull request
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports the dedicated screen-pass pipeline worker pool and wait budget idea from
Belobug/VIctory-Belobug-AMD(18e57db8,GPL-3.0-or-later) onto upstreammain(f85101b), preservingmain's two-levelQueue(early/requestedpromotion) andshared_budget()tracking.Summary of changes
crates/victory-gpu/src/pipeline/host.rs: AddGraphicsState::screen_pass(&self) -> boolidentifying triangle draws with no vertex inputs and no active depth/stencil (depth_format == DXGI_FORMAT_UNKNOWNor!DepthEnable && !StencilEnable).crates/victory-gpu/src/pipeline/make.rs:Pendingwithscreen: boolfromGraphicsState::screen_pass().QUEUE/AVAILABLEinto ordinary (0) and screen-pass (1) queues, served by 2 dedicatedvictory-screen-pipelines-{i}worker threads alongside the existingvictory-pipelines-{i}pool so full-screen/lighting table setup passes do not wait behind thousands of queued world draw pipelines.SPENTtracker andscreen_wait_budget()(VICTORY_SCREEN_PIPELINE_WAIT_MS, default 20 s; 0 whenVICTORY_PIPELINE_WAIT_MS=0) without eating into the 500 ms ordinary draw wait budget.screen_pass_classifies_inputless_depthless_trianglesandscreen_pass_uses_dedicated_queue_and_worker.Attribution
Belobug/VIctory-Belobug-AMDcommit18e57db8("Screen passes get pipeline workers and a wait budget of their own"), licensed underGPL-3.0-or-later.Verification
Run on Windows 11 Pro (x86_64-pc-windows-msvc, Rust 1.98.1, RTX 3050 8 GB, driver
621.40):cargo test --release -j 6 -p victory-gpu -- pipeline --test-threads=1-> 13 passed; 0 failed (including both new tests).cargo test --release -j 6 -p victory-gpu -- --test-threads=1-> 160 passed; 1 failed; 4 ignored (the 1 failure is the pre-existingorigin/mainWARP scheduler-order testindirect::tests::warp_budget_saturates_without_wraparound_and_preserves_draw_fields, tracked in Indirect test: the two groups charge the budget in either order (the test failed 5 runs in 6) #849/indirect: clamp a window's records in lane order, not scheduler order #864).cargo clippy -j 6 -p victory-gpu --all-targets --no-deps-> 0 warnings inpipeline/host.rsandpipeline/make.rs(3 pre-existing warnings in untouchedresource.rs/draw.rs/indirect.rsonf85101b).cargo run -j 6 -p xtask -- policy->asset policy: 175 files ok.AI-assisted: adapted for
origin/main'sQueue/shared_budget()structure, unit-tested, and written with AI assistance.