nv50/ir: add barrier and thread_state files
authorKarol Herbst <kherbst@redhat.com>
Tue, 14 Jul 2020 20:34:34 +0000 (22:34 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sun, 30 May 2021 13:34:31 +0000 (13:34 +0000)
commitf14ed4f077e08a8d254821c935116ffc0d0d487c
tree8a2cd0cb76ff6f47c38b7e0b949c32f7e9cdf442
parentf4c6c89dec6d2297022fc511db627ce3ed74a5e0
nv50/ir: add barrier and thread_state files

Those are required on Turing+ to handle cross thread synchronization and
other goodies as the c/r stack is gone.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11061>
src/gallium/drivers/nouveau/codegen/nv50_ir.h
src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.h
src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp