diff options
author | Kenneth Graunke <[email protected]> | 2013-01-26 02:06:08 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-06-14 22:58:18 -0700 |
commit | 6d7abafdc86c6d8533bcb798465452c78c2694e8 (patch) | |
tree | 5f19d9296d6c38cda5b08e58b9b215b2d9388271 /src/mesa | |
parent | def84d8014e334e00b0a76f7bb635ccc62e3b67e (diff) |
i965: Assume flexible hardware primitive restart exists in the future.
Primitive restart with an arbitrary cut index was first supported as of
Haswell. It's very doubtful that they'd take that away in future
hardware, so we may as well alter the check now.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_primitive_restart.c | 2 |
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 b5cfbbc4c6f..5fbc9333dfd 100644 --- a/src/mesa/drivers/dri/i965/brw_primitive_restart.c +++ b/src/mesa/drivers/dri/i965/brw_primitive_restart.c @@ -82,7 +82,7 @@ can_cut_index_handle_prims(struct gl_context *ctx, struct intel_context *intel = intel_context(ctx); /* Otherwise Haswell can do it all. */ - if (intel->is_haswell) + if (intel->gen >= 8 || intel->is_haswell) return true; if (!can_cut_index_handle_restart_index(ctx, ib)) { |