[Bug 74769] [i965 Bisected]Piglit spec_EXT_texture_array_gen-mipmap fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 10 08:13:58 PST 2014


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

Ian Romanick <idr at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal
           Priority|high                        |medium

--- Comment #3 from Ian Romanick <idr at freedesktop.org> ---
Looking at the test, it's fairly terrible.  It sets a texture to all white,
generates mipmap levels, then checks the results.  The problem is that it's
possible to get all white as a result by luck.  Previous to 2bf4db1697, the
test was getting a GL error (as predicted) generated inside meta.

The test needs some changes.  Specifically, I think a more interesting texture
needs to be used.  Since this test involves texture compression and other
things that make predicting the exact result difficult, the result of
compressing the array texture should be compared with the result of compressing
a regular GL_TEXTURE_2D.  The updated test would create two textures, one
GL_TEXTURE_2D_ARRAY and one GL_TEXTURE_2D.  Send the same texture (perhaps the
RGBW texture) to both with the same internalFormat.  Call glGenerateMipmaps and
glGetTexImage on both.  Each should give the same results.

At a minimum, the test should check that glGenerateMipmaps doesn't generate a
GL error.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140210/bc389c46/attachment.html>


More information about the intel-3d-bugs mailing list