[Bug 91857] Mesa 10.6.3 linker is slow

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 4 03:26:28 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91857

Tapani Pälli <lemody at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #8 from Tapani Pälli <lemody at gmail.com> ---
Thanks for attaching the shader, will do some profiling on this later.

In case this is a 'real life' case and you are having problem with this: while
this all is 'legal', IMO it would make more sense to write multiple shaders for
different purposes and then minimize state changes by grouping the objects for
rendering pass (a lot of apps and games do this). This will likely result in
better performance on any given platform compared to a 'über-shader' approach.

What comes to 'apples and oranges' comparison, on Nvidia you will need to
measure without shader cache. According to documentation below you should
either remove '$HOME/.nv/GLCache' or export __GL_SHADER_DISK_CACHE=false before
measuring (don't know if these work because docs seem a bit old):

http://us.download.nvidia.com/XFree86/Linux-x86/319.32/README/openglenvvariables.html

Then the comparison should be more fair.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150904/20a9a612/attachment.html>


More information about the intel-3d-bugs mailing list