ir3/legalize: remove unused parameter from delay_update

Signed-off-by: Job Noorman <job@noorman.info>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34108>
This commit is contained in:
Job Noorman 2025-05-09 11:26:05 +02:00 committed by Marge Bot
parent 0c05839fcd
commit 0e9b7c6ff3

View file

@ -533,8 +533,7 @@ delay_calc(struct ir3_compiler *compiler,
static void
delay_update(struct ir3_compiler *compiler,
struct ir3_legalize_state *state,
struct ir3_instruction *instr,
bool mergedregs)
struct ir3_instruction *instr)
{
if (writes_addr1(instr) && instr->block->in_early_preamble)
return;
@ -812,7 +811,7 @@ legalize_block(struct ir3_legalize_ctx *ctx, struct ir3_block *block)
if (count)
state->cycle += 1;
delay_update(ctx->compiler, state, n, mergedregs);
delay_update(ctx->compiler, state, n);
if (count)
state->cycle += n->repeat + n->nop;