pan/bi: Factor nir_function_impl out of the context
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 21 Dec 2020 20:44:51 +0000 (15:44 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 16:55:44 +0000 (16:55 +0000)
commit7434f31e09450ef7d46ecae5ef19d2eb7e817059
tree7dea49e7d84ffd30005f3d38a5e1462b26bde4c9
parent114a0f9798636d6a476f1d6dc88c34c5ca5c4796
pan/bi: Factor nir_function_impl out of the context

Unnecessary and complicates unit testing.

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