[Mesa-dev] A few NIR compile time optimisations
Michel Dänzer
michel at daenzer.net
Wed Feb 13 11:01:16 UTC 2019
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.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list