From 1833827eac4461b6aa7388f6e64b8f08536686e5 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 26 Jun 2019 08:25:55 -0700 Subject: [PATCH] freedreno: correct batch_depends_on() logic Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_batch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2