I'm going to be rewriting it all, and having it mixed up with the QIR-to-QPU opcode translation was messy.
ad02ba4 vc4: Move register allocation to a separate file.
src/gallium/drivers/vc4/Makefile.sources | 1 +
src/gallium/drivers/vc4/vc4_context.h | 1 +
src/gallium/drivers/vc4/vc4_qpu_emit.c | 106 +--------------
src/gallium/drivers/vc4/vc4_register_allocate.c | 157 +++++++++++++++++++++++
4 files changed, 165 insertions(+), 100 deletions(-)
Upstream: cgit.freedesktop.org