<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - GLSL compiler ignores layout(binding=N) on uniform blocks"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76323#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - GLSL compiler ignores layout(binding=N) on uniform blocks"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76323">bug 76323</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>Created <span class=""><a href="attachment.cgi?id=96816" name="attach_96816" title="Patch that fixes part of the problem">attachment 96816</a> <a href="attachment.cgi?id=96816&action=edit" title="Patch that fixes part of the problem">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=76323&attachment=96816'>[review]</a>
Patch that fixes part of the problem

Let me know if this patch helps.  It's not complete, but it should make your
test case work.

I have also sent a test case to the piglit mailing list that reproduces a
couple issues in this area:
<a href="http://lists.freedesktop.org/archives/piglit/2014-April/010176.html">http://lists.freedesktop.org/archives/piglit/2014-April/010176.html</a></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>