Module: Mesa
Branch: vulkan
Commit: 6d658e9bd546581a0841e7acb8915dc05d44c628
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d658e9bd546581a0841e7acb8915dc05d44c628

Author: Jason Ekstrand <jason.ekstr...@intel.com>
Date:   Fri Mar 25 15:53:40 2016 -0700

i965: Allow mul+add fusing again

---

 src/mesa/drivers/dri/i965/brw_nir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_nir.c 
b/src/mesa/drivers/dri/i965/brw_nir.c
index ab6000b..8392189 100644
--- a/src/mesa/drivers/dri/i965/brw_nir.c
+++ b/src/mesa/drivers/dri/i965/brw_nir.c
@@ -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);

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to