diff options
author | Chia-I Wu <[email protected]> | 2013-05-17 16:10:11 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-05-21 11:47:19 +0800 |
commit | a04d8574c61f286fd9ec51f667648f73e332462f (patch) | |
tree | bc2ebf14f84b8df57dbbb01eeaf66794b6bbda49 /src/gallium/drivers/ilo/ilo_3d.c | |
parent | 1ed7b825cf3e9395dc1452059af6deb74a64f225 (diff) |
ilo: harware contexts are only for the render ring
The hardware context should not be passed for bo execution when the ring is
not the render ring. Rename hw_ctx to render_ctx for clarity.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_3d.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d.c b/src/gallium/drivers/ilo/ilo_3d.c index b802e7fe160..e03e530f90c 100644 --- a/src/gallium/drivers/ilo/ilo_3d.c +++ b/src/gallium/drivers/ilo/ilo_3d.c @@ -250,7 +250,7 @@ ilo_3d_new_cp_batch(struct ilo_3d *hw3d) ilo_3d_pipeline_invalidate(hw3d->pipeline, ILO_3D_PIPELINE_INVALIDATE_BATCH_BO | ILO_3D_PIPELINE_INVALIDATE_STATE_BO); - if (!hw3d->cp->hw_ctx) { + if (!hw3d->cp->render_ctx) { ilo_3d_pipeline_invalidate(hw3d->pipeline, ILO_3D_PIPELINE_INVALIDATE_HW); } |