spirv: Memory semantics is optional for OpControlBarrier
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 5 Jun 2020 22:58:32 +0000 (15:58 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 8 Jun 2020 15:49:24 +0000 (15:49 +0000)
commite5bb4b1ee8c662fb2681b68c965756adbfb0df67
tree7136750ea78679d507d92f508bb36a3d6633577f
parentb7a3821a5cdf158659b6453c9ca97bb92270263f
spirv: Memory semantics is optional for OpControlBarrier

Fixes: 3ed2123d77d ("spirv: Use scoped barriers for SpvOpControlBarrier")
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5365>
src/compiler/spirv/spirv_to_nir.c