[Bug 76919] New: Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 1 13:07:47 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76919

          Priority: medium
            Bug ID: 76919
          Assignee: dri-devel at lists.freedesktop.org
           Summary: Random junk at the bottom of non-multiple-of-4
                    compressed textures (original or mipmapped)
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: bugspam at moreofthesa.me.uk
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Drivers/Gallium/r600
           Product: Mesa

Created attachment 96745
  --> https://bugs.freedesktop.org/attachment.cgi?id=96745&action=edit
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 http://crunch.googlecode.com/svn/trunk/ for image
(de)compression.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140401/cf3d427c/attachment.html>


More information about the dri-devel mailing list