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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user