i965: Allow mul+add fusing again
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 25 Mar 2016 22:53:40 +0000 (15:53 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 26 Mar 2016 04:35:41 +0000 (21:35 -0700)
src/mesa/drivers/dri/i965/brw_nir.c

index ab6000b0573ef48bdd770d9616b8ef3e029d1a89..83921891d1c72c5bd86cad0f8ffb637d622100ee 100644 (file)
@@ -495,7 +495,7 @@ brw_postprocess_nir(nir_shader *nir,
 
    if (devinfo->gen >= 6) {
       /* Try and fuse multiply-adds */
-//      OPT(brw_nir_opt_peephole_ffma);
+      OPT(brw_nir_opt_peephole_ffma);
    }
 
    OPT(nir_opt_algebraic_late);