vc4: Add support for register allocation for threaded shaders.
authorEric Anholt <eric@anholt.net>
Thu, 10 Nov 2016 23:10:15 +0000 (15:10 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 13 Nov 2016 02:46:35 +0000 (18:46 -0800)
commit755037173d19b65777a97f55455c1f64bf618264
tree90d6e65a03064709165877a3285aacea4600f788
parentfdad4d24024ab7bc9b6b9cb6288f8b76ccac0d89
vc4: Add support for register allocation for threaded shaders.

We have two major requirements: Make sure that only the bottom half of the
physical reg space is used, and make sure that none of our values are live
in an accumulator across a switch.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_register_allocate.c