mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
nir/repair_ssa: Support unstructured control-flow
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28300>
This commit is contained in:
parent
42853b8115
commit
3293248439
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ nir_repair_ssa_impl(nir_function_impl *impl)
|
|||
nir_metadata_require(impl, nir_metadata_block_index |
|
||||
nir_metadata_dominance);
|
||||
|
||||
nir_foreach_block(block, impl) {
|
||||
nir_foreach_block_unstructured(block, impl) {
|
||||
nir_foreach_instr_safe(instr, block) {
|
||||
nir_foreach_def(instr, repair_ssa_def, &state);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue