<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:nanleychery@gmail.com" title="Nanley Chery <nanleychery@gmail.com>"> <span class="fn">Nanley Chery</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - [SKL] ES2-CTS.gtf.GL2ExtensionTests.compressed_astc_texture.compressed_astc_texture fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92193">bug 92193</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>ASSIGNED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - [SKL] ES2-CTS.gtf.GL2ExtensionTests.compressed_astc_texture.compressed_astc_texture fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92193#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - [SKL] ES2-CTS.gtf.GL2ExtensionTests.compressed_astc_texture.compressed_astc_texture fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92193">bug 92193</a>
from <span class="vcard"><a class="email" href="mailto:nanleychery@gmail.com" title="Nanley Chery <nanleychery@gmail.com>"> <span class="fn">Nanley Chery</span></a>
</span></b>
<pre>Looks like there's a bug in the CTS. It looks for the ASTC formats in the list
returned by glGetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, ...). As mentioned in
spec, the ASTC format enums won't be returned by this function:
Interactions with OpenGL 4.2
OpenGL 4.2 supports the feature that compressed textures can be
compressed online, by passing the compressed texture format enum as
the internal format when uploading a texture using TexImage1D,
TexImage2D or TexImage3D (see Section 3.9.3, Texture Image
Specification, subsection Encoding of Special Internal Formats).
Due to the complexity of the ASTC compression algorithm, it is not
usually suitable for online use, and therefore ASTC support will be
limited to pre-compressed textures only. Where on-device compression
is required, a domain-specific limited compressor will typically
be used, and this is therefore not suitable for implementation in
the driver.
In particular, the ASTC format specifiers will not be added to
Table 3.14, and thus will not be accepted by the TexImage*D
functions, and will not be returned by the (already deprecated)
COMPRESSED_TEXTURE_FORMATS query.
I'll send a patch upstream to fix this. Should I take any further steps?</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>