diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_batch.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_draw.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_batch.c b/src/gallium/drivers/freedreno/freedreno_batch.c index 91d7ce73535..2c5673f3440 100644 --- a/src/gallium/drivers/freedreno/freedreno_batch.c +++ b/src/gallium/drivers/freedreno/freedreno_batch.c @@ -369,6 +369,7 @@ fd_batch_flush(struct fd_batch *batch, bool sync, bool force) fd_batch_reference(&batch, NULL); ctx->batch = new_batch; + fd_context_all_dirty(ctx); } if (sync) diff --git a/src/gallium/drivers/freedreno/freedreno_draw.c b/src/gallium/drivers/freedreno/freedreno_draw.c index 02ea41e2c4e..2b5119e6f93 100644 --- a/src/gallium/drivers/freedreno/freedreno_draw.c +++ b/src/gallium/drivers/freedreno/freedreno_draw.c @@ -490,6 +490,7 @@ fd_launch_grid(struct pipe_context *pctx, const struct pipe_grid_info *info) batch = fd_bc_alloc_batch(&ctx->screen->batch_cache, ctx, true); fd_batch_reference(&save_batch, ctx->batch); fd_batch_reference(&ctx->batch, batch); + fd_context_all_dirty(ctx); mtx_lock(&ctx->screen->lock); @@ -533,6 +534,7 @@ fd_launch_grid(struct pipe_context *pctx, const struct pipe_grid_info *info) fd_batch_flush(batch, false, false); fd_batch_reference(&ctx->batch, save_batch); + fd_context_all_dirty(ctx); fd_batch_reference(&save_batch, NULL); fd_batch_reference(&batch, NULL); } |