feat(shader): wave32 water tile slot allocation and scalar loop skips #326
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!326
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-326"
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?
@wike1701 on GitHub · 2026-11-27 21:02 UTC · original
wike1701:feat/wave32-water-light→main· +255 −14 · 4 files · 1 commits · closed without mergingSummary
Ports Wave32 (NVIDIA) water lighting fixes from xceless/victory-fork (GPL-3.0, commits cd93552 and 299fba, building on xss3009's transmission tile allocation idea):
(Note: LDS init hoisting from 299fba is already submitted separately in #35, and thread-ticket group counters from
854f57fare already in main.)Verification
@Yoshi-233 on GitHub · 2026-11-28 08:43 UTC · original
I tried the scalar-loop part independently at this PR’s head,
0b881e0, using synthetic IR andloops_kept=true. All three inputs started with exactly one outer empty-EXEC skip. Bothdeep=falseanddeep=truegave the same result:without_skipsv_readfirstlane_b32supplies the initial value; scalar add, compare, branch on SCC0v_cmp_gt_u32followed by a VCCZ backedge to the compareThe first row verifies the scalar case on your head. The VCC cases give a small additional regression pair: with EXEC empty the comparison clears VCC, so the VCCZ backedge can keep taking the loop while VCCNZ exits immediately. The new fixture in #888 distinguishes them on current main. These are compiler results; I did not test this PR’s water-lighting changes in game.
github-bot referenced this pull request2026-11-28 14:37:41 +00:00
@trustno1-coder on GitHub · 2026-11-28 19:22 UTC · original
Thanks for this. I'm closing it without merging because it conflicts with the current main in several places (main has moved a lot since it was opened, with about 100 pull requests merged today), and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request.
Pull request closed