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

Author: Rob Clark <robdcl...@chromium.org>
Date:   Fri Oct 11 11:26:08 2019 -0700

freedreno/ir3: remove unused ir3_instruction::inout

Not sure I remember how long this has been unused for.  But it's unused
now.

Signed-off-by: Rob Clark <robdcl...@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsb...@google.com>

---

 src/freedreno/ir3/ir3.h              | 3 ---
 src/freedreno/ir3/ir3_compiler_nir.c | 1 -
 src/freedreno/ir3/ir3_group.c        | 1 -
 3 files changed, 5 deletions(-)

diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h
index 34447c2cc2b..b595202cbda 100644
--- a/src/freedreno/ir3/ir3.h
+++ b/src/freedreno/ir3/ir3.h
@@ -267,9 +267,6 @@ struct ir3_instruction {
                struct {
                        int off;              /* component/offset */
                } fo;
-               struct {
-                       struct ir3_block *block;
-               } inout;
        };
 
        /* transient values used during various algorithms: */
diff --git a/src/freedreno/ir3/ir3_compiler_nir.c 
b/src/freedreno/ir3/ir3_compiler_nir.c
index 13158dd0637..21a9f57a381 100644
--- a/src/freedreno/ir3/ir3_compiler_nir.c
+++ b/src/freedreno/ir3/ir3_compiler_nir.c
@@ -68,7 +68,6 @@ create_input_compmask(struct ir3_context *ctx, unsigned n, 
unsigned compmask)
        struct ir3_instruction *in;
 
        in = ir3_instr_create(ctx->in_block, OPC_META_INPUT);
-       in->inout.block = ctx->in_block;
        ir3_reg_create(in, n, 0);
 
        in->regs[0]->wrmask = compmask;
diff --git a/src/freedreno/ir3/ir3_group.c b/src/freedreno/ir3/ir3_group.c
index 570055973e8..397f8d6f8a7 100644
--- a/src/freedreno/ir3/ir3_group.c
+++ b/src/freedreno/ir3/ir3_group.c
@@ -60,7 +60,6 @@ static void arr_insert_mov_in(void *arr, int idx, struct 
ir3_instruction *instr)
        debug_assert(instr->regs_count == 1);
 
        in = ir3_instr_create(instr->block, OPC_META_INPUT);
-       in->inout.block = instr->block;
        ir3_reg_create(in, instr->regs[0]->num, 0);
 
        /* create src reg for meta:in and fixup to now be a mov: */

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to