nir: Don't lower Task/Mesh I/O to temporaries
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 30 Apr 2021 07:01:28 +0000 (00:01 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 28 Aug 2021 03:56:43 +0000 (03:56 +0000)
commit4f52681a2ddeb9983f68df827bf92f09f6b71f9e
treeb00258c34c5298d1f1ead2cdbceabe2d820cd279
parent27697d5eb8d68d0f81619d9be5e09f14aacaf20f
nir: Don't lower Task/Mesh I/O to temporaries

These won't work since a workgroup can span more than one thread, and
the temporaries are not shared memory.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10600>
src/compiler/nir/nir_lower_io_to_temporaries.c