Re: [Mesa-dev] [PATCH 07/10] nir: Add algebraic optimizations for pointless shifts.

2015-01-23 Thread Jason Ekstrand
On Thu, Jan 22, 2015 at 9:09 AM, Matt Turner wrote: > On Thu, Jan 22, 2015 at 3:41 AM, Kenneth Graunke > wrote: > > The GLSL IR optimization pass contained these; we may as well include > > them too. > > > > No change in the number of NIR instructions on a shader-db run. > > > > total i965 instr

Re: [Mesa-dev] [PATCH 07/10] nir: Add algebraic optimizations for pointless shifts.

2015-01-22 Thread Matt Turner
On Thu, Jan 22, 2015 at 3:41 AM, Kenneth Graunke wrote: > The GLSL IR optimization pass contained these; we may as well include > them too. > > No change in the number of NIR instructions on a shader-db run. > > total i965 instructions in shared programs: 6035397 -> 6035393 (-0.00%) > i965 instruc

[Mesa-dev] [PATCH 07/10] nir: Add algebraic optimizations for pointless shifts.

2015-01-22 Thread Kenneth Graunke
The GLSL IR optimization pass contained these; we may as well include them too. No change in the number of NIR instructions on a shader-db run. total i965 instructions in shared programs: 6035397 -> 6035393 (-0.00%) i965 instructions in affected programs: 772 -> 768 (-0.52%) helped: