Revert "i965: fallback lineloop on sandybridge for now"
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 14 Oct 2010 03:24:49 +0000 (11:24 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 14 Oct 2010 03:24:49 +0000 (11:24 +0800)
This reverts commit 73dab75b4165f7d2214a68d4ba8e3cb7aab9b4ac.

src/mesa/drivers/dri/i965/brw_draw.c

index 46b9120842dbe6e7bab41485a616273e08177395..04bc8cb2db0be028b3eabaf5d61b3363ea7b93ed 100644 (file)
@@ -204,13 +204,6 @@ static GLboolean check_fallbacks( struct brw_context *brw,
    struct gl_context *ctx = &brw->intel.ctx;
    GLuint i;
 
-   /* XXX FIXME */
-   if (brw->intel.gen >= 6) {
-       for (i = 0; i < nr_prims; i++)
-          if (prim[i].mode == GL_LINE_LOOP)
-              return GL_TRUE;
-   }
-
    /* If we don't require strict OpenGL conformance, never 
     * use fallbacks.  If we're forcing fallbacks, always
     * use fallfacks.