summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_batch.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-04-16 12:21:49 -0400
committerRob Clark <[email protected]>2017-04-18 16:32:00 -0400
commit71f9e03d211a17e7c53de595966d4c0ed41a97f1 (patch)
treea83f9b25f28f7653a8db212bf9c898bc291c3672 /src/gallium/drivers/freedreno/freedreno_batch.c
parent248a508f243a0fb6ef92d3048e60a278a4326ddd (diff)
freedreno: add helper to mark all state dirty
This will simplify things when we break out per-shader-stage dirty bits. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_batch.c b/src/gallium/drivers/freedreno/freedreno_batch.c
index 5cd6a697e13..f97282b3405 100644
--- a/src/gallium/drivers/freedreno/freedreno_batch.c
+++ b/src/gallium/drivers/freedreno/freedreno_batch.c
@@ -264,7 +264,7 @@ batch_flush(struct fd_batch *batch)
*/
fd_hw_query_set_stage(batch, batch->draw, FD_STAGE_NULL);
- batch->ctx->dirty = ~0;
+ fd_context_all_dirty(batch->ctx);
batch_flush_reset_dependencies(batch, true);
if (batch->ctx->screen->reorder) {