fix(shaders): fix wave32 reductions, divergent quad ops, ScreenProbes barriers, decal NaNs, and tile RMW races #521
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/gamingwithhomie--larp!521
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-521"
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?
@ZerefDragnee1l on GitHub · 2026-12-06 01:49 UTC · original
ZerefDragnee1l:fix/replacement-shaders-wave32-barriers-and-rmw→main· +362 −253 · 14 files · 1 commits · openSplits the replacement compute shader correctness fixes out of #408 onto current
main.Summary
07c93bfb77fecebb: Add Wave32 cross-wavegroupsharedreductions for 8x8 tile ballots and min/max/sum, guard single-lane tile UAV writes, and remove redundant barriers.2561af9577c47289: HoistQuadReadLaneAtcalls under uniform control flow via finite-checkedquad_uv_grad.0f9382de,ca91c139,d5f6125b,f76abe01): Replace early returns beforeGroupMemoryBarrierWithGroupSyncwith sentinel/exited flags so all active lanes hit trailing barriers cleanly.e4a9f58e,c4183d3c,b9688048,1f1fbd86): Clamp chainedsqrt()inputs, guard 1-based object index underflow, and replaceO(N^2)LDS scans with wave intrinsics.559d9f01,002e93a6,0e64f14f,191ecaed): Guard+infdepth neighbor NaNs in559d9f01and serialize per-tile UAV read-modify-write races.Verification
git diff --check-> cleancargo check -p larp-> exited 0 (apps/larp/build.rsDXC compilation across 1M and 2M heaps succeeded cleanly).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.