freedreno/ir3: make reg array dynamic
authorRob Clark <robclark@freedesktop.org>
Wed, 7 Jan 2015 16:52:32 +0000 (11:52 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 8 Jan 2015 00:37:28 +0000 (19:37 -0500)
commit63e5b72da8b1df4bbb0fcf46524d106f51264605
treeb210297acaaa3ffc3a1cd940f8f54b391944b407
parent9a9f2a893b5e29a77d66671191653f0b4261f546
freedreno/ir3: make reg array dynamic

To use fanin's to group registers in an array, we can potentially have a
much larger array of registers.  Rather than continuing to bump up the
array size, just make it dynamically allocated when the instruction is
created.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3.c
src/gallium/drivers/freedreno/ir3/ir3.h
src/gallium/drivers/freedreno/ir3/ir3_compiler.c
src/gallium/drivers/freedreno/ir3/ir3_sched.c