<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:eero.t.tamminen@intel.com" title="Eero Tamminen <eero.t.tamminen@intel.com>"> <span class="fn">Eero Tamminen</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Regression: GLB 2.7 & Glmark-2 segfault due to linker precision error (259fc505) on dead variable"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97532">bug 97532</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;">Summary</td>
           <td>Regression: GLB 2.7 segfaults due to bogus linker precision error (259fc505) on dead variable
           </td>
           <td>Regression: GLB 2.7 & Glmark-2 segfault due to linker precision error (259fc505) on dead variable
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Regression: GLB 2.7 & Glmark-2 segfault due to linker precision error (259fc505) on dead variable"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97532#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Regression: GLB 2.7 & Glmark-2 segfault due to linker precision error (259fc505) on dead variable"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97532">bug 97532</a>
              from <span class="vcard"><a class="email" href="mailto:eero.t.tamminen@intel.com" title="Eero Tamminen <eero.t.tamminen@intel.com>"> <span class="fn">Eero Tamminen</span></a>
</span></b>
        <pre>Glmark2 GLES version in latest Ubuntu (16.04) also segfaults to this in
following subtests:
- ideas (modelview uniform declared also in FS but not used)
- jellyfish (uCurrentTime uniform used both in VS & FS)
- terrain (viewMatrix uniform declared also in FS but not used)

For example:
-------------------------
$ apt-get install glmark2-es2
$ glmark2-es2 -b terrain
...
Error: Failed to link program created from files None and None:  error:
declarations for uniform `viewMatrix` have mismatching precision qualifiers
Segmentation fault (core dumped)
-------------------------

Like GLB, it's GLES v2 program.

Ideas & terrain can be run by fixing Tapani's patch to check whether uniform is
unused in either of the stages (not just VS), but jellyfish test is using the
uniform in both stages with different precision, so it has a real bug (which
might show on backends that implement FP16 support).


Glmark2 is open source so it can be (eventually) fixed:
  <a href="https://github.com/glmark2/glmark2">https://github.com/glmark2/glmark2</a>

But I don't think this and GLB are the only GLES 2.x programs with the problem.</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>