diff options
author | Eric Anholt <[email protected]> | 2015-05-29 18:19:42 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-05-29 22:09:53 -0700 |
commit | 78c773bb3646295e4a4f1fe7d6d10f05758ee48b (patch) | |
tree | 03c7c8693810c71bf4a5a90ee8781fc2670d1426 /src/gallium/drivers/vc4/vc4_opt_algebraic.c | |
parent | 21a22a61c02a1d1807ff03df8eb8fa16ebdd1b74 (diff) |
vc4: Convert from simple_list.h to list.h
list.h is a nicer and more familiar set of list functions/macros.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_opt_algebraic.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_opt_algebraic.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc4/vc4_opt_algebraic.c b/src/gallium/drivers/vc4/vc4_opt_algebraic.c index e40e0f3b71b..7978ea1829f 100644 --- a/src/gallium/drivers/vc4/vc4_opt_algebraic.c +++ b/src/gallium/drivers/vc4/vc4_opt_algebraic.c @@ -136,11 +136,8 @@ bool qir_opt_algebraic(struct vc4_compile *c) { bool progress = false; - struct simple_node *node; - - foreach(node, &c->instructions) { - struct qinst *inst = (struct qinst *)node; + list_for_each_entry(struct qinst, inst, &c->instructions, link) { switch (inst->op) { case QOP_SEL_X_Y_ZS: case QOP_SEL_X_Y_ZC: |