ac/llvm: don't set ac_dlc in visit_intrinsic

It's set by get_load_cache_policy later.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16215>
This commit is contained in:
Marek Olšák 2022-04-26 23:22:40 -04:00
parent 0cd59c7cb0
commit 74b3ca6752
1 changed files with 0 additions and 2 deletions

View File

@ -4251,8 +4251,6 @@ static void visit_intrinsic(struct ac_nir_context *ctx, nir_intrinsic_instr *ins
cache_policy |= ac_swizzled;
if (slc)
cache_policy |= ac_slc;
if (ctx->ac.chip_class >= GFX10)
cache_policy |= ac_dlc;
LLVMTypeRef channel_type;
if (instr->dest.ssa.bit_size == 8)