diff --git a/src/intel/compiler/brw_fs_opt.cpp b/src/intel/compiler/brw_fs_opt.cpp index b2172c04ecf..a4bc71d1317 100644 --- a/src/intel/compiler/brw_fs_opt.cpp +++ b/src/intel/compiler/brw_fs_opt.cpp @@ -65,7 +65,6 @@ brw_fs_optimize(fs_visitor &s) OPT(brw_fs_opt_cse_defs); if (!OPT(brw_fs_opt_copy_propagation_defs)) OPT(brw_fs_opt_copy_propagation); - OPT(brw_fs_opt_predicated_break); OPT(brw_fs_opt_cmod_propagation); OPT(brw_fs_opt_dead_code_eliminate); OPT(brw_fs_opt_peephole_sel); @@ -79,6 +78,8 @@ brw_fs_optimize(fs_visitor &s) progress = false; pass_num = 0; + OPT(brw_fs_opt_predicated_break); + if (OPT(brw_fs_lower_pack)) { OPT(brw_fs_opt_register_coalesce); OPT(brw_fs_opt_dead_code_eliminate);