Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-06-01 Thread Ian Romanick
On 06/01/2018 10:17 AM, Eric Anholt wrote: > Samuel Pitoiset writes: > >> On 06/01/2018 02:17 AM, Ian Romanick wrote: >>> On 05/30/2018 10:06 AM, Samuel Pitoiset wrote: Similar for max(). Signed-off-by: Samuel Pitoiset --- src/compiler/nir/nir.h| 3 +++

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-06-01 Thread Eric Anholt
Samuel Pitoiset writes: > On 06/01/2018 02:17 AM, Ian Romanick wrote: >> On 05/30/2018 10:06 AM, Samuel Pitoiset wrote: >>> Similar for max(). >>> >>> Signed-off-by: Samuel Pitoiset >>> --- >>> src/compiler/nir/nir.h| 3 +++ >>> src/compiler/nir/nir_opt_algebraic.py | 8

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-06-01 Thread Matt Turner
On Fri, Jun 1, 2018 at 9:50 AM, Samuel Pitoiset wrote: > On 06/01/2018 06:47 PM, Matt Turner wrote: >> On Wed, May 30, 2018 at 10:06 AM, Samuel Pitoiset >> wrote: >>> >>> Similar for max(). >>> >>> Signed-off-by: Samuel Pitoiset >> >> >> What are the shader-db results? That should be in the

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-06-01 Thread Samuel Pitoiset
On 06/01/2018 06:47 PM, Matt Turner wrote: On Wed, May 30, 2018 at 10:06 AM, Samuel Pitoiset wrote: Similar for max(). Signed-off-by: Samuel Pitoiset What are the shader-db results? That should be in the commit message. In the second one?

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-06-01 Thread Matt Turner
On Wed, May 30, 2018 at 10:06 AM, Samuel Pitoiset wrote: > Similar for max(). > > Signed-off-by: Samuel Pitoiset What are the shader-db results? That should be in the commit message. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-06-01 Thread Samuel Pitoiset
On 06/01/2018 02:17 AM, Ian Romanick wrote: On 05/30/2018 10:06 AM, Samuel Pitoiset wrote: Similar for max(). Signed-off-by: Samuel Pitoiset --- src/compiler/nir/nir.h| 3 +++ src/compiler/nir/nir_opt_algebraic.py | 8 2 files changed, 11 insertions(+) diff

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-31 Thread Ian Romanick
On 05/30/2018 10:06 AM, Samuel Pitoiset wrote: > Similar for max(). > > Signed-off-by: Samuel Pitoiset > --- > src/compiler/nir/nir.h| 3 +++ > src/compiler/nir/nir_opt_algebraic.py | 8 > 2 files changed, 11 insertions(+) > > diff --git a/src/compiler/nir/nir.h

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-31 Thread Timothy Arceri
On 31/05/18 19:37, Bas Nieuwenhuizen wrote: On Thu, May 31, 2018 at 11:35 AM, Timothy Arceri wrote: On 31/05/18 19:26, Samuel Pitoiset wrote: On 05/31/2018 11:25 AM, Bas Nieuwenhuizen wrote: On Thu, May 31, 2018 at 11:13 AM, Samuel Pitoiset wrote: On 05/31/2018 01:55 AM, Timothy

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-31 Thread Bas Nieuwenhuizen
On Thu, May 31, 2018 at 11:35 AM, Timothy Arceri wrote: > > > On 31/05/18 19:26, Samuel Pitoiset wrote: >> >> >> >> On 05/31/2018 11:25 AM, Bas Nieuwenhuizen wrote: >>> >>> On Thu, May 31, 2018 at 11:13 AM, Samuel Pitoiset >>> wrote: On 05/31/2018 01:55 AM, Timothy Arceri

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-31 Thread Samuel Pitoiset
On 05/31/2018 11:35 AM, Timothy Arceri wrote: On 31/05/18 19:26, Samuel Pitoiset wrote: On 05/31/2018 11:25 AM, Bas Nieuwenhuizen wrote: On Thu, May 31, 2018 at 11:13 AM, Samuel Pitoiset wrote: On 05/31/2018 01:55 AM, Timothy Arceri wrote: On 31/05/18 03:06, Samuel Pitoiset wrote:

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-31 Thread Timothy Arceri
On 31/05/18 19:26, Samuel Pitoiset wrote: On 05/31/2018 11:25 AM, Bas Nieuwenhuizen wrote: On Thu, May 31, 2018 at 11:13 AM, Samuel Pitoiset wrote: On 05/31/2018 01:55 AM, Timothy Arceri wrote: On 31/05/18 03:06, Samuel Pitoiset wrote: Similar for max(). Signed-off-by: Samuel

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-31 Thread Samuel Pitoiset
On 05/31/2018 11:25 AM, Bas Nieuwenhuizen wrote: On Thu, May 31, 2018 at 11:13 AM, Samuel Pitoiset wrote: On 05/31/2018 01:55 AM, Timothy Arceri wrote: On 31/05/18 03:06, Samuel Pitoiset wrote: Similar for max(). Signed-off-by: Samuel Pitoiset --- src/compiler/nir/nir.h

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-31 Thread Bas Nieuwenhuizen
On Thu, May 31, 2018 at 11:13 AM, Samuel Pitoiset wrote: > > > On 05/31/2018 01:55 AM, Timothy Arceri wrote: >> >> On 31/05/18 03:06, Samuel Pitoiset wrote: >>> >>> Similar for max(). >>> >>> Signed-off-by: Samuel Pitoiset >>> --- >>> src/compiler/nir/nir.h| 3 +++ >>>

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-31 Thread Samuel Pitoiset
On 05/31/2018 01:55 AM, Timothy Arceri wrote: On 31/05/18 03:06, Samuel Pitoiset wrote: Similar for max(). Signed-off-by: Samuel Pitoiset ---   src/compiler/nir/nir.h    | 3 +++   src/compiler/nir/nir_opt_algebraic.py | 8   2 files changed, 11 insertions(+) diff --git

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-30 Thread Timothy Arceri
On 31/05/18 03:06, Samuel Pitoiset wrote: Similar for max(). Signed-off-by: Samuel Pitoiset --- src/compiler/nir/nir.h| 3 +++ src/compiler/nir/nir_opt_algebraic.py | 8 2 files changed, 11 insertions(+) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h

Re: [Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-30 Thread Bas Nieuwenhuizen
On Wed, May 30, 2018 at 7:06 PM, Samuel Pitoiset wrote: > Similar for max(). > > Signed-off-by: Samuel Pitoiset > --- > src/compiler/nir/nir.h| 3 +++ > src/compiler/nir/nir_opt_algebraic.py | 8 > 2 files changed, 11 insertions(+) > > diff --git

[Mesa-dev] [PATCH 1/2] nir: optimize min(min(a, b), c) to min3(a, b, c) under an option

2018-05-30 Thread Samuel Pitoiset
Similar for max(). Signed-off-by: Samuel Pitoiset --- src/compiler/nir/nir.h| 3 +++ src/compiler/nir/nir_opt_algebraic.py | 8 2 files changed, 11 insertions(+) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index f6086bd6c0..04991b7d04 100644 ---