[Mesa-dev] [PATCH] st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 format

Marek Olšák maraeo at gmail.com
Sat Jul 17 13:50:28 PDT 2010


Hi,

the attached patch attempts to fix bogus reports of
GL_FRAMEBUFFER_UNSUPPORTED when there is a D24S8 texture attached as both
depth and stencil attachments. The problem is such a renderbuffer is of
GL_TEXTURE type which has not been handled properly in
st_validate_framebuffer.

The r300 classic driver doesn't have this issue, but it affects all Gallium
drivers. This feature appears to be mandatory in wine (Bug #29116). I've
also added a new piglit test for this: fbo-d24s8.

Please review.

Best regards.

-Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100717/387c70ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-st-mesa-fix-FRAMEBUFFER_UNSUPPORTED-with-the-D24S8-f.patch
Type: text/x-diff
Size: 2276 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100717/387c70ae/attachment.patch>


More information about the mesa-dev mailing list