lima/gpir: Only try to place actual children
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 10 Sep 2019 14:11:42 +0000 (21:11 +0700)
committerConnor Abbott <cwabbott0@gmail.com>
Tue, 24 Sep 2019 06:35:26 +0000 (08:35 +0200)
commit2df2e081fde5ff84ce87fe4763e8e6a3372694e8
treeeb01c8e58bd913c885826ea994c317c157c85f8e
parentf989a024b45fdb228313328a8989f7fa797bf261
lima/gpir: Only try to place actual children

When picking a node to be scheduled, we try to schedule its children as
well. But we shouldn't try to schedule nodes which only have a fake
dependency on the original node, since this isn't the point of
scheduling children at the same time and can break some expectations of
the rest of the code.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/gp/scheduler.c