Avoid creating the GPU detiler for CPU texture staging #2797
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!2797
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2797"
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?
@ghptc on GitHub · 2026-11-29 17:25 UTC · original
ghptc:fix/lazy-gpu-detiler-20261129→main· +4 −1 · 1 files · 1 commits · openChecking a CPU texture staging record used to evaluate both tuple members, including the lazy GPU detiler constructor. This could compile its shaders and try to create its root signature even when no staging object requested GPU detiling. Under Wine this was visible as a detiler initialization failure in a CPU-detiling session.
Return immediately when the staging object has no GPU record. GPU staging still uses the same constructor, duplicate-submission check and dispatch path. A host-only control used the production method with a counting constructor. CPU staging went from one constructor call to zero, and the GPU-staging control preserved its submission and dispatch sequence.
@dyshay on GitHub · 2026-11-29 17:48 UTC · original
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch
janus-prs). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with--profile diag --features diagnostics, and the CPU tests of the touched crates pass. Runs on an RTX 4090 are queued (Series S with ray tracing, and Series X, DLSS Quality). Frame times will follow here.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.