Mesa 10.6.3 GLSL linker is slow

Clive McCarthy <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Organization FourteenthStreetStudio
Message-ID <[email protected]>
I am finding something very strange with the with the
Mesa 10.6.3 GLSL linker.

Compiling my GLSL code takes 63 ms but
linking it takes a massive 90,000
ms ! Yes, that's a minute and a half. The shader code then works
just fine, but what the hell is the Mesa linker doing? I
gather that the linking stage is more complex than traditional C
code linking because certain error messages, that one might expect
from the compiler, are emitted by the linker.

On another platform, using the same program
and the same GLSL code, but the Nvidia 346.47 driver, compiling
takes 30 ms and linking takes 12 ms.

I'm most grateful that there is a Mesa compiler otherwise
I wouldn't be able to use a Haswell processor with Linux. But this
is an anomaly.

Clive.

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.