nir/builder: Add a helper for grabbing multiple channels from an ssa def
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 2 May 2016 23:29:05 +0000 (16:29 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 May 2016 20:34:40 +0000 (13:34 -0700)
commit87a41e862b5344da6271d533552a890d59f07a4b
treeaeb344b6b75a3dda917b0621797e6f45ab5a5e09
parentfc58cb543fe2430576216680c4f6a55ec22b937e
nir/builder: Add a helper for grabbing multiple channels from an ssa def

This is similar to nir_channel except that it lets you grab more than one
channel by providing a mask.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_builder.h
src/intel/vulkan/anv_meta_blit2d.c