Re: [Mesa-dev] NIR function inlining for faster compile times

2018-04-11 Thread Timothy Arceri
On 12/04/18 09:36, Ian Romanick wrote: Are we still calculating limits (that affect whether or not a shader can successfully link) after only doing GLSL optimizations? I'm worried that making a pretty big change to the optimization path is going to break some app on (most likely) an older piece

Re: [Mesa-dev] NIR function inlining for faster compile times

2018-04-11 Thread Ian Romanick
Are we still calculating limits (that affect whether or not a shader can successfully link) after only doing GLSL optimizations? I'm worried that making a pretty big change to the optimization path is going to break some app on (most likely) an older piece of hardware because the linker will now

[Mesa-dev] NIR function inlining for faster compile times

2018-04-09 Thread Timothy Arceri
This series is part of an effort to reduce the regression in compile times when switching radeonsi from TGIS -> NIR. But it also turns out to be quite handy for i965 too. The idea is to make better use of GLSLOptimizeConservatively. Currently TGSI must ignore the flag until all functions have