ac/nir: implement mesh shader multi-row export
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 19 Oct 2023 18:27:07 +0000 (19:27 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 24 Oct 2023 21:36:07 +0000 (21:36 +0000)
commit773d35d25e589cbd1c786559140dee42c5fe23a2
tree5de1a1998ae153ce1700afccd351ea47220747f5
parentc29d8a9e68b7994cc5efd82b45038548eeaa2a41
ac/nir: implement mesh shader multi-row export

Unlike AMDVLK, this has separate loops for attribute stores and exports,
so that the stores from different rows can overlap.

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/25040>
src/amd/common/ac_nir_lower_ngg.c