<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:estea@igalia.com" title="Eleni Maria Stea <estea@igalia.com>"> <span class="fn">Eleni Maria Stea</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [SNB IVB HSW] ETC2 textures are not returned as compressed images"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81843">bug 81843</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;">CC</td>
<td>
</td>
<td>estea@igalia.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [SNB IVB HSW] ETC2 textures are not returned as compressed images"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81843#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [SNB IVB HSW] ETC2 textures are not returned as compressed images"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81843">bug 81843</a>
from <span class="vcard"><a class="email" href="mailto:estea@igalia.com" title="Eleni Maria Stea <estea@igalia.com>"> <span class="fn">Eleni Maria Stea</span></a>
</span></b>
<pre>Hi, yes that's normal, I am sorry :) I forgot I had pasted the link in this bug
report and modified the test...
So, new instructions:
git clone <a href="https://github.com/hikiko/test-compression.git">https://github.com/hikiko/test-compression.git</a>
cd to the directory run make and
./test compressed/full.tex
you should see some mipmaps (it tests that we can create and display all the
levels).
<a href="https://eleni.mutantstargoat.com/hikiko/wp-content/uploads/2019/02/mipmaptest.png">https://eleni.mutantstargoat.com/hikiko/wp-content/uploads/2019/02/mipmaptest.png</a>
Then if you want to run the original test you have to checkout a previous
commit:
git checkout a76e52b12bf54efdeb95b7f6d8ecfdcec0ab81ae
make
./test compressed_texture
./test compressed_texture -subtest
./test compressed_texture -copytest
the first checks GetCompressedTexImage you should see a texture and a message
that submitted and retrieved data match.
<a href="https://eleni.mutantstargoat.com/hikiko/wp-content/uploads/2019/02/test.png">https://eleni.mutantstargoat.com/hikiko/wp-content/uploads/2019/02/test.png</a>
the second checks the GetCompressedTextureSubImage you should see the previous
texture and a red quad overwriting a region in the upper left corner + same
message
<a href="https://eleni.mutantstargoat.com/hikiko/wp-content/uploads/2019/02/sub-combined.png">https://eleni.mutantstargoat.com/hikiko/wp-content/uploads/2019/02/sub-combined.png</a>
and the third tests the CopyImageSubData and you should see a yellow quad where
you would see the red before..
<a href="https://eleni.mutantstargoat.com/hikiko/wp-content/uploads/2019/02/copy-combined.png">https://eleni.mutantstargoat.com/hikiko/wp-content/uploads/2019/02/copy-combined.png</a>
I hope that with these instructions you can run it, sorry that I modified it!
:)</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>