Re: [Mesa-dev] [PATCH] nir: Add a couple trivial abs optimizations

2018-07-23 Thread Ian Romanick
Funny thing about this... this is how i915 implements ABS. :) Reviewed-by: Ian Romanick On 07/23/2018 12:02 AM, Jason Ekstrand wrote: > Spotted in a shader in Batman: Arkham City. > --- > src/compiler/nir/nir_opt_algebraic.py | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/compi

Re: [Mesa-dev] [PATCH] nir: Add a couple trivial abs optimizations

2018-07-23 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] nir: Add a couple trivial abs optimizations

2018-07-23 Thread Jason Ekstrand
Spotted in a shader in Batman: Arkham City. --- src/compiler/nir/nir_opt_algebraic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/nir/nir_opt_algebraic.py b/src/compiler/nir/nir_opt_algebraic.py index f49b43f3213..ba277fdfd0e 100644 --- a/src/compiler/nir/nir_opt_algebraic.