diff options
author | Rob Clark <[email protected]> | 2020-05-16 12:01:08 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-19 16:06:17 +0000 |
commit | 65f604e3b3b25bb95c96062675817a3828562e26 (patch) | |
tree | c7e0215ec42c225a7c6dfeedb645c6360f1a25da /src/freedreno/ir3/ir3_delay.c | |
parent | 599fd861d4898a0e1c51c64f2a5ae2665e052b53 (diff) |
freedreno/ir3: make foreach_src declare cursor ptr
To match how the newer iterators work.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5048>
Diffstat (limited to 'src/freedreno/ir3/ir3_delay.c')
-rw-r--r-- | src/freedreno/ir3/ir3_delay.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/freedreno/ir3/ir3_delay.c b/src/freedreno/ir3/ir3_delay.c index 15434fdedd1..2ea8ee5ed6e 100644 --- a/src/freedreno/ir3/ir3_delay.c +++ b/src/freedreno/ir3/ir3_delay.c @@ -49,7 +49,6 @@ ignore_dep(struct ir3_instruction *assigner, if (assigner->barrier_class & IR3_BARRIER_ARRAY_W) { struct ir3_register *dst = assigner->regs[0]; - struct ir3_register *src; debug_assert(dst->flags & IR3_REG_ARRAY); @@ -198,7 +197,6 @@ delay_calc_srcn(struct ir3_block *block, unsigned delay = 0; if (is_meta(assigner)) { - struct ir3_register *src; foreach_src (src, assigner) { unsigned d; @@ -320,7 +318,6 @@ ir3_delay_calc(struct ir3_block *block, struct ir3_instruction *instr, bool soft, bool pred) { unsigned delay = 0; - struct ir3_register *src; foreach_src_n (src, i, instr) { unsigned d = 0; |