[Mesa-dev] [Bug 30102] glean depthStencil test fails BadLength with indirect non-swrast rendering
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Sep 9 06:13:15 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=30102
--- Comment #1 from Jon TURNEY <jon.turney at dronecode.org.uk> 2010-09-09 06:13:16 PDT ---
Created an attachment (id=38578)
View: https://bugs.freedesktop.org/attachment.cgi?id=38578
Review: https://bugs.freedesktop.org/review?bug=30102&attachment=38578
Have __glImageSize handle format GL_DEPTH_STENCIL_NV the same way as the server
does
This failure occurs when testing that glDrawPixels with format
GL_DEPTH_STENCIL_EXT generates an GL_INVALID_ENUM.
It appears that there is a mismatch between the client and server over the size
of the image data in the GLX request: X server glx/rensize.c handles
GL_DEPTH_STENCIL(|_NV|_EXT), whereas mesa GLX src/glx/compsize.c ignores it and
returns an image size of 0.
Attached patch to mesa resolves that mismatch, allowing the test to
successfully execute.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list