diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-05-05 17:29:24 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-29 20:34:55 +0000 |
commit | c3de28bb49229f195e2353d8bbaee63ff3198481 (patch) | |
tree | 882f11f1376815ef7b739b5c3a083582822cff2c /src/panfrost/bifrost/bi_print.c | |
parent | 4096be05af306d18bf948f92ab03ee7d6f7468f4 (diff) |
pan/bi: Remove more artefacts of 2-pass scheduling
A clause is, by definition, already scheduled.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
Diffstat (limited to 'src/panfrost/bifrost/bi_print.c')
-rw-r--r-- | src/panfrost/bifrost/bi_print.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/panfrost/bifrost/bi_print.c b/src/panfrost/bifrost/bi_print.c index 95b4e51fbec..7a3d429767b 100644 --- a/src/panfrost/bifrost/bi_print.c +++ b/src/panfrost/bifrost/bi_print.c @@ -469,17 +469,8 @@ bi_print_clause(bi_clause *clause, FILE *fp) fprintf(fp, "\n"); - if (clause->instruction_count) { - assert(!clause->bundle_count); - - for (unsigned i = 0; i < clause->instruction_count; ++i) - bi_print_instruction(clause->instructions[i], fp); - } else { - assert(clause->bundle_count); - - for (unsigned i = 0; i < clause->bundle_count; ++i) - bi_print_bundle(&clause->bundles[i], fp); - } + for (unsigned i = 0; i < clause->bundle_count; ++i) + bi_print_bundle(&clause->bundles[i], fp); if (clause->constant_count) { for (unsigned i = 0; i < clause->constant_count; ++i) |