feat(shader): wave32 water tile slot allocation and scalar loop skips #326
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by wike1701 on 2026-11-27T21:02:07Z.
Summary
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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoshi-233 on 2026-11-28T08:43:27Z.
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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T19:22:50Z.
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