<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - dEQP-GLES3: line color interpolation does not have enough precision"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89649#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - dEQP-GLES3: line color interpolation does not have enough precision"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89649">bug 89649</a>
              from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
        <pre>Unfortunately, the HW doesn't give us a perpendicular barycentric coordinate so
we have no idea where we are in the line other than gl_FragCoord.xy.  The best
solution I've been able to come up with so far is to add an extra vec4 varying
out of the last geometry stage into the fragment shader which duplicates
gl_Position.  Then we can use that to find the slope of the line to determine
major/minor axis and, using gl_FragCoord.xy, manually calculate the point
vertical or horizontal and compute our own barycentrics.  Of course, we'll have
to have different math for perspective correct vs. not etc.  Oh, fun!</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>