diff options
Diffstat (limited to 'src/glsl/nir/nir_algebraic.py')
-rw-r--r-- | src/glsl/nir/nir_algebraic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_algebraic.py b/src/glsl/nir/nir_algebraic.py index 703102fc5ca..72703beea8a 100644 --- a/src/glsl/nir/nir_algebraic.py +++ b/src/glsl/nir/nir_algebraic.py @@ -216,8 +216,8 @@ ${pass_name}_impl(nir_function_impl *impl) nir_foreach_block(impl, ${pass_name}_block, &state); if (state.progress) - nir_metadata_dirty(impl, nir_metadata_block_index | - nir_metadata_dominance); + nir_metadata_preserve(impl, nir_metadata_block_index | + nir_metadata_dominance); return state.progress; } |