pan/bi: Add bi_layout.c for clause layout helpers
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 5 May 2020 21:58:16 +0000 (17:58 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 May 2020 20:34:55 +0000 (20:34 +0000)
commit2a4e4477fc3ce3e3a914dad98b1129e90cbdf0b0
tree33b160e690e89727d335d5259cad35249b2c337b
parentc3de28bb49229f195e2353d8bbaee63ff3198481
pan/bi: Add bi_layout.c for clause layout helpers

Figuring out what "shapes" of clauses are kosher happens during
scheduling, not packing, but shouldn't distract the scheduler. So let's
add a new file for these sorts of questions.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
src/panfrost/Makefile.sources
src/panfrost/bifrost/bi_layout.c [new file with mode: 0644]
src/panfrost/bifrost/compiler.h
src/panfrost/bifrost/meson.build