Re: [Mesa-dev] [PATCH 4/5] i965/gs: Use new NIR intrinsics.

2015-09-08 Thread Kenneth Graunke
On Monday, September 07, 2015 11:06:54 AM Jason Ekstrand wrote: > On Thu, Sep 3, 2015 at 1:48 AM, Kenneth Graunke wrote: > > By performing the vertex counting in NIR, we're able to elide a ton of > > useless safety checks around every EmitVertex() call: > > > > total instructions in shared program

Re: [Mesa-dev] [PATCH 4/5] i965/gs: Use new NIR intrinsics.

2015-09-07 Thread Jason Ekstrand
On Mon, Sep 7, 2015 at 11:06 AM, Jason Ekstrand wrote: > On Thu, Sep 3, 2015 at 1:48 AM, Kenneth Graunke wrote: >> By performing the vertex counting in NIR, we're able to elide a ton of >> useless safety checks around every EmitVertex() call: >> >> total instructions in shared programs: 3952 -> 3

Re: [Mesa-dev] [PATCH 4/5] i965/gs: Use new NIR intrinsics.

2015-09-07 Thread Jason Ekstrand
On Thu, Sep 3, 2015 at 1:48 AM, Kenneth Graunke wrote: > By performing the vertex counting in NIR, we're able to elide a ton of > useless safety checks around every EmitVertex() call: > > total instructions in shared programs: 3952 -> 3720 (-5.87%) > instructions in affected programs: 3491 ->

[Mesa-dev] [PATCH 4/5] i965/gs: Use new NIR intrinsics.

2015-09-03 Thread Kenneth Graunke
By performing the vertex counting in NIR, we're able to elide a ton of useless safety checks around every EmitVertex() call: total instructions in shared programs: 3952 -> 3720 (-5.87%) instructions in affected programs: 3491 -> 3259 (-6.65%) helped:11 HURT: