mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 00:18:09 +02:00
Like our loads and stores, our global atomics support indexing with a 64-bit base plus a 32-bit element index, zero- or sign-extended and multiplied by the word size. Unlike the loads and stores, they do not support additional shifting (it's not too useful), so that needs an explicit lowering. Switch to using AGX variants of the atomics, running our address pattern matching on global atomics in order to delete some ALU. This cleans up the image atomic lowering nicely, since we get to take full advantage of the shift + zero-extend + add on the atomic... The shift comes from multiplying by the bytes per pixel. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23529> |
||
|---|---|---|
| .. | ||
| compiler | ||
| drm-shim | ||
| layout | ||
| lib | ||
| .clang-format | ||
| meson.build | ||