ilo: re-emit states that involve resources
authorChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2013 02:10:17 +0000 (10:10 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2013 04:58:47 +0000 (12:58 +0800)
commit6057d7b7b58102bf7c3c4ecb08c1b7261f299efa
tree0771bf3a2a11f23a39fd414537aecb5ca0f4fe6c
parentb65bdc61bd3d694d26ccae165b12f7d6d41327f9
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().
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
src/gallium/drivers/ilo/ilo_transfer.c