intel/compiler: emit actual barriers for working-group level barriers
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 21 Jun 2018 07:45:19 +0000 (09:45 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 10 Jul 2018 05:46:34 +0000 (07:46 +0200)
commit213491600a09aae15efa128fd6d4c46950fa4b4a
tree6ca4aec31c18a2fcfa2b36699ae839038ad5abff
parent0cab6e51e3d4573203d64a746af46e2e6aa431a6
intel/compiler: emit actual barriers for working-group level barriers

Until now we have assumed that we could skip emitting these barriers
in the general case based on empirical testing and a few assumptions
detailed in a comment in the driver code, however, recent CTS tests
have showed that we actually need them to produce correct behavior.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_fs_nir.cpp