pan/bi: Move init_builder to common code
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 5 Jan 2021 18:26:56 +0000 (13:26 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 16:55:44 +0000 (16:55 +0000)
commitab6f05eabdf4a54a93225bbabcffb747b6e2f0a1
treecb5c7c86906eae2deb924b1a51e3232fe42d5f79
parent60c0df2c3b2277737796d402f70615b5fc824728
pan/bi: Move init_builder to common code

Needs to take a cursor to be applicable outside NIR->BIR of course.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/bifrost/compiler.h