Re: [Mesa-dev] [PATCH] mesa/fbobject: propogate Layered when reusing attachments.

2016-02-29 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Feb 29, 2016 at 8:17 AM, Dave Airlie wrote: > From: Dave Airlie > > 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-lay

[Mesa-dev] [PATCH] mesa/fbobject: propogate Layered when reusing attachments.

2016-02-28 Thread Dave Airlie
From: Dave Airlie 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. Signed-off-by: Dave Airlie --- src/mesa/main/fbobject.c | 1 +