<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa 10.6.3 linker is slow"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91857">bug 91857</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEEDINFO
           </td>
           <td>NEW
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa 10.6.3 linker is slow"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91857#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa 10.6.3 linker is slow"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91857">bug 91857</a>
              from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
        <pre>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):

<a href="http://us.download.nvidia.com/XFree86/Linux-x86/319.32/README/openglenvvariables.html">http://us.download.nvidia.com/XFree86/Linux-x86/319.32/README/openglenvvariables.html</a>

Then the comparison should be more fair.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>