vc4: Allow unpack_8[abcd]_f's src to stay in r4.
authorEric Anholt <eric@anholt.net>
Wed, 19 Aug 2015 05:07:47 +0000 (22:07 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Aug 2015 06:43:04 +0000 (23:43 -0700)
commitc800fef2e2c65f7d81215cb316de6f73b15ba6c5
treec30eb0086f3a8d5aa59187af927d690ff8448099
parent8b36d107fdd6f6b91556fcdc3498df16803d4181
vc4: Allow unpack_8[abcd]_f's src to stay in r4.

I had QPU emit code to do it, but forgot to flag the register class.

total instructions in shared programs: 97974 -> 97590 (-0.39%)
instructions in affected programs:     25291 -> 24907 (-1.52%)
src/gallium/drivers/vc4/vc4_register_allocate.c