<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Noise in Football Manager 2014 textures"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86747#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Noise in Football Manager 2014 textures"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86747">bug 86747</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>Tapani pointed at <a class="bz_bug_link
bz_status_NEW "
title="NEW - Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)"
href="show_bug.cgi?id=76919">bug 76919</a> where he commented that:
---------------
EXT_texture_compression_s3tc specification states in "Implementation Note":
"If the width or height is not a multiple of four, there will be 4x4 blocks at
the edge of the image that contain "extra" texels that are not part of the
image."
---------------
When looking more at FM DXT texture sizes, at level 0, all are multiples of
four. Higher mipmap levels are not, some aren't even square, so there are
things like these...
16 x 128:
6184235 glCompressedTexImage2DARB(target = GL_TEXTURE_2D, level = 3,
internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, width = 2, height = 16,
border = 0, imageSize = 32, data = blob(32))
6184236 glCompressedTexImage2DARB(target = GL_TEXTURE_2D, level = 4,
internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, width = 1, height = 8,
border = 0, imageSize = 16, data = blob(16))
6184237 glCompressedTexImage2DARB(target = GL_TEXTURE_2D, level = 5,
internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, width = 1, height = 4,
border = 0, imageSize = 8, data = blob(8))
6184238 glCompressedTexImage2DARB(target = GL_TEXTURE_2D, level = 6,
internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, width = 1, height = 2,
border = 0, imageSize = 8, data = blob(8))
256 x 32:
6184472 glCompressedTexImage2DARB(target = GL_TEXTURE_2D, level = 4,
internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, width = 16, height = 2,
border = 0, imageSize = 32, data = blob(32))
6184473 glCompressedTexImage2DARB(target = GL_TEXTURE_2D, level = 5,
internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, width = 8, height = 1,
border = 0, imageSize = 16, data = blob(16))
6184474 glCompressedTexImage2DARB(target = GL_TEXTURE_2D, level = 6,
internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, width = 4, height = 1,
border = 0, imageSize = 8, data = blob(8))
6184475 glCompressedTexImage2DARB(target = GL_TEXTURE_2D, level = 7,
internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, width = 2, height = 1,
border = 0, imageSize = 8, data = blob(8))</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>