vc4: Fix up the test for whether the unpack can be from r4.
authorEric Anholt <eric@anholt.net>
Mon, 26 Oct 2015 20:17:33 +0000 (13:17 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 26 Oct 2015 23:48:34 +0000 (16:48 -0700)
commit652a864b257650e730ecec9e5882d765840a02e1
tree366eeb9c0dcf79055ef80938fc9e2111a137d861
parent3d7a088608b38b3a460ad7ba5c7fb575815c8a43
vc4: Fix up the test for whether the unpack can be from r4.

We can do 16a/16b from float as well.  No difference on shader-db.
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_register_allocate.c