Re: [Mesa-dev] [PATCH v2 1/5] mesa: Track number of layers in layered framebuffers.

2013-11-21 Thread Jordan Justen
On Wed, 2013-11-20 at 14:29 -0800, Paul Berry wrote: > In order to properly clear layered framebuffers, we need to know how > many layers they have. The easiest way to do this is to record it in > the gl_framebuffer struct when we check framebuffer completeness. > > This patch replaces the gl_fra

[Mesa-dev] [PATCH v2 1/5] mesa: Track number of layers in layered framebuffers.

2013-11-20 Thread Paul Berry
In order to properly clear layered framebuffers, we need to know how many layers they have. The easiest way to do this is to record it in the gl_framebuffer struct when we check framebuffer completeness. This patch replaces the gl_framebuffer::Layered boolean with a gl_framebuffer::NumLayers inte