Stencil fbo attachments

H. Verbeet hverbeet at
Wed Jul 18 05:34:05 CDT 2007

On 18/07/07, Stefan Dösinger <stefandoesinger at> wrote:
> > Setting the stencil attachment isn't very hard. The problem is that we
> > currently can't do much with extensions in the texture format table,
> > and that we can't detect whether we should attach / detach the stencil
> > attachment. (Except for checking the surface format in
> > set_depth_stencil_fbo, but that's ugly.)
> > That won't work on any current card, afaik. Depth and stencil
> > attachments have to be the same texture on current cards.
> Does that affect only texture attachments, or even renderbuffers? The sample
> code in GL_EXT_framebuffer_object uses two different renderbuffers for depth
> and stencil. If even render buffers do not work we're screwed on fglrx(not
> that this would be news).
Renderbuffers might be ok, but I'm not completely sure.

More information about the wine-devel mailing list