vc4: Add register allocation support for MUL output rotation

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 25 August 2016 19:24 UTC

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


  • Share