vc4: Avoid reusing a pointer from c->outputs[] after add_output().
authorEric Anholt <eric@anholt.net>
Wed, 12 Nov 2014 22:14:32 +0000 (14:14 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 13 Nov 2014 02:24:10 +0000 (18:24 -0800)
commitb3d269f5ae1844b542d8e875d7177c5eff3a29f2
tree7fac5b2ee86e45c023e941902c109e7500a7493a
parentacc1cca7ae35e9e7fb55b4c05fd80564253e1634
vc4: Avoid reusing a pointer from c->outputs[] after add_output().

add_output() can resize the qreg array, so we might use a stale pointer.
src/gallium/drivers/vc4/vc4_program.c