i965: Emit 3DSTATE_VF on Broadwell too.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Nov 2013 02:30:32 +0000 (18:30 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 14 Jan 2014 08:59:03 +0000 (00:59 -0800)
It's not just for Haswell.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_primitive_restart.c

index f014b60bab67ac72954c6b308eceda330e86aa55..d86c1e20bae058ad7b15531cd0f0077377b9c039 100644 (file)
@@ -191,7 +191,7 @@ haswell_upload_cut_index(struct brw_context *brw)
    struct gl_context *ctx = &brw->ctx;
 
    /* Don't trigger on Ivybridge */
-   if (!brw->is_haswell)
+   if (brw->gen < 8 && !brw->is_haswell)
       return;
 
    const unsigned cut_index_setting =