i965: fallback lineloop on sandybridge for now

Until we fixed GS hang issue.
This commit is contained in:
Zhenyu Wang 2010-09-26 13:15:39 +08:00
parent 0a1910c267
commit 73dab75b41
1 changed files with 7 additions and 0 deletions

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.