Re: [Mesa-dev] [PATCH 8/8] i965: Remove redundant discard jumps.

2015-02-24 Thread Kenneth Graunke
On Tuesday, February 24, 2015 12:20:08 PM Eric Anholt wrote: > Kenneth Graunke writes: > > > With the previous optimization in place, some shaders wind up with > > multiple discard jumps in a row, or jumps directly to the next > > instruction. We can remove those. > > > > Without NIR on Haswell:

Re: [Mesa-dev] [PATCH 8/8] i965: Remove redundant discard jumps.

2015-02-24 Thread Matt Turner
On Tue, Feb 24, 2015 at 2:19 AM, Kenneth Graunke wrote: > With the previous optimization in place, some shaders wind up with > multiple discard jumps in a row, or jumps directly to the next > instruction. We can remove those. > > Without NIR on Haswell: > total instructions in shared programs: 57

Re: [Mesa-dev] [PATCH 8/8] i965: Remove redundant discard jumps.

2015-02-24 Thread Eric Anholt
Kenneth Graunke writes: > With the previous optimization in place, some shaders wind up with > multiple discard jumps in a row, or jumps directly to the next > instruction. We can remove those. > > Without NIR on Haswell: > total instructions in shared programs: 5777258 -> 5775872 (-0.02%) > ins