spirv: fix memory_barrier_tcs_patch emission
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 28 Feb 2020 19:31:22 +0000 (19:31 +0000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 3 Mar 2020 11:49:40 +0000 (11:49 +0000)
commit8b361df9cf73aae45fff7f766da46d585d903c92
tree552e4821869a970b97a6c40ec50a4084f2684bb8
parent6d839addf953630afa52200d5e9922646227d84d
spirv: fix memory_barrier_tcs_patch emission

Shouldn't affect any driver, since all currently implement
memory_barrier_tcs_patch as a no-op. It also looks like optimizations are
fine

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4003>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4003>
src/compiler/spirv/spirv_to_nir.c