nir: Allow nir_format_unpack_int/sint to unpack larger values.
authorEric Anholt <eric@anholt.net>
Wed, 2 Jan 2019 22:50:20 +0000 (14:50 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 4 Jan 2019 23:59:30 +0000 (15:59 -0800)
commita74f2aeb4fcc8765571b9120a8c8b13cee59de46
treede6a6488bfbc2c9edb8907d38e08f80b841c6a39
parent19c608fe43ae7e1578920326690a361ff1be9d88
nir: Allow nir_format_unpack_int/sint to unpack larger values.

For V3D, I want to unpack 4-16-bit packed integers for 8 and 16-bit
integer samplers.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_format_convert.h