[Bug 91993] Graphical glitch in Astromenace (open-source game).

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 21 10:22:44 PDT 2015


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

--- Comment #16 from Nicolai Hähnle <nhaehnle at gmail.com> ---
The bug is caused by the combination of a (technically correct, but
unintentional) off-by-one problem in AstroMenace with a bug in the Mesa state
tracker.

(Old versions of) AstroMenace use glTexStorage2D to create a texture with an
incomplete mipmap pyramid (the 1x1 level is missing). This pyramid is not
honored by the state tracker's implementation of glGenerateMipmap, which
results in various broken textures.

Current versions of AstroMenace no longer have the off-by-one problem, which is
why Marek could not reproduce the bug.

I'm working on a Piglit test and Mesa patch to fix the bug on our side.

-- 
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/20151021/eeb1eff7/attachment.html>


More information about the dri-devel mailing list