intel/nir: Stop adding redundant barriers
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 7 Jan 2020 20:58:45 +0000 (14:58 -0600)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jan 2020 17:23:47 +0000 (17:23 +0000)
commitbd3ab75aef95d062cedaa92504fede9887a2c370
tree97201ade8db5f3daaa0c205340f96e9d4cdb3d0a
parentba43b66dc996988ec326d35395e9699ea4f66fdf
intel/nir: Stop adding redundant barriers

Now that both GLSL and SPIR-V are adding shared and tcs_patch barriers
(as appropreate) prior to the nir_intrinsic_barrier, we don't need to do
it ourselves in the back-end.  This reverts commit
26e950a5de01564e3b5f2148ae994454ae5205fe.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3307>
src/intel/compiler/brw_nir_lower_cs_intrinsics.c