aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-01-25 15:02:13 -0500
committerRob Clark <[email protected]>2019-01-26 10:44:31 -0500
commitcd79b5e0c2cc0035719348592bac97dce6ce1d73 (patch)
tree7cbc5ef71b8b016966b9c86f46e396cf996cae4a /src/gallium/drivers
parent8e9ad592c30de493e951d09f57f5cb37d80e1863 (diff)
freedreno/a2xx: fix unused variable warning
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-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);