v3d: Refactor compiler entrypoints.
authorEric Anholt <eric@anholt.net>
Wed, 26 Dec 2018 21:20:25 +0000 (13:20 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 2 Jan 2019 22:12:29 +0000 (14:12 -0800)
commitd2b899c0ec156b90b84c884c0dcd5a1a6feaa677
tree12af087e1342a233930f2e00891d5f97f1a73718
parent080506057310ee3239ae8befe3679b9c2f752607
v3d: Refactor compiler entrypoints.

Before, I had per-stage entryoints with some helpers shared between them.
As I extended for compute shaders and shader-db, it turned out that the
other common code in the middle wanted to be shared too.
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir.c
src/gallium/drivers/v3d/v3d_program.c