ac/llvm: remove unnecessary gfx11 condition for nir_intrinsic_store_buffer_amd

ac_build_buffer_store_dword is responsible for this.

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419>
This commit is contained in:
Marek Olšák
2022-10-28 17:14:55 -04:00
committed by Marge Bot
parent d79da61ffa
commit c4104482c8
+1 -1
View File
@@ -4254,7 +4254,7 @@ static bool visit_intrinsic(struct ac_nir_context *ctx, nir_intrinsic_instr *ins
enum ac_image_cache_policy cache_policy = 0;
if (swizzled)
cache_policy |= ac_swizzled;
if (coherent && ctx->ac.gfx_level < GFX11)
if (coherent)
cache_policy |= ac_glc;
if (slc)
cache_policy |= ac_slc;