ac/llvm: improve sync scope for global atomics
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 27 Nov 2019 16:49:53 +0000 (16:49 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 2 Dec 2019 10:48:27 +0000 (10:48 +0000)
commita814f3d8a7d2e87ed357cd600408012f13c6a90d
tree39807d020a7cc2df0c55e4ab2377830b58b43f0c
parente61a826f39628d87a5ce534d687133ab768c1917
ac/llvm: improve sync scope for global atomics

Stronger ordering is implemented in SPIRV->NIR with barriers.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/llvm/ac_nir_to_llvm.c