[Mesa-dev] [PATCH 4/5] i965: Drop strict conformance fallback for GL_LINE_STIPPLE.
Eric Anholt
eric at anholt.net
Fri May 27 08:58:59 PDT 2011
We implement line stipples, just not *quite* correctly. We have a
piglit testcase to use when we want to fix it, if we do. Until then,
don't lie to our test suites.
---
src/mesa/drivers/dri/i965/brw_draw.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index b2e89ba..103c774 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -283,24 +283,6 @@ static GLboolean check_fallbacks( struct brw_context *brw,
if (brw->intel.conformance_mode == 0)
return GL_FALSE;
- /* Stipple -- these fallbacks could be resolved with a little
- * bit of work?
- */
- if (ctx->Line.StippleFlag) {
- for (i = 0; i < nr_prims; i++) {
- /* GS doesn't get enough information to know when to reset
- * the stipple counter?!?
- */
- if (prim[i].mode == GL_LINE_LOOP || prim[i].mode == GL_LINE_STRIP)
- return GL_TRUE;
-
- if (prim[i].mode == GL_POLYGON &&
- (ctx->Polygon.FrontMode == GL_LINE ||
- ctx->Polygon.BackMode == GL_LINE))
- return GL_TRUE;
- }
- }
-
if (ctx->Point.SmoothFlag) {
for (i = 0; i < nr_prims; i++)
if (prim[i].mode == GL_POINTS)
--
1.7.5.1
More information about the mesa-dev
mailing list