<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - glGetFramebufferAttachmentParameteriv failing if certain FB attributes are zero"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90162#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - glGetFramebufferAttachmentParameteriv failing if certain FB attributes are zero"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90162">bug 90162</a>
              from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
        <pre>(In reply to Martina Kollarova from <a href="show_bug.cgi?id=90162#c7">comment #7</a>)
<span class="quote">> >    glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT,
> >        GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &type);

> This query generated a GL_INVALID_ENUM for me.</span >

Yep, like stated in <a href="show_bug.cgi?id=90162#c6">comment #6</a>, that seems to be broken. I'm attaching here a
patch to make it work in case you have Mesa from git repository to try. I will
send this patch later to mesa-dev after some careful spec investigation and
testing.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>