diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/freedreno/ir3/ir3_ra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3_ra.c b/src/freedreno/ir3/ir3_ra.c index 789c08f42ed..3b54bdb1893 100644 --- a/src/freedreno/ir3/ir3_ra.c +++ b/src/freedreno/ir3/ir3_ra.c @@ -775,7 +775,7 @@ ra_block_compute_live_ranges(struct ir3_ra_ctx *ctx, struct ir3_block *block) def(name, id->defn); - if (instr->opc == OPC_META_INPUT) + if ((instr->opc == OPC_META_INPUT) && first_non_input) use(name, first_non_input); if (is_high(id->defn)) { |