Skip to content

shader: lower native pixel raw buffer atomic add with exact coverage #3216

Done

Description

@xiaoqi72665

Refs #3212, #3215, #3074, #3198, #2935.

Claim (Buhe): I am taking the native pixel-stage raw buffer atomic add slice, stacked locally on #3215. 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.

Activity

  1. added a commit that references this issue on Nov 27, 2026
    9345c21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions