From f9389fbfb204995a650047949c48ab2b2703bfcf Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sat, 12 May 2012 23:53:18 -0700 Subject: i965: add flag to enable cut_index When brw->prim_restart.enable_cut_index is set, the cut index will be enabled when uploading index_buffer commands. Signed-off-by: Jordan Justen Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- src/mesa/drivers/dri/i965/brw_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/dri/i965/brw_context.h') diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 2a9de745c14..8f20d6ec8c0 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1044,6 +1044,7 @@ struct brw_context /* PrimitiveRestart */ struct { bool in_progress; + bool enable_cut_index; } prim_restart; }; -- cgit v1.2.3