Re: [Mesa-dev] [PATCH 3/3 v3] mesa: Fix GL error generation in glBlitFramebuffer()

2013-01-08 Thread Kenneth Graunke
On 01/08/2013 02:03 AM, Anuj Phogat wrote: On Tue, Jan 8, 2013 at 5:25 AM, Kenneth Graunke wrote: From: Anuj Phogat V2: If mask has GL_STENCIL_BUFFER_BIT set, the depth formats for readRenderBuffer and drawRenderBuffer must match unless one of the two buffers doesn't have depth, in which case

Re: [Mesa-dev] [PATCH 3/3 v3] mesa: Fix GL error generation in glBlitFramebuffer()

2013-01-08 Thread Anuj Phogat
On Tue, Jan 8, 2013 at 5:25 AM, Kenneth Graunke wrote: > From: Anuj Phogat > > V2: > If mask has GL_STENCIL_BUFFER_BIT set, the depth formats for readRenderBuffer > and drawRenderBuffer must match unless one of the two buffers doesn't have > depth, in which case it's not blitted, so the format ch

[Mesa-dev] [PATCH 3/3 v3] mesa: Fix GL error generation in glBlitFramebuffer()

2013-01-07 Thread Kenneth Graunke
From: Anuj Phogat V2: If mask has GL_STENCIL_BUFFER_BIT set, the depth formats for readRenderBuffer and drawRenderBuffer must match unless one of the two buffers doesn't have depth, in which case it's not blitted, so the format check should be ignored. Same comment goes for stencil formats in dep