ac/nir: Update TCS output barriers with nir_var_mem_shared.
authorTimur Kristóf <timur.kristof@gmail.com>
Sat, 19 Jun 2021 14:09:38 +0000 (16:09 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 21 Jun 2021 08:27:14 +0000 (08:27 +0000)
commit72174a3eef230883444e7f7c77a89c4919bb38d5
treef9e32cc328af905c4b77306ecd3678dce8585e45
parented04cb62d898ade2670dbb486cfaebedce19bb6f
ac/nir: Update TCS output barriers with nir_var_mem_shared.

Output loads and stores are lowered to shared memory access,
so we have to update the barriers to also reflect this.

Closes: #4955
Fixes: bf966d1c1dd968116b8b547ca2739f5113caccb5

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11484>
src/amd/common/ac_nir_lower_tess_io_to_mem.c