ac: set swizzled bit in cache policy as a hint not to merge loads/stores
authorMarek Olšák <marek.olsak@amd.com>
Fri, 22 Nov 2019 22:41:22 +0000 (17:41 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 25 Nov 2019 21:48:27 +0000 (16:48 -0500)
commitf671cc4d95eaf9ecfaafb216afeff7dc89f66cbf
tree4309fd0c0e64d959d27072d7c33236de37e062fa
parent8afab607ac37871771cd75ac9dfdaea3bea65d25
ac: set swizzled bit in cache policy as a hint not to merge loads/stores

LLVM now merges loads and stores for all opcodes, so this must be set.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/llvm/ac_llvm_build.c
src/amd/llvm/ac_llvm_build.h
src/amd/llvm/ac_nir_to_llvm.c
src/amd/vulkan/radv_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_compute_prim_discard.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c