Stencil fbo attachments

Stefan Dösinger stefandoesinger at gmx.at
Wed Jul 18 05:07:58 CDT 2007


> 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).



More information about the wine-devel mailing list