When clearing the stencil buffer, don't use a two-sided stencil
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 6 May 2009 18:44:16 +0000 (14:44 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 6 May 2009 21:10:06 +0000 (17:10 -0400)
commitcfc3ac8d6e3024d1284cfc3f50f695b6b8008c5f
treeeebe36ce00515763141e81eaee206e7a716d048d
parent7f65fea95e56fe0dee91ba726358896c9899780a
When clearing the stencil buffer, don't use a two-sided stencil

In radeon_clear_tris(), when clearing the stencil buffer,
pass GL_FRONT_AND_BACK to _mesa_StencilFuncSeparate(), to avoid
triggering a software fallback on r300 and below.

https://bugs.freedesktop.org/show_bug.cgi?id=21601
src/mesa/drivers/dri/radeon/radeon_common.c