diff --git a/src/intel/compiler/brw_fs_opt.cpp b/src/intel/compiler/brw_fs_opt.cpp index 5f1a4db09f0..f7a1f2a618a 100644 --- a/src/intel/compiler/brw_fs_opt.cpp +++ b/src/intel/compiler/brw_fs_opt.cpp @@ -146,8 +146,10 @@ brw_fs_optimize(fs_visitor &s) OPT(brw_fs_lower_derivatives); OPT(brw_fs_lower_regioning); if (progress) { - if (OPT(brw_fs_opt_copy_propagation)) + if (OPT(brw_fs_opt_copy_propagation)) { OPT(brw_fs_opt_algebraic); + OPT(brw_fs_opt_combine_constants); + } OPT(brw_fs_opt_dead_code_eliminate); OPT(brw_fs_lower_simd_width); }