<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [IVB/HSW] ogl-samples: gl-320-primitive-shading render error (missing all colors)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76394#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [IVB/HSW] ogl-samples: gl-320-primitive-shading render error (missing all colors)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76394">bug 76394</a>
              from <span class="vcard"><a class="email" href="mailto:itoral@igalia.com" title="Iago Toral <itoral@igalia.com>"> <span class="fn">Iago Toral</span></a>
</span></b>
        <pre>The problem is that the glsl compiler generates flat names for the fields in
these blocks that do not consider the instance name, so it produces a name like
block.Color for boths fields, leading to clashes.

Patch sent to the mailing list for review:
<a href="http://lists.freedesktop.org/archives/mesa-dev/2014-April/057202.html">http://lists.freedesktop.org/archives/mesa-dev/2014-April/057202.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>