Summary: | Random junk at the bottom of non-multiple-of-4 compressed textures (original or mipmapped) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Darren Salt <bugspam> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | eero.t.tamminen, lemody |
Version: | 10.1 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Example image (with mipmaps), the height of which triggers the problem |
Description
Darren Salt
2014-04-01 20:07:47 UTC
I don't know details of the problem here but I got interested and went to read the spec .. EXT_texture_compression_s3tc specification states in "Implementation Note": "If the width or height is not a multiple of four, there will be 4x4 blocks at the edge of the image that contain "extra" texels that are not part of the image." I'm not sure though what should happen if one samples/reads such texel. I'm not sure either, but I'd (naïvely) expect the image height not being a multiple of 4 not to matter. Turns out that the bug also affects the right edges of textures. (Evergreen, in case there's something hardware-specific about this.) Are you able to reproduce this bug with simple program using a standard dds file? If this is possible, please attach such example. Bug 86747 (on Intel GPU) could also be due to DXT texture mipmap levels not being multiple of 4. please attach a test case -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/503. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.