aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-06-27 18:19:16 +0800
committerChia-I Wu <[email protected]>2013-06-28 10:44:38 +0800
commitcabc7b44c0fef2122ee001363e4d6e5cb6e66012 (patch)
treec12fb8963254686d80c72a14012324e3a178bf00 /src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
parente071812e46617b6f1d335aef6381de7b6afc269f (diff)
ilo: track if primitive restart has changed
Re-emit 3DSTATE_INDEX_BUFFER to enable/disable primitive restart.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
index 11e3cb0b55f..a9c4051d2df 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
@@ -44,6 +44,7 @@ struct gen6_pipeline_session {
bool state_bo_changed;
bool kernel_bo_changed;
bool prim_changed;
+ bool primitive_restart_changed;
void (*emit_draw_states)(struct ilo_3d_pipeline *p,
const struct ilo_context *ilo,