From: Eric Anholt Date: Wed, 25 May 2011 19:51:47 +0000 (-0700) Subject: i965: Drop strict conformance fallback for GL_POLYGON_SMOOTH. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8b733643d21001068c25ee9b97a3cd5bb4684a2;p=mesa.git 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. --- diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 6c52bd52aa4..44d3e1b6c24 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: */