Avoid creating the GPU detiler for CPU texture staging #2797
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ghptc on 2026-11-29T17:25:02Z.
Checking 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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-29T17:48:55Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.