vc4: Pack VPM attr contents according to just the size of the attribute.
authorEric Anholt <eric@anholt.net>
Fri, 9 Jan 2015 20:56:34 +0000 (12:56 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 10 Jan 2015 00:54:12 +0000 (13:54 +1300)
commit92a0b0bd7099b15320faaccfd70b3c8dc877810e
treefb403c04ec6144c77c47b3e0c266ef67a74d0506
parent72cb6619cb75a92901d372d687505a747a384571
vc4: Pack VPM attr contents according to just the size of the attribute.

total instructions in shared programs: 40960 -> 39753 (-2.95%)
instructions in affected programs:     20871 -> 19664 (-5.78%)
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.h