gpu: isolate CS_RaytracingResolve pipelines in a background worker queue #402
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!402
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-402"
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?
@Kikoarl on GitHub · 2026-11-27 21:55 UTC · original
Kikoarl:feat/rt-resolve-queue→main· +146 −9 · 1 files · 1 commits · closed without mergingSummary
Ports the
CS_RaytracingResolvebackground worker queue isolation fromfxceless/victory-forkcommit52dfd12(GPL-3.0-or-later), rebased ontomain(df2daaf).Note: This PR intentionally excludes the
VICTORY_MEMORY_NEARwalker cache from52dfd12, which is already covered separately by PR #328.Changes
crates/victory-gpu/src/pipeline/make.rs:CS_RaytracingResolvepipelines intoQueue::resolves, throttled byresolve_limit()/resolve_limit_for(), so graphics/compute pipeline workers stay free during heavy RT resolve compilation batches.Pending::no_waitso callers do not stall behind resolve compilation, and logs waits of>= 50 msfor diagnosis.Verification
Verified on Windows (
x86_64-pc-windows-msvc) againstmain(df2daaf):git diff --check main..HEAD— cleancargo test -p xtask --locked— 6 passed, 0 failed (asset policy: 287 files ok)cargo clippy -p victory-gpu --all-targets --locked— exit 0, 0 warnings in changed files (mainhas pre-existing clippy warnings in untouched files)cargo test -p victory-gpu --locked pipeline::— 25 passed, 0 failed@trustno1-coder on GitHub · 2026-11-28 20:23 UTC · original
Thanks for this. I'm closing it without merging: main reworked the pipeline workers' queue since (newest requests first, the dead ray-tracing pass policy, and a compute wait that is now capped per frame), and this conflicts with it in six places in make.rs. If the background queue for CS_RaytracingResolve still helps on the current main, please rebase it and open a new pull request.
Pull request closed