i965: fallback lineloop on sandybridge for now

Until we fixed GS hang issue.
(cherry picked from commit 73dab75b41)
This commit is contained in:
Zhenyu Wang 2010-09-26 13:15:39 +08:00 committed by Ian Romanick
parent 5d43c78d03
commit 1c8795075f

View file

@ -204,6 +204,13 @@ static GLboolean check_fallbacks( struct brw_context *brw,
GLcontext *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.