From: Kenneth Graunke Date: Tue, 12 Nov 2013 02:30:32 +0000 (-0800) Subject: i965: Emit 3DSTATE_VF on Broadwell too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c4a9f631d7438aeaf56785401891d0773792123;p=mesa.git i965: Emit 3DSTATE_VF on Broadwell too. It's not just for Haswell. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt --- 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 =