summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-06-26 08:25:55 -0700
committerRob Clark <[email protected]>2019-06-26 08:43:02 -0700
commit1833827eac4461b6aa7388f6e64b8f08536686e5 (patch)
tree55f2f599577b4490eb3cbdeadb7dd657c0db15cf /src/gallium
parent2b10bb6e5ee967f0ee44559ae2cb92099a0fa372 (diff)
freedreno: correct batch_depends_on() logic
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium')
-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;