summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/a2xx/ir2_nir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
index 8679116976b..8345e94c363 100644
--- a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
+++ b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
@@ -350,7 +350,6 @@ instr_create_alu_reg(struct ir2_context *ctx, nir_op opcode,
{
struct ir2_instr *instr;
struct ir2_reg *reg;
- unsigned ncomp, max_comp;
reg = share_reg ? share_reg->reg : &ctx->reg[ctx->reg_count++];
reg->ncomp = MAX2(reg->ncomp, util_logbase2(write_mask) + 1);