mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 10:18:16 +02:00
nvc0: don't visit target blocks of a loop break multiple times
This commit is contained in:
parent
3d190e44de
commit
88066d62ae
1 changed files with 4 additions and 1 deletions
|
|
@ -189,7 +189,10 @@ nvc0_pc_pass_in_order(struct nv_basic_block *root, nv_pc_pass_func f,
|
|||
bb[p++] = b->out[j];
|
||||
break;
|
||||
case CFG_EDGE_LOOP_LEAVE:
|
||||
bbb[pp++] = b->out[j];
|
||||
if (!b->out[j]->priv) {
|
||||
bbb[pp++] = b->out[j];
|
||||
b->out[j]->priv = 1;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue