vc4: Expose r4 to register allocation.
authorEric Anholt <eric@anholt.net>
Sun, 7 Sep 2014 21:04:40 +0000 (14:04 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Sep 2014 03:38:39 +0000 (20:38 -0700)
commitd952a98c5322e64cb436bd8b0f0064441f37ac77
tree8dedee384aebe029cd4be86657193d1dbbb8fcd3
parentbe1fcd2cd31879a1b4b2cad137401c18fb9c0f5c
vc4: Expose r4 to register allocation.

We potentially need to be careful that use of a value stored in r4 isn't
copy-propagated (or something) across another r4 write.  That doesn't
appear to happen currently, and this makes the dataflow more obvious.  It
also opens up not unpacking the r4 value, which will be useful for depth
textures.
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c