We need the source to be in r0-r3, so make a new register class for it. It will be up to the surrounding passes to make sure that the r0-r3 allocation of its source won't conflict with anything other class requirements on that temp.
e763e19 vc4: Add register allocation support for MUL output rotation.
src/gallium/drivers/vc4/vc4_context.h | 1 +
src/gallium/drivers/vc4/vc4_register_allocate.c | 13 +++++++++++++
2 files changed, 14 insertions(+)
Upstream: cgit.freedesktop.org