From d8b733643d21001068c25ee9b97a3cd5bb4684a2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 25 May 2011 12:51:47 -0700 Subject: [PATCH] i965: Drop strict conformance fallback for GL_POLYGON_SMOOTH. From my reading of the GL 2.1 spec, no antialiasing is strictly conformant for polygon smoothing. Yes, it's absurd, but then, hardware doesn't support this so maybe it's not so absurd. --- src/mesa/drivers/dri/i965/brw_draw.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 6c52bd5..44d3e1b 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -283,12 +283,6 @@ static GLboolean check_fallbacks( struct brw_context *brw, if (brw->intel.conformance_mode == 0) return GL_FALSE; - if (ctx->Polygon.SmoothFlag) { - for (i = 0; i < nr_prims; i++) - if (reduced_prim[prim[i].mode] == GL_TRIANGLES) - return GL_TRUE; - } - /* BRW hardware will do AA lines, but they are non-conformant it * seems. TBD whether we keep this fallback: */ -- 2.7.4