nv50/ir: convert to scoped_barrier
authorKarol Herbst <git@karolherbst.de>
Wed, 24 May 2023 14:30:04 +0000 (16:30 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 7 Jun 2023 09:57:24 +0000 (09:57 +0000)
commita2d7a4f9788e62270af8c14b2eee5452a1e0945f
tree9bd586dce5f453e7fd34de9220a46d8ccf3ec421
parent7a21b59df9baf8140d5fbdd766a7f0082da0ae00
nv50/ir: convert to scoped_barrier

Contrary to how we implemented barriers the MEMBAR instruction actually
does not allow us to specify which memory to synchronize. We can only
specify the scope.

No regressions on TU102.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: M Henning <drawoc@darkrefraction.com>
Signed-off-by: Karol Herbst <git@karolherbst.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23208>
src/nouveau/codegen/nv50_ir_from_nir.cpp