nir: add task_payload and shader_out to nir_var_vec_indexable_modes
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 9 Nov 2022 16:21:32 +0000 (16:21 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 9 Dec 2022 20:56:52 +0000 (20:56 +0000)
commite1f51003111b9fc9f06c948191c545164cfc86be
tree9123462fdd793a748c8f8f99255381f7fef70fbd
parenta89755d179254d1c9be3f935f44ba5efece90cc1
nir: add task_payload and shader_out to nir_var_vec_indexable_modes

Since these can be cross-invocation, we need this to write individual
components without race conditions or loads.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7391
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19597>
src/compiler/nir/nir.h