Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS OpenGL ES Analyzer lists "Non-Existent Framebuffer Attachment" and "Missing Framebuffer Attachment", yet the FBO works

I'm using an OpenGL framebuffer object (FBO) to implement stencil shadows on iOS. The code works—that is, visually the stencil buffer is doing the job, and performance seems fine.

When I run the application through the OpenGL ES Analyzer instrument, however, it complains of a "Non-Existent Framebuffer Attachment" and "Missing Framebuffer Attachment." I can't make sense of these messages, since the FBO does have attachments for color, depth, and stencil. A call to glCheckFramebufferStatus() returns GL_FRAMEBUFFER_COMPLETE, indicating no problems.

Is this a bug in Instrument's OpenGL Analyzer?

See also this thread, which gives no answers, but raises the same issue.

like image 585
OldPeculier Avatar asked Nov 04 '22 00:11

OldPeculier


1 Answers

I finally got an answer from Apple on their Forums:

APPLE OFFICIAL REPLY

Thanks for reporting this bug. This is a known issue that is fixed in the Xcode 4.4 & 4.5 Developer Previews. Cheers, Seth.

like image 95
PeeS Avatar answered Nov 15 '22 12:11

PeeS