Shaders: experimental paired Wave64 compute lowering for NVIDIA #1397
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/fxceless--victory-fork!1397
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1397/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?
@ByFxbian on GitHub · 2026-11-26 23:03 UTC · original
ByFxbian:perf/wave64-water→main· +2427 −713 · 9 files · 1 commits · closed without mergingSummary
Experimental paired Wave64 compute lowering for 32-lane host GPUs.
Each physical thread executes two logical console lanes.
Based on the paired execution approach from #854, with control-flow
improvements related to #993 and darkworldhm's work.
Disabled by default.
Targeted testing
The paired backend can be enabled for individual shader hashes:
These are the two water transmission volumetrics compute shaders
described in the translation diagnostics from commit
9613092b.Changes
Hardware validation
NVIDIA GeForce RTX 3070 (8 GB), Windows, driver 610.88.
AMD Ryzen 5 5600X, 32 GB RAM.
The GPU test failure is a Windows event-log permission failure,
also reproduced on clean upstream.
Workspace cargo check, staged asset policy and git diff --check pass.
Nsight Graphics profiling
Synthetic compute workload on the RTX 3070:
Paired execution substantially reduces threadgroup barrier stalls
in this workload but introduces additional execution costs.
No unconditional performance improvement is claimed.
Limitations
The original water programs have not been executed with this backend.
Gameplay performance and visual correctness remain unverified.
Testing the two selected programs, including pipeline creation and
water rendering, would be particularly useful.
@Filip722 on GitHub · 2026-11-26 23:17 UTC · original · edited 2026-11-26 23:19 UTC
I tested the two scoped hashes with this PR on current main
a42b627and the DXIL latch fix from #257. The hash scope and unwind regressions passed. The actual NVIDIA Wave32 selector fixture and both water-related LDS fixtures passed on an RTX 5060 Laptop under GE-Proton11-14 and vkd3d-proton 3.2.0.The Series S replay selected both 5dc3b25986622949 and 6f225b641c5b0708. Each hit the paired backend's unsupported floating-point reduction because an exact paired tree is unavailable. The fallback translated each to its original Wave64 requirement, and both D3D12 compute pipeline creations then returned 0x80070057. That isolates a real blocker beyond the LDS synthetic tests for these two programs.
With the same application, initial caches and hardware, the existing scoped Wave32 workaround created both original compute pipelines on this laptop. Native creation took about 0.70 and 1.19 seconds. The comparison used only these two hashes. Water image verification remains open.
Assisted by Codex (GPT-6.2-Sol High).
@fxceless on GitHub · 2026-11-27 00:06 UTC · original
Merged by hand in
b1d777a8(conflicts with other changes resolved there). Thank you.Pull request closed