<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - dEQP-GLES31.functional.shaders.linkage.uniform.block.differing_precision regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104668#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - dEQP-GLES31.functional.shaders.linkage.uniform.block.differing_precision regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104668">bug 104668</a>
              from <span class="vcard"><a class="email" href="mailto:jasuarez@igalia.com" title="Juan A. Suarez <jasuarez@igalia.com>"> <span class="fn">Juan A. Suarez</span></a>
</span></b>
        <pre>The problem is related with precision qualifiers.

In the offending commit, I was using get_interface_type() to check if two
members with the same name belongs to the same block. If not, then we are
breaking the spec.

The thing is that when we have two equal blocks, just with different precision
qualifiers, like:

In VS: uniform Data { highp float a };
In FS: uniform Data { mediump float a };


get_interface_type() return different values, and thus we return an error
because we assume that we have the same variable name in two different blocks.


But according to GLES spec, the precision qualifier is ignored to determine if
two storge blocks are the same or not. That is, in the above case both uniform
blocks are the same.

So here either get_interface_type() should return the same value, or work as it
is and perform a check to ignore the type.</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>