summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-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 88d0a816c00..a41e89f1090 100644
--- a/src/gallium/drivers/freedreno/freedreno_batch.c
+++ b/src/gallium/drivers/freedreno/freedreno_batch.c
@@ -409,7 +409,7 @@ batch_depends_on(struct fd_batch *batch, struct fd_batch *other)
if (batch->dependents_mask & (1 << other->idx))
return true;
- foreach_batch(dep, cache, batch->dependents_mask)
+ foreach_batch(dep, cache, other->dependents_mask)
if (batch_depends_on(batch, dep))
return true;