Re: [Mesa-dev] [PATCH 0/2][RFC] Rework how glsl runs optimization passes

2016-11-13 Thread Matt Turner
On Sat, Nov 12, 2016 at 5:29 PM, Thomas Helland wrote: > After looking into how optimization passes are run, it became apparent > that most glsl optimization passes only show benefit of one run. > My idea was that some optimization passes will snowball on each other, > while others that provide no

[Mesa-dev] [PATCH 0/2][RFC] Rework how glsl runs optimization passes

2016-11-12 Thread Thomas Helland
After looking into how optimization passes are run, it became apparent that most glsl optimization passes only show benefit of one run. My idea was that some optimization passes will snowball on each other, while others that provide no initial benefit probably never will. Therefore, rework so that