shader: lower native pixel raw buffer atomic add with exact coverage #3218
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3218
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@xiaoqi72665 on GitHub · 2026-11-27 22:05 UTC · original
Refs #3214, #3217, #3074, #3200, #2935.
Claim (Buhe): I am taking the native pixel-stage raw buffer atomic add slice, stacked locally on #3217. Current native graphics lowering explicitly refuses buffer atomics while the compute emitter already implements the raw DWORD atomic add and GLC return. I checked open and historical issue/PR searches; I did not find another claim for this exact native pixel path. Please flag overlap, especially with #3091/#3094.
Plan: reuse the compute emitter's address/operation lowering and the verified raw UAV binding, but explicitly guard the actual atomic side effect with proven pixel EXEC and coverage (no helper lane writes). Verify both GLC and non-GLC, inactive lane preservation, concurrent updates/old values, bounded views and guard words via source-built VS/PS -> offline native cache -> PSO -> Draw -> GPU readback, on RX 7900 XT and WARP. Restrict to proven raw DWORD add and supported exact/masked control flow; indexed, other opcodes, unproven WQM/control flow remain refused. No runtime integration duplicate, no game inputs. Actual title impact not established.
AI-assisted.