<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [HSW/BSW/BDW/SKL] Google Earth is not resolving all the details in the map correctly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100925#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [HSW/BSW/BDW/SKL] Google Earth is not resolving all the details in the map correctly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100925">bug 100925</a>
              from <span class="vcard"><a class="email" href="mailto:gary.c.wang@intel.com" title="Gary Wang <gary.c.wang@intel.com>"> <span class="fn">Gary Wang</span></a>
</span></b>
        <pre>(In reply to Tapani Pälli from <a href="show_bug.cgi?id=100925#c9">comment #9</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=131258" name="attach_131258" title="workaround">attachment 131258</a> <a href="attachment.cgi?id=131258&action=edit" title="workaround">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=100925&attachment=131258'>[review]</a> [review]
> workaround

> I did see these same/similar artifacts (like compression errors) also on
> nvidia but very faintly so started to look if this was about alpha and that
> seems the case. Not sure what the real fix is yet though.</span >

Yes, you are right. I also test it by GL_COMPRESSED_RGBA_S3TC_DXT1_EXT for
compressed texture in glCompressedTexImage2D().

diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 1a00d25..9f9ffd6 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -2724,6 +2724,8 @@ override_internal_format(GLenum internalFormat, GLint
width, GLint height)
       return internalFormat;
    }
 #else
+   if (internalFormat == GL_COMPRESSED_RGB_S3TC_DXT1_EXT)
+      internalFormat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT;
    return internalFormat;
 #endif
 }</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>