diff options
author | Rob Clark <[email protected]> | 2018-10-27 14:07:09 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-10-28 14:03:38 -0400 |
commit | 05e868925c200853e9d6bffee691e72c1a353ae8 (patch) | |
tree | 1f47e2f5f4f4295d3035b1ddfa8c88ff5c8e7a51 /src/gallium/drivers/freedreno/freedreno_batch.c | |
parent | 1bd4f8fefc2728963fc37900fe75210ee24e09d1 (diff) |
freedreno: mark all state dirty after switching batch
The problem isn't directly with ec717fc629 but rather that commit
exposes the problem. When we switch batch we cannot assume previous
state is clean so we should mark all state dirty.
Fixes: ec717fc629 freedreno: reduce resource dependency tracking overhead
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_batch.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_batch.c | 1 |
1 files changed, 1 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) |