summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-05-25 12:51:47 -0700
committerEric Anholt <[email protected]>2011-06-03 16:03:18 -0700
commitd8b733643d21001068c25ee9b97a3cd5bb4684a2 (patch)
tree14598a93cc1903d447552b70db022662e26e0a5c /src/mesa/drivers/dri/i965
parent3f05374574db7d04ac920a93545734c9013f5ec4 (diff)
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.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.c6
1 files changed, 0 insertions, 6 deletions
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:
*/