nir/opcodes: Make unpack_half_2x16_split_* variable-width
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Aug 2018 16:58:50 +0000 (11:58 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 29 Aug 2018 19:04:02 +0000 (14:04 -0500)
commit80c424148b47b6615f8e8c4886257a5c7323ef25
treeffab2848578d1057be35fbbae84fcfe3686073ef
parentd448fa3ae35c3aa4e7bf25f8b1870315573e32fa
nir/opcodes: Make unpack_half_2x16_split_* variable-width

There is nothing inherent about these opcodes that requires them to only
take scalars.  It's very convenient if we let them take vectors as well.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_opcodes.py