Mesa (master): i965: Remove dead fallback for stencil _Enabled but no stencil buffer.
Eric Anholt
anholt at kemper.freedesktop.org
Tue Jan 11 21:49:00 UTC 2011
Module: Mesa
Branch: master
Commit: 5acf94e95559879df13bfa854e081665fd58fb61
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5acf94e95559879df13bfa854e081665fd58fb61
Author: Eric Anholt <eric at 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;
}
More information about the mesa-commit
mailing list