[Mesa-dev] [PATCH] Copy Layered field in reuse_framebuffer_texture_attachment

Chris Forbes chrisf at ijw.co.nz
Thu Sep 11 15:05:46 PDT 2014


It would be good to also have a piglit test which demonstrates this
bad behavior.

Patch is:

Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

On Fri, Sep 12, 2014 at 9:42 AM, Vincent Lejeune <vljn at ovi.com> wrote:
> Fix #83596
> https://bugs.freedesktop.org/show_bug.cgi?id=83596
> ---
>  src/mesa/main/fbobject.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
> index ae3a418..5eaf1a3 100644
> --- a/src/mesa/main/fbobject.c
> +++ b/src/mesa/main/fbobject.c
> @@ -2299,6 +2299,7 @@ reuse_framebuffer_texture_attachment(struct gl_framebuffer *fb,
>     dst_att->Complete = src_att->Complete;
>     dst_att->TextureLevel = src_att->TextureLevel;
>     dst_att->Zoffset = src_att->Zoffset;
> +   dst_att->Layered = src_att->Layered;
>  }
>
>
> --
> 1.9.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list