<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - glTexImage2D regression by texstore_rgba switch to _mesa_format_convert"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89068#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - glTexImage2D regression by texstore_rgba switch to _mesa_format_convert"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89068">bug 89068</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>(In reply to Iago Toral from <a href="show_bug.cgi?id=89068#c7">comment #7</a>)
<span class="quote">> After testing with a binary provided by the reporter and comparing with the
> old code it looks like the problem comes from the fact that they are using
> transferOps for color scaling (which is effectively scaling 50% alpha values
> to 100%)... and we are not dealing with that in texstore_rgba.

> If we need to apply transferOps (we can call
> _mesa_texstore_needs_transfer_ops to check this) then we have to convert
> from the src format to RGBA_FLOAT, so we can call calling
> mesa_apply_rgba_transfer_ops(), then convert the result from RGBA_FLOAT to
> the dst format...

> I think we should do this after we have handled swaping scenarios and before
> the current call to _mesa_format_convert.</span >

Sound good to me.  I'm kind of surprised piglit didn't catch that.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>