diff options
Diffstat (limited to 'src/intel/compiler/brw_nir.c')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 36ccdf3cb1e..3c0a7ced572 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -605,6 +605,12 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler, UNUSED bool progress; /* Written by OPT */ + + do { + progress = false; + OPT(nir_opt_algebraic_before_ffma); + } while (progress); + nir = nir_optimize(nir, compiler, is_scalar); if (devinfo->gen >= 6) { |