PDA

View Full Version : ATI glBlitFramebuffEXT and GL_DEPTH24_STENCIL8_EXT



Schnulla
06-21-2010, 06:52 PM
I hope someone from the ATI driver developers will read this:

The following call to glBlitFramebuffer...

glBlitFramebufferEXT(0, 0, Width, Height, 0, 0, Width, Height, GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT, GL_NEAREST);
...does not copy the depth values if the depth buffer has
the format GL_DEPTH24_STENCIL8_EXT, the source buffer is
multisampled and the destination buffer is singlesampled.

A workaround is to call glBlitFramebufferEXT without the
GL_STENCIL_BUFFER_BIT although a packed depth stencil
renderbuffer is used (GL_DEPTH24_STENCIL8_EXT).

Here (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=279294#Post2792 94) is a full description.

This issue is only reproduceable on ATI Radeon HD 5850
with latest driver. I was not able to reproduce it on
ATI Mobility Radeon HD 3400 or NVidia 8800 GTS.

Alfonse Reinheart
06-21-2010, 07:13 PM
This issue is only reproduceable on ATI Radeon HD 5850
with latest driver.

What happens if you use the 3.0 core glBlitFramebuffer function?