Module: Mesa Branch: vulkan Commit: 13bad493b49fe24bd16cbec14592f22c94a826f8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13bad493b49fe24bd16cbec14592f22c94a826f8
Author: Jason Ekstrand <jason.ekstr...@intel.com> Date: Fri Mar 25 12:12:12 2016 -0700 nir/algebraic: Get rid of a redundant copy of fdiv lowering --- src/compiler/nir/nir_opt_algebraic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/nir/nir_opt_algebraic.py b/src/compiler/nir/nir_opt_algebraic.py index 60cd731..2e9cd5f 100644 --- a/src/compiler/nir/nir_opt_algebraic.py +++ b/src/compiler/nir/nir_opt_algebraic.py @@ -82,7 +82,6 @@ optimizations = [ (('imul', a, 1), a), (('fmul', a, -1.0), ('fneg', a)), (('imul', a, -1), ('ineg', a)), - (('fdiv', a, b), ('fmul', a, ('frcp', b)), 'options->lower_fdiv'), (('~ffma', 0.0, a, b), b), (('~ffma', a, 0.0, b), b), (('~ffma', a, b, 0.0), ('fmul', a, b)), _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit