mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
freedreno/ir3: fix fallout from new block iterators
Since this is potentially modifying the block structure of the shader, it needs the _safe() version of the iterator. Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
fe102f7677
commit
57763ee735
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ lower_if_else_impl(nir_function_impl *impl)
|
|||
nir_builder_init(&b, impl);
|
||||
|
||||
bool progress = false;
|
||||
nir_foreach_block(block, impl) {
|
||||
nir_foreach_block_safe(block, impl) {
|
||||
progress |= lower_if_else_block(block, &b, mem_ctx);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue