From ec920d947c47146dce374e49c37da2c49cc82d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Ondra=C4=8Dka?= Date: Thu, 7 May 2026 18:07:08 +0200 Subject: [PATCH] r300: drop ureg_DECL_vs_input in ntr Part-of: --- src/gallium/drivers/r300/compiler/nir_to_rc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gallium/drivers/r300/compiler/nir_to_rc.c b/src/gallium/drivers/r300/compiler/nir_to_rc.c index 69788b2238e..afa003df662 100644 --- a/src/gallium/drivers/r300/compiler/nir_to_rc.c +++ b/src/gallium/drivers/r300/compiler/nir_to_rc.c @@ -1007,9 +1007,7 @@ ntr_emit_load_input(struct ntr_compile *c, nir_intrinsic_instr *instr) ntr_read_input_output(c, semantics.location, base); if (c->s->info.stage == MESA_SHADER_VERTEX) { - input = ureg_DECL_vs_input(c->ureg, base); - for (int i = 1; i < semantics.num_slots; i++) - ureg_DECL_vs_input(c->ureg, base + i); + input = ureg_src_register(TGSI_FILE_INPUT, base); } else { input = c->input_index_map[base]; }