aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_combine_stores.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_opt_combine_stores.c')
-rw-r--r--src/compiler/nir/nir_opt_combine_stores.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_opt_combine_stores.c b/src/compiler/nir/nir_opt_combine_stores.c
index 8295b0fd7a7..08fa4ac4463 100644
--- a/src/compiler/nir/nir_opt_combine_stores.c
+++ b/src/compiler/nir/nir_opt_combine_stores.c
@@ -400,6 +400,8 @@ combine_stores_impl(struct combine_stores_state *state, nir_function_impl *impl)
if (state->progress) {
nir_metadata_preserve(impl, nir_metadata_block_index |
nir_metadata_dominance);
+ } else {
+ nir_metadata_preserve(impl, nir_metadata_all);
}
return state->progress;