Render to depth texture with EXT_framebuffer_object

wumpus said:
It crashes with a segmentation fault inside the driver when unbinding the framebuffer if the format is unsupported, for example GL_LUMINANCE8 or GL_LUMINANCE16. The extension document says that trying out formats to see wether they are supported is the way to go.

This happens with Catalyst 5.7. It works fine with NVIdia. Help!

Luminance formats are not valid for FBO rendering. The spec says that only RGB and RGBA internal formats are valid. It's a bit stupid, but that's how it was speced. I think one and two channel formats will be added in later specs/core though. Either way, it should still not crash. Do you have a repro app you could send me (epersson 'at' ati.com)?
 
Back
Top