projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: Add and use nir_foreach_block_unstructured helpers
[mesa.git]
/
src
/
compiler
/
nir
/
nir_deref.c
diff --git
a/src/compiler/nir/nir_deref.c
b/src/compiler/nir/nir_deref.c
index 59805cdbd01f7ffcf68384babbd724e5697121db..4191b7b75992102cd0b25b978b8edf12da5c53c2 100644
(file)
--- a/
src/compiler/nir/nir_deref.c
+++ b/
src/compiler/nir/nir_deref.c
@@
-735,7
+735,7
@@
nir_rematerialize_derefs_in_use_blocks_impl(nir_function_impl *impl)
struct rematerialize_deref_state state = { 0 };
nir_builder_init(&state.builder, impl);
- nir_foreach_block(block, impl) {
+ nir_foreach_block
_unstructured
(block, impl) {
state.block = block;
/* Start each block with a fresh cache */