[Mesa-dev] A few NIR compile time optimisations

Timothy Arceri tarceri at itsqueeze.com
Wed Feb 13 12:16:04 UTC 2019


On 13/2/19 10:01 pm, Michel Dänzer wrote:
> On 2019-02-13 10:38 a.m., Timothy Arceri wrote:
>> On 13/2/19 8:26 pm, Connor Abbott wrote:
>>> Reviewed-by: Connor Abbott <cwabbott0 at gmail.com
>>> <mailto:cwabbott0 at gmail.com>>
>>>
>>> I'm a bit surprised it's that slow... do you have any idea what's
>>> going on? I've made flamegraphs in the past on i965 to see where most
>>> of the time is spent.
>>
>> Some shaders are actually faster, but things like the Deus Ex shaders
>> (and looks like especially the dolphin uber shaders are slower).
> 
> FWIW, a piglit gpu run also seems to take much longer with
> R600_DEBUG=nir than without, and from experience that's likely also due
> to shader compilation taking longer.
> 

Yeah it could also explain the lower min fps in the recent phoronix 
benchmarks.

Still work to be done :) but things seem to be on the right track.


More information about the mesa-dev mailing list