vc4: Replace the qinst src[] with a fixed-size array.
authorEric Anholt <eric@anholt.net>
Tue, 15 Nov 2016 20:36:20 +0000 (12:36 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 29 Nov 2016 16:38:59 +0000 (08:38 -0800)
commit51087327f2ba929739719b2ae243d8c69d31346f
treeabdb18b2c979269ee92b963a2e46e6550ad4beb9
parenta220f1b5a9beaba146096971354ae37c6f75d4ef
vc4: Replace the qinst src[] with a fixed-size array.

This may have made a tiny bit of sense when we had one 4-arg inst per
shader, but if we only ever put 2 things in, having a pointer to 2 things
almost every instruction is pointless indirection.
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c