Re: [Mesa-dev] [PATCH] i965: glClearBuffer() should only clear a single buffer.

2014-04-07 Thread Eric Anholt
Iago Toral Quiroga writes: > glClearBuffer() is currently clearing all active draw color buffers (all > buffers that have not been set to GL_NONE when calling glDrawBuffers) instead > of only clearing the one it receives as parameter. Altough brw_clear() > receives a bit mask indicating the color

[Mesa-dev] [PATCH] i965: glClearBuffer() should only clear a single buffer.

2014-03-31 Thread Iago Toral Quiroga
glClearBuffer() is currently clearing all active draw color buffers (all buffers that have not been set to GL_NONE when calling glDrawBuffers) instead of only clearing the one it receives as parameter. Altough brw_clear() receives a bit mask indicating the color buffers that should be cleared, this