<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 --- - Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76919">76919</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)
          </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>bugspam@moreofthesa.me.uk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/r600
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=96745" name="attach_96745" title="Example image (with mipmaps), the height of which triggers the problem">attachment 96745</a> <a href="attachment.cgi?id=96745&action=edit" title="Example image (with mipmaps), the height of which triggers the problem">[details]</a></span>
Example image (with mipmaps), the height of which triggers the problem

There seems to be a problem with some compressed textures. When the height of
the image (more specifically, of the mipmap level used) is not a multiple of 4,
it appears that the bottom part of the image – as rendered – contains random
junk, apparently set at image load time.

The example image will show the problem at its original size. I've also played
with its height (initially 570px): increasing it to a multiple of 4 would
remove the problem if it's rendered using the full-size version, but since when
reduced by one level the height is again not a multiple of 4, the problem
re-appears. Setting the full-size height to 576px moves the problem down
further.

(We're using <a href="http://crunch.googlecode.com/svn/trunk/">http://crunch.googlecode.com/svn/trunk/</a> for image
(de)compression.)</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>