ir3: Don't emit barriers for make_available/make_visible
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 29 Oct 2021 17:02:25 +0000 (19:02 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 29 Oct 2021 23:38:10 +0000 (23:38 +0000)
commit68a62226e4dba17fb56c968a53fe1539fff70214
treedc42eea496a264e3004307c3a12d2057040a912d
parent4108fda4268943a52cffc6627b598638763b88c9
ir3: Don't emit barriers for make_available/make_visible

When looking at the output of some CTS tests, I realized that the
barriers vtn currently inserts to emulate coherent memory accesses
were being turned into fences, even though we never needed to do
anything special for coherent accesses before so presumably accesses are
already cache-coherent by default. Ignore make_visible/make_available
semantics to get us back to parity with the old path.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13599>
src/freedreno/ir3/ir3_compiler_nir.c