vc4: Dynamically allocate the TGSI-to-qreg arrays.
authorEric Anholt <eric@anholt.net>
Mon, 15 Sep 2014 19:02:43 +0000 (12:02 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 15 Sep 2014 20:12:27 +0000 (13:12 -0700)
commit5638b87d4c72e0ed7bb4544885829f27ae3a91f5
treeb8f9429edc7a543035958ba8ea9961bb8a4b76e8
parent2147dd96813d1faee5c55e84b332355ad05f070a
vc4: Dynamically allocate the TGSI-to-qreg arrays.

Fixes buffer overflows in some piglit tests (which are still failing to
register allocate anyway).
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.h