Module: Mesa
Branch: master
Commit: cd79b5e0c2cc0035719348592bac97dce6ce1d73
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd79b5e0c2cc0035719348592bac97dce6ce1d73

Author: Rob Clark <[email protected]>
Date:   Fri Jan 25 15:02:13 2019 -0500

freedreno/a2xx: fix unused variable warning

Signed-off-by: Rob Clark <[email protected]>

---

 src/gallium/drivers/freedreno/a2xx/ir2_nir.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c 
b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
index 8679116976..8345e94c36 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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to