From: Zhenyu Wang Date: Thu, 14 Oct 2010 03:24:49 +0000 (+0800) Subject: Revert "i965: fallback lineloop on sandybridge for now" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=338b3f0b90fdd6f5f6a84a7cf7cd6f3c1be65105;p=mesa.git Revert "i965: fallback lineloop on sandybridge for now" This reverts commit 73dab75b4165f7d2214a68d4ba8e3cb7aab9b4ac. --- diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 46b9120842d..04bc8cb2db0 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -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.