vc4: Add register allocation support for MUL output rotation.
authorEric Anholt <eric@anholt.net>
Thu, 25 Aug 2016 21:32:47 +0000 (14:32 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 26 Aug 2016 00:24:11 +0000 (17:24 -0700)
commite763e19808a84ae0218117c89864ff50cb6b0d16
tree98e834dc547ce22e5be0a4fba9b8e488fe782d30
parent8ce65261789f085e657e6a487db93d38ee6bea63
vc4: Add register allocation support for MUL output rotation.

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.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_register_allocate.c