ac/nir: set GLC=1 for load/store of coherent/volatile images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 22 Feb 2018 09:25:38 +0000 (10:25 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 22 Feb 2018 19:39:55 +0000 (20:39 +0100)
commita01e9996b590a51b3a699b7f6dddda7fc866b362
tree56062b6901ea1178ee85244dfb84eb6149aae60b
parent3c40be126fcd82ad29fa39ac3a4df6dd67da27e0
ac/nir: set GLC=1 for load/store of coherent/volatile images

This disables persistence accross wavefronts.

F1 2017 and Wolfenstein 2 appear to use some coherent images
but this patch doesn't seem to change anything.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c