<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Torchlight: Texture renders as garbage"
href="https://bugs.freedesktop.org/show_bug.cgi?id=55817">55817</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Torchlight: Texture renders as garbage
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sa@whiz.se
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>The game Torchlight has a second problem with textures that seems related to
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Torchlight: crash due to texture error"
href="show_bug.cgi?id=55445">bug 55445</a> (non power of two textures).
With Mesa 8.0.4 a texture at a certain point in the game is not displayed at
all and GL_INVALID_OPERATION is reported.
With Mesa from git (or any version with the changes for <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Torchlight: crash due to texture error"
href="show_bug.cgi?id=55445">bug 55445</a>) part of the
texture is rendered, the rest is either black or rendered as garbage depending
on the driver.
It seems to have something to do with the mipmap level as zooming in closer
shows more of the texture.
I have created traces from the game with both 8.0.4 and git to make it easier
to reproduce this:
<a href="http://dl.dropbox.com/u/28577999/tl1-trace-80.trace">http://dl.dropbox.com/u/28577999/tl1-trace-80.trace</a> (127M)
<a href="http://dl.dropbox.com/u/28577999/tl1-trace-git.trace">http://dl.dropbox.com/u/28577999/tl1-trace-git.trace</a> (149M)
To properly replay these a patch is needed for glretrace:
<a href="http://lists.freedesktop.org/archives/apitrace/2012-August/000439.html">http://lists.freedesktop.org/archives/apitrace/2012-August/000439.html</a></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>