Re: [Mesa-dev] [PATCH] nir/algebraic: Replace a-fract(a) with floor(a)

2019-02-25 Thread Ian Romanick
On 2/23/19 4:11 PM, Timothy Arceri wrote: > > > On 23/2/19 4:09 pm, Ian Romanick wrote: >> From: Ian Romanick >> >> I noticed this while looking at a shader that was affected by Tim's >> "more loop unrolling" series. >> >> All Gen6+ platforms had similar results. (Skylake shown) >> total

Re: [Mesa-dev] [PATCH] nir/algebraic: Replace a-fract(a) with floor(a)

2019-02-23 Thread Timothy Arceri
On 23/2/19 4:09 pm, Ian Romanick wrote: From: Ian Romanick I noticed this while looking at a shader that was affected by Tim's "more loop unrolling" series. All Gen6+ platforms had similar results. (Skylake shown) total instructions in shared programs: 15437001 -> 15435259 (-0.01%)

Re: [Mesa-dev] [PATCH] nir/algebraic: Replace a-fract(a) with floor(a)

2019-02-23 Thread Elie Tournier
That make me think that I have some algebraic patches too. Reviewed-by: Elie Tournier On Saturday, 23 February 2019, Ian Romanick wrote: > From: Ian Romanick > > I noticed this while looking at a shader that was affected by Tim's > "more loop unrolling" series. > > All Gen6+ platforms had

[Mesa-dev] [PATCH] nir/algebraic: Replace a-fract(a) with floor(a)

2019-02-22 Thread Ian Romanick
From: Ian Romanick I noticed this while looking at a shader that was affected by Tim's "more loop unrolling" series. All Gen6+ platforms had similar results. (Skylake shown) total instructions in shared programs: 15437001 -> 15435259 (-0.01%) instructions in affected programs: 213651 -> 211909