Re: [Mesa-dev] [PATCH] nir: Add a couple of iand/ior optimizations

2018-08-01 Thread Ian Romanick
On 07/23/2018 07:10 AM, Jason Ekstrand wrote: > On Mon, Jul 23, 2018 at 1:08 AM Timothy Arceri > wrote: > > Ian and I have been looking at these type of things recently. Ian has > started work on a pass to cover this stuff without having to add dozens > o

Re: [Mesa-dev] [PATCH] nir: Add a couple of iand/ior optimizations

2018-07-24 Thread Jason Ekstrand
On Tue, Jul 24, 2018 at 5:41 PM Timothy Arceri wrote: > On 24/07/18 00:10, Jason Ekstrand wrote: > > On Mon, Jul 23, 2018 at 1:08 AM Timothy Arceri > > wrote: > > > > Ian and I have been looking at these type of things recently. Ian has > > started work on a

Re: [Mesa-dev] [PATCH] nir: Add a couple of iand/ior optimizations

2018-07-24 Thread Timothy Arceri
On 24/07/18 00:10, Jason Ekstrand wrote: On Mon, Jul 23, 2018 at 1:08 AM Timothy Arceri > wrote: Ian and I have been looking at these type of things recently. Ian has started work on a pass to cover this stuff without having to add dozens of these types

Re: [Mesa-dev] [PATCH] nir: Add a couple of iand/ior optimizations

2018-07-23 Thread Jason Ekstrand
On Mon, Jul 23, 2018 at 1:08 AM Timothy Arceri wrote: > Ian and I have been looking at these type of things recently. Ian has > started work on a pass to cover this stuff without having to add dozens > of these types of opts. > > https://lists.freedesktop.org/archives/mesa-dev/2018-July/200583.ht

Re: [Mesa-dev] [PATCH] nir: Add a couple of iand/ior optimizations

2018-07-23 Thread Timothy Arceri
Ian and I have been looking at these type of things recently. Ian has started work on a pass to cover this stuff without having to add dozens of these types of opts. https://lists.freedesktop.org/archives/mesa-dev/2018-July/200583.html On 23/07/18 17:36, Jason Ekstrand wrote: Spotted in a sha

[Mesa-dev] [PATCH] nir: Add a couple of iand/ior 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 ba277fdfd0e..f2007852b21 100644 --- a/src/compiler/nir/nir_opt_algebraic.