nir_to_tgsi: Add support for HW atomics.
authorEric Anholt <eric@anholt.net>
Sat, 9 Jan 2021 00:45:42 +0000 (16:45 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 29 Jul 2021 19:47:05 +0000 (19:47 +0000)
commit846a4512e9167e1e14fd2f3de6d2aa7141a38d3d
tree24187f66b57488f62251604f17a303c64caabe10
parentbe7d964ff03d1c08ab3aac1452d7377a590f91e3
nir_to_tgsi: Add support for HW atomics.

Found missing when taking virgl on the nir-to-tgsi path.  Needs an SSBO
fix as well to pass all of the atomic_counters tests.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11937>
src/gallium/auxiliary/nir/nir_to_tgsi.c