diff options
author | Rob Clark <[email protected]> | 2019-10-11 11:26:08 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-10-18 21:11:54 +0000 |
commit | 35692fab86ba5315a27572bf7f9bd85849ddbb5a (patch) | |
tree | 5af9c6c9fd42d7a2b9b1c4cf1dc9316657a70be2 /src/freedreno | |
parent | fd14788e1f5901a08e7f91ea0e818ad20326c180 (diff) |
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 <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/ir3/ir3.h | 3 | ||||
-rw-r--r-- | src/freedreno/ir3/ir3_compiler_nir.c | 1 | ||||
-rw-r--r-- | src/freedreno/ir3/ir3_group.c | 1 |
3 files changed, 0 insertions, 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: */ |