<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Text rendering problems on Dota 2, all mesa drivers"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66833">bug 66833</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;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTOURBUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Text rendering problems on Dota 2, all mesa drivers"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66833#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Text rendering problems on Dota 2, all mesa drivers"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66833">bug 66833</a>
              from <span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=66833#c9">comment #9</a>)
<span class="quote">> I just tried to change the source of shaders 498, 500 and 502 to use the red
> channel instead of alpha channel, and it confirms my reasoning. This is how
> it looks:</span >

Thanks for the analysis!

<span class="quote">> <a href="https://dl.dropboxusercontent.com/u/87650/dota_linux.225278.trim.trace">https://dl.dropboxusercontent.com/u/87650/dota_linux.225278.trim.trace</a>.
> edited_call_180410-1_0.png</span >

The other way to deal with GL_ALPHA being removed:

    glTexImage2D(GL_TEXTURE_2D, 0, GL_RED, w, h, 0, GL_RED,
                 GL_UNSIGNED_BYTE, pixels);
    glTexParamateri(GL_TEXTURE_2D,
                    GL_TEXTURE_SWIZZLE_R,
                    GL_ZERO);
    glTexParamateri(GL_TEXTURE_2D,
                    GL_TEXTURE_SWIZZLE_G,
                    GL_ZERO);
    glTexParamateri(GL_TEXTURE_2D,
                    GL_TEXTURE_SWIZZLE_B,
                    GL_ZERO);
    glTexParamateri(GL_TEXTURE_2D,
                    GL_TEXTURE_SWIZZLE_A,
                    GL_RED);

That will make it behave identically (for texturing) to an old GL_ALPHA
texture.

I'm going to close this as NOTOURBUG and work with Valve to get this resolved
in Dota 2.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>