nir/format_convert: Add code for bitcasting vectors
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 Jan 2018 19:34:04 +0000 (11:34 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 May 2018 18:16:33 +0000 (11:16 -0700)
commit047e68389f0aa56213503e99d31d5357284acdde
tree3fe47b25e3db9ffb5176d4b7d791fc8bba15be40
parenta6b66a7b26ae1cc01355d3ccfaa604a5c8e1dae5
nir/format_convert: Add code for bitcasting vectors

This is a fairly direct port from blorp.  The only real change is that
the nir_format_convert version doesn't assume that everything is a vec4.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/compiler/nir/nir_format_convert.h