diff --git a/src/freedreno/ir3/ir3_compiler_nir.c b/src/freedreno/ir3/ir3_compiler_nir.c index b26b93a01b7..c7a61f7a814 100644 --- a/src/freedreno/ir3/ir3_compiler_nir.c +++ b/src/freedreno/ir3/ir3_compiler_nir.c @@ -2851,8 +2851,6 @@ emit_intrinsic(struct ir3_context *ctx, nir_intrinsic_instr *intr) if (ctx->compiler->info->props.has_scalar_alu && !intr->def.divergent) dst[i]->dsts[0]->flags |= IR3_REG_SHARED; } - - ctx->has_relative_load_const_ir3 = true; } break; diff --git a/src/freedreno/ir3/ir3_context.h b/src/freedreno/ir3/ir3_context.h index 2aeed94a348..f8da951f8b4 100644 --- a/src/freedreno/ir3/ir3_context.h +++ b/src/freedreno/ir3/ir3_context.h @@ -136,8 +136,6 @@ struct ir3_context { unsigned prefetch_limit; - bool has_relative_load_const_ir3; - /* set if we encounter something we can't handle yet, so we * can bail cleanly and fallback to TGSI compiler f/e */