Skip to content

nir: Remove legacy atomics

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/uaf into main

Depends on !23004 (merged) and !23026 (merged). The organization of this series is as follows:

  1. Fixes pulled from other MRs.
  2. Convert a bunch of drivers to be fully unified atomics, instead of unified only in the backend compiler. This wasn't done sooner since it depends on all NIR passes being able to handle unified atomics. At this point, nothing in tree consumes legacy atomics.
  3. Convert everything to produce unified atomics. At this point, legacy atomics are dead.
  4. Remove the legacy-to-unified lowering pass, now that it doesn't do anything.
  5. Remove all references to legacy atomics, they're dead code.
  6. Remove the legacy atomics themselves, leaving only unified atomics, henceforth known simply as "atomics" 😸
Edited by Alyssa Rosenzweig

Merge request reports