nir: add _amd global access intrinsics
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 2 Dec 2021 14:33:17 +0000 (14:33 +0000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Apr 2022 16:23:35 +0000 (16:23 +0000)
commit5c038b3f02921dc0ea5348db0d8b417739a456f7
treead1fa4cafc1132bb9f11ef22217c4aba55522e5d
parent391bf3ea30ecb90b2b620f91a2cdc8632ce7b0d8
nir: add _amd global access intrinsics

These are the same as the normal ones, but they take an unsigned 32-bit
offset in BASE and another unsigned 32-bit offset in the last source.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14124>
src/compiler/nir/nir_divergence_analysis.c
src/compiler/nir/nir_gather_info.c
src/compiler/nir/nir_intrinsics.py
src/compiler/nir/nir_opt_uniform_atomics.c