radeonsi/gfx10: set DLC for loads when GLC is set
authorMarek Olšák <marek.olsak@amd.com>
Fri, 24 May 2019 22:48:39 +0000 (18:48 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:13 +0000 (15:51 -0400)
commit4bdf44724fa8bd88d8f5ed2d8627a4b5ba02cbc0
tree068200aedd2e899cfc52485e91deabc760885fe4
parentf81aa6b0c8117351aaf67dd9dfe5a68fe48ded0a
radeonsi/gfx10: set DLC for loads when GLC is set

This fixes L1 shader array cache coherency.

Acked-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
src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c