<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Mesa crash on shaders that have large number of active uniforms."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71254#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Mesa crash on shaders that have large number of active uniforms."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71254">bug 71254</a>
              from <span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span></b>
        <pre>It appears the problem is that MAX_UNIFORMS is 4096.  We treat MAX_UNIFORMS as
meaning "maximum number of uniform vec4s," so the maximum number of uniform
components is 16k... which means you can legally have 16k uniform variables. 
At least some of our tables are sides for 4k uniform variables.

I suspect the fix may be as easy as adding '* 4' to all (or at least most) of
the places that use MAX_UNIFORMS to size arrays.

Perhaps one of the guys more familiar with the back-end will have a thought on
that.</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>