GPU: prioritize requested and early depth-only pipelines over early draw PSOs #164
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!164
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/164/head"
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?
@dutch2005 on GitHub · 2026-11-25 18:06 UTC · original
perf/early-depth-pipeline-priority→main· +235 −32 · 2 files · 1 commits · closed without mergingGPU: prioritize requested and early depth-only pipelines over early draw PSOs
Backports three-tier pipeline worker priority from
DexNom/VIctorywhile preserving separate ordinary and screen-pass worker pools plus lost-worker recovery:GraphicsState::writes_depth_only(targets == 0, valid depth format,DepthEnable,DepthWriteMask::All) inpipeline/host.rs.Pending::queued+ FIFOmpsc::channelwithPending::queue_state(NOT_QUEUED,EARLY,REQUESTED,MAKING) and per-poolQueue(requested>early_depth>early) +Condvarinpipeline/make.rs.writes_depth_only, priority promotion (EARLY->REQUESTED),early_depthbeforeearly, pool worker execution,early(), andPEAKtracking.Verification (
RUST_TEST_THREADS=1):victory-gpu --lib --locked -- --test-threads=1 --skip written_pages_are_reported_to_every_asker: 114 passed, 0 failed, 4 ignored (skipped pre-existing #102 flake).cargo check -p victory-gpu --lib --tests --all-features --locked: passed.cargo clippy -p victory-gpu --lib --tests --locked --no-deps: 0 warnings on touched lines.cargo xtask policy --staged: 2 files ok.cargo mutants --in-diff(-p victory-gpu): 27 mutants tested — 18 caught, 3 unviable, 6 timeouts (Queue::push/Queue::pop/worker/workers), 0 missed.@KernelSmoker on GitHub · 2026-11-25 18:08 UTC · original
Tested head
064d6dbon Bazzite 45 with the RTX 3090, using the Windows GNU test binary under GE-Proton 10-34. The three pipeline::make::tests passed in one serial run and in 15 consecutive runs with --test-threads=3 (3/3 each run). This exercises queue promotion and the ordinary and screen worker pools. I did not measure gameplay performance.Pull request closed