Mesa (master): i965: Emit 3DSTATE_VF on Broadwell too.

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Jan 14 08:55:55 UTC 2014


Module: Mesa
Branch: master
Commit: 8c4a9f631d7438aeaf56785401891d0773792123
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c4a9f631d7438aeaf56785401891d0773792123

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Nov 11 18:30:32 2013 -0800

i965: Emit 3DSTATE_VF on Broadwell too.

It's not just for Haswell.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/i965/brw_primitive_restart.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_primitive_restart.c b/src/mesa/drivers/dri/i965/brw_primitive_restart.c
index f014b60..d86c1e2 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 =




More information about the mesa-commit mailing list