freedreno/ir3: make input/output iterators declare cursor ptr
[mesa.git] / src / freedreno / ir3 / ir3_a6xx.c
index cef110d6f5c980d9d97004d56f864f82120829d2..6160a855771b7c78fca34998102c4540bf25e996 100644 (file)
@@ -460,7 +460,6 @@ ir3_a6xx_fixup_atomic_dests(struct ir3 *ir, struct ir3_shader_variant *so)
        }
 
        /* we also need to fixup shader outputs: */
-       struct ir3_instruction *out;
        foreach_output_n (out, n, ir) {
                if (is_atomic(out->opc) && (out->flags & IR3_INSTR_G)) {
                        ir->outputs[n] = get_atomic_dest_mov(out);