diff options
author | Kenneth Graunke <[email protected]> | 2018-11-20 08:48:34 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:10 -0800 |
commit | d918c09975e2ee349e3a8398709bcac5165f341f (patch) | |
tree | 1fc41907ac0e11e0014fcc2402058a7c91d013c7 /src/gallium/drivers | |
parent | 017b5566098b9ef7e48f33f60b26712298cd5700 (diff) |
iris: flush the compute batch too if border pool is redone
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/iris/iris_border_color.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_border_color.c b/src/gallium/drivers/iris/iris_border_color.c index bca665451a3..753513b94d2 100644 --- a/src/gallium/drivers/iris/iris_border_color.c +++ b/src/gallium/drivers/iris/iris_border_color.c @@ -108,6 +108,8 @@ iris_border_color_pool_reserve(struct iris_context *ice, unsigned count) /* It's safe to flush because we're called outside of state upload. */ if (iris_batch_references(&ice->render_batch, pool->bo)) iris_batch_flush(&ice->render_batch); + if (iris_batch_references(&ice->compute_batch, pool->bo)) + iris_batch_flush(&ice->compute_batch); iris_reset_border_color_pool(pool, pool->bo->bufmgr); } |