<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Stencil blits from targets other than GL_TEXTURE_2D or GL_TEXTURE_2D_MULTISAMPLE are probably broken"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93704#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Stencil blits from targets other than GL_TEXTURE_2D or GL_TEXTURE_2D_MULTISAMPLE are probably broken"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93704">bug 93704</a>
              from <span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span></b>
        <pre>Looking back at the GIT history, it appears that GL_TEXTURE_2D and
GL_TEXTURE_2D_MULTISAMPLE were the only targets supported when
GL_ARB_stencil_texturing did not exist.  A renderbuffer was the only way to get
stencil because internally we use separate stencil on these GENs even for
packed depth / stencil targets.  _mesa_meta_bind_rb_as_tex_image would only
generate those two targets.

When support for GL_ARB_stencil_texturing was added for GEN8+, we had only one
test in piglit.  It didn't hit the non-GL_TEXTURE_2D* path, so nobody noticed.</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>