Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-11 Thread Connor Abbott
On Wed, Feb 11, 2015 at 3:17 PM, Eric Anholt wrote: > Connor Abbott writes: > >> On Wed, Feb 11, 2015 at 2:36 PM, Eric Anholt wrote: >>> Connor Abbott writes: >>> On Tue, Feb 10, 2015 at 1:32 PM, Eric Anholt wrote: > Connor Abbott writes: > >> On Sat, Feb 7, 2015 at 12:16 AM,

Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-11 Thread Eric Anholt
Connor Abbott writes: > On Wed, Feb 11, 2015 at 2:36 PM, Eric Anholt wrote: >> Connor Abbott writes: >> >>> On Tue, Feb 10, 2015 at 1:32 PM, Eric Anholt wrote: Connor Abbott writes: > On Sat, Feb 7, 2015 at 12:16 AM, Eric Anholt wrote: >> NIR instruction count results on i9

Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-11 Thread Connor Abbott
On Wed, Feb 11, 2015 at 2:36 PM, Eric Anholt wrote: > Connor Abbott writes: > >> On Tue, Feb 10, 2015 at 1:32 PM, Eric Anholt wrote: >>> Connor Abbott writes: >>> On Sat, Feb 7, 2015 at 12:16 AM, Eric Anholt wrote: > NIR instruction count results on i965: > total instructions in s

Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-11 Thread Eric Anholt
Connor Abbott writes: > On Tue, Feb 10, 2015 at 1:32 PM, Eric Anholt wrote: >> Connor Abbott writes: >> >>> On Sat, Feb 7, 2015 at 12:16 AM, Eric Anholt wrote: NIR instruction count results on i965: total instructions in shared programs: 1261954 -> 1261937 (-0.00%) instructions

Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-11 Thread Kenneth Graunke
On Friday, February 06, 2015 09:16:44 PM Eric Anholt wrote: > NIR instruction count results on i965: > total instructions in shared programs: 1261954 -> 1261937 (-0.00%) > instructions in affected programs: 455 -> 438 (-3.74%) > > One in yofrankie, two in tropics. Apparently i965 had also opt

Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-10 Thread Connor Abbott
On Tue, Feb 10, 2015 at 1:32 PM, Eric Anholt wrote: > Connor Abbott writes: > >> On Sat, Feb 7, 2015 at 12:16 AM, Eric Anholt wrote: >>> NIR instruction count results on i965: >>> total instructions in shared programs: 1261954 -> 1261937 (-0.00%) >>> instructions in affected programs: 455 ->

Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-10 Thread Jason Ekstrand
On Tue, Feb 10, 2015 at 10:32 AM, Eric Anholt wrote: > Connor Abbott writes: > > > On Sat, Feb 7, 2015 at 12:16 AM, Eric Anholt wrote: > >> NIR instruction count results on i965: > >> total instructions in shared programs: 1261954 -> 1261937 (-0.00%) > >> instructions in affected programs:

Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-10 Thread Eric Anholt
Connor Abbott writes: > On Sat, Feb 7, 2015 at 12:16 AM, Eric Anholt wrote: >> NIR instruction count results on i965: >> total instructions in shared programs: 1261954 -> 1261937 (-0.00%) >> instructions in affected programs: 455 -> 438 (-3.74%) >> >> One in yofrankie, two in tropics. Appar

Re: [Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-06 Thread Connor Abbott
On Sat, Feb 7, 2015 at 12:16 AM, Eric Anholt wrote: > NIR instruction count results on i965: > total instructions in shared programs: 1261954 -> 1261937 (-0.00%) > instructions in affected programs: 455 -> 438 (-3.74%) > > One in yofrankie, two in tropics. Apparently i965 had also optimized a

[Mesa-dev] [PATCH 1/3] nir: Add support for CSE on textures.

2015-02-06 Thread Eric Anholt
NIR instruction count results on i965: total instructions in shared programs: 1261954 -> 1261937 (-0.00%) instructions in affected programs: 455 -> 438 (-3.74%) One in yofrankie, two in tropics. Apparently i965 had also optimized all of these out anyway. --- src/glsl/nir/nir_opt_cse.c | 43 +