Commit 1833827e authored by Rob Clark's avatar Rob Clark

freedreno: correct batch_depends_on() logic

Signed-off-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
parent 2b10bb6e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment