aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-06-13 10:10:17 +0800
committerChia-I Wu <[email protected]>2013-06-13 12:58:47 +0800
commit6057d7b7b58102bf7c3c4ecb08c1b7261f299efa (patch)
tree0771bf3a2a11f23a39fd414537aecb5ca0f4fe6c /src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
parentb65bdc61bd3d694d26ccae165b12f7d6d41327f9 (diff)
ilo: re-emit states that involve resources
Even with hardware contexts, since we do not pin resources, we have to re-emit the states so that the resources are referenced (by cp->bo) and their offsets are updated in case they are moved. This also allows us to elimiate cp flush in is_bo_busy().
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 34d43206231..18d9309953d 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
@@ -42,6 +42,7 @@ struct gen6_pipeline_session {
int init_cp_space;
bool hw_ctx_changed;
+ bool batch_bo_changed;
bool state_bo_changed;
bool instruction_bo_changed;
bool prim_changed;