diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index 851138a8f51..355761f032c 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -635,6 +635,7 @@ ir3_finalize_nir(struct ir3_compiler *compiler, } OPT(s, nir_lower_is_helper_invocation); + OPT(s, nir_opt_combine_barriers, NULL, NULL); ir3_optimize_loop(compiler, options, s);