Module: Mesa Branch: master Commit: 5acf94e95559879df13bfa854e081665fd58fb61 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5acf94e95559879df13bfa854e081665fd58fb61
Author: Eric Anholt <e...@anholt.net> Date: Tue Jan 11 13:34:40 2011 -0800 i965: Remove dead fallback for stencil _Enabled but no stencil buffer. The _Enabled field is the thing that takes into account whether there's a stencil buffer. Tested with piglit glx-visuals-stencil. --- src/mesa/drivers/dri/i965/brw_fallback.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c index 82356a5..395f306 100644 --- a/src/mesa/drivers/dri/i965/brw_fallback.c +++ b/src/mesa/drivers/dri/i965/brw_fallback.c @@ -71,14 +71,6 @@ static GLboolean do_check_fallback(struct brw_context *brw) } } } - - /* _NEW_STENCIL - */ - if (ctx->Stencil._Enabled && - (ctx->DrawBuffer->Name == 0 && !brw->intel.hw_stencil)) { - DBG("FALLBACK: stencil\n"); - return GL_TRUE; - } return GL_FALSE; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit