commit | b3ae088b96d9242d7d0fabde0516ccd76279ffd5 | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Tue May 05 18:20:08 2020 -0400 |
committer | Marge Bot <eric+marge@anholt.net> | Fri May 29 20:34:55 2020 +0000 |
tree | 85a8419eae6aa3d9f30937671bfb4eca0ffcc977 | |
parent | 2a4e4477fc3ce3e3a914dad98b1129e90cbdf0b0 [diff] [blame] |
pan/bi: Add helper to measure clause size Useful for branching. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index eda8694..b1f7887 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h
@@ -584,6 +584,7 @@ /* Layout */ bool bi_can_insert_bundle(bi_clause *clause, bool constant); +unsigned bi_clause_quadwords(bi_clause *clause); /* Code emit */