<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Renderbuffer layered state used for framebuffer completeness test"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89026">89026</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Renderbuffer layered state used for framebuffer completeness test
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lankyleggy@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=113255" name="attach_113255" title="Patch">attachment 113255</a> <a href="attachment.cgi?id=113255&action=edit" title="Patch">[details]</a></span>
Patch

When binding a layered texture to a framebuffer, the framebuffer is marked as
layered. When a renderbuffer is bound to the same attachment point, it replaces
the texture, but mesa doesn't clear the layered state. When checking for
framebuffer completeness, the left over layered state is used, even though
renderbuffers don't have layered state. This can result in framebuffer
incompleteness with GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS when there are no
layered attachment points.

This occurs on the 10.4 branch at 54da987baec25fbaf6975c93f197ddbfe65a303c and
the master branch at 49299ef6fa0cf88e7101512400a4e74efa300941.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>