Created attachment 105872 [details] Copy layered field in reuse_framebuffer_texture_attachment Hi, the reuse_framebuffer_texture_attachment in src/mesa/main/fbobject.c does not copy the Layered field. This generates incorrect incomplete framebuffer statement when setting a layered fbo with a GL_DEPTH_STENCIL attachement for instance. I've attached a patch that fix the issue.
Please submit the patch directly to the mesa-dev mailing list.
This issue was fixed by the following commit: commit 35859d5bbba998aa41ec87bc53d946add4662dea Author: Dave Airlie <airlied@redhat.com> Date: Mon Feb 29 17:16:10 2016 +1000 mesa/fbobject: propogate Layered when reusing attachments. When reusing a depth attachment as a stencil, we need to propogate the layered bit, otherwise we fail to complete the framebuffer. discovered running ./bin/fbo-depth-array depth-layered-clear on virgl on haswell. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.