[Mesa-dev] [Bug 30993] getFramebufferAttachmentParameteriv wrongly generates error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 19 17:03:00 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30993

Ian Romanick <idr at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |

--- Comment #4 from Ian Romanick <idr at freedesktop.org> 2010-10-19 17:03:00 PDT ---
(In reply to comment #3)
> I looked at the GL_ARB_fbo spec too, but the GL 3.3 spec says (page 276):
> 
> """If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, no
> framebuffer is bound to target. In this case querying pname FRAMEBUFFER_-
> ATTACHMENT_OBJECT_NAME will return zero, and all other queries will generate
> an INVALID_OPERATION error.
> """
> 
> Though I guess since we don't yet support GL 3.3 the code is OK as-is.

ARG!  The same language is in the 3.0 spec, and GL_ARB_framebuffer_objects is
supposed to match 3.0.  It seems we've found a spec bug.  I've submitted a bug
against the GL_ARB_framebuffer_objects spec.

I've also added piglit test fbo-getframebufferattachmentparameter-01 the
reproduces this bug and another similar bug.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list