radv: emit the GLC bit for SSBO loads/stores when needed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 3 Oct 2018 21:06:34 +0000 (23:06 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Oct 2018 06:42:08 +0000 (08:42 +0200)
commit416013b4f5caef69f8be15aaebf31d789b93f30f
tree3fc44a7799518577ba2bf9f94ded0cf42a75b531
parent4b74f05f6b635a8359d1e4a59c8d0cd69d1d9e30
radv: emit the GLC bit for SSBO loads/stores when needed

This fixes some new memory model tests:
dEQP-VK.memory_model.message_passing.core11.u32.coherent.fence_fence.atomicwrite.device.*

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108112
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/amd/common/ac_nir_to_llvm.c