summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-11-11 18:30:32 -0800
committerKenneth Graunke <[email protected]>2014-01-14 00:59:03 -0800
commit8c4a9f631d7438aeaf56785401891d0773792123 (patch)
tree90a4c00d4389ecb79934230e91f431a8112f3b0d /src
parenteadabec4cd0649af2827cce2bd71aea0cb6e7d06 (diff)
i965: Emit 3DSTATE_VF on Broadwell too.
It's not just for Haswell. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_primitive_restart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_primitive_restart.c b/src/mesa/drivers/dri/i965/brw_primitive_restart.c
index f014b60bab6..d86c1e20bae 100644
--- a/src/mesa/drivers/dri/i965/brw_primitive_restart.c
+++ b/src/mesa/drivers/dri/i965/brw_primitive_restart.c
@@ -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 =