i965: Drop strict conformance fallback for GL_POLYGON_SMOOTH.
authorEric Anholt <eric@anholt.net>
Wed, 25 May 2011 19:51:47 +0000 (12:51 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 3 Jun 2011 23:03:18 +0000 (16:03 -0700)
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

index 6c52bd52aa420961797037491c1e043eb59bafd1..44d3e1b6c24579df3d2dfb990228e8c5357beeaa 100644 (file)
@@ -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:
     */