[Mesa-dev] [Bug 55817] Torchlight: Texture renders as garbage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 10 11:40:10 PDT 2012


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

--- Comment #3 from Brian Paul <brian.e.paul at gmail.com> ---
I'm assuming you're still using "Gallium 0.4 on AMD JUNIPER".

It looks like the error in 8.0.4 is coming from a
glCompressedTexImage2D(internalFormat=GL_COMPRESSED_RGBA_S3TC_DXT1_EXT,
width=511, height=256) call since width=511 is not a multiple of the block
size.

That error check has been removed from Mesa 9.0 and later but I don't think
this is the cause of the rendering issue since it appears that the texture in
question is never actually used during drawing (at least for as far as your
trace recorded).  Plus, the compressed image is all zeros.

I think the rendering problem is something else.  Perhaps you can use qapitrace
to dig into the trace a bit further and find the bad texture when it's drawn.

-- 
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/mesa-dev/attachments/20121010/89a89e26/attachment.html>


More information about the mesa-dev mailing list