vc4: Initialize the various qreg arrays when allocating them.
authorEric Anholt <eric@anholt.net>
Wed, 17 Sep 2014 20:10:51 +0000 (13:10 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Sep 2014 21:21:24 +0000 (14:21 -0700)
commitb0256fb75f40a4e428366fcc69ebee47970fd01d
tree5b4544dbfdaf07894b9bed21a48893c8ebbd289f
parentb44a7a32232b509c29a40316dce98780e034e85a
vc4: Initialize the various qreg arrays when allocating them.

This is particularly important for outputs, where we try to MOV the whole
vec4 to the VPM, even if only 1-3 components had been set up.  It might
also be important for temporaries, if the shader reads components before
writing them.
src/gallium/drivers/vc4/vc4_program.c