diff options
author | Jordan Justen <[email protected]> | 2012-05-12 23:53:18 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2012-05-23 15:19:09 -0700 |
commit | f9389fbfb204995a650047949c48ab2b2703bfcf (patch) | |
tree | 0ed315a595ff053b0e1f792c2e92d9e8af048af4 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | df7d1323de08274c816a8e5fab7e99b6f00f4fa3 (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; }; |