vc4: Add a safety check for setting flags.
authorEric Anholt <eric@anholt.net>
Wed, 16 Mar 2016 01:57:20 +0000 (18:57 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 16 Mar 2016 18:28:34 +0000 (11:28 -0700)
commitb4f45f319cc5cb833b4581447c45656cdeed025a
tree6e4e6a26a8f3c7bedd9acc52f73891e0b2668169
parenta298fb15afa91d866c78f80fbd71bafeb9f36fda
vc4: Add a safety check for setting flags.

If a pack was on the src reg, should it be a float, int, or mul unpack?
Just complain, instead.
src/gallium/drivers/vc4/vc4_qir.c