Re: [Mesa-dev] [PATCH 2/6] mesa: fix interpretation of glClearBuffer(drawbuffer)

2013-12-06 Thread Marek Olšák
The spec is cleaned up in GL 4.4 Compatibility (this is the only one I read except GL 3.0). It doesn't mention FRONT, BACK, etc. Instead it just says that DRAW_BUFFERi can identify one or more colorbuffers and all of them are cleared, therefore no clarification is needed for readers of GL 4.4. Some

Re: [Mesa-dev] [PATCH 2/6] mesa: fix interpretation of glClearBuffer(drawbuffer)

2013-12-06 Thread Ian Romanick
On 12/05/2013 09:52 AM, Marek Olšák wrote: > From: Marek Olšák > > This corresponding piglit tests supported this incorrect behavior instead of > pointing at it. > > See the GL 4.4 spec if the GL 3.0 spec is not clear enough. I looked at the 4.0 spec, and I think I see where the initial confusi

[Mesa-dev] [PATCH 2/6] mesa: fix interpretation of glClearBuffer(drawbuffer)

2013-12-05 Thread Marek Olšák
From: Marek Olšák This corresponding piglit tests supported this incorrect behavior instead of pointing at it. See the GL 4.4 spec if the GL 3.0 spec is not clear enough. Cc: 10.0 9.2 9.1 --- src/mesa/main/clear.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff