From c7e7d689129ed4469d0ea1e1a7ceb7068ed3b0a9 Mon Sep 17 00:00:00 2001 From: Job Noorman Date: Mon, 13 Apr 2026 16:47:01 +0200 Subject: [PATCH] ir3: remove unused ir3_context::has_relative_load_const_ir3 Signed-off-by: Job Noorman Part-of: --- src/freedreno/ir3/ir3_compiler_nir.c | 2 -- src/freedreno/ir3/ir3_context.h | 2 -- 2 files changed, 4 deletions(-) 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 */