nir/spirv: Make vectors a proper array time with an array_element
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Jan 2016 18:58:03 +0000 (10:58 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Jan 2016 00:20:39 +0000 (16:20 -0800)
commit7e5e64c8a9612de307ae6d17c94853f6106626d6
treee1be309f28490ea0800a1732d8ff68219c00b704
parenta8af0f536cc043edc20ad13e93e820c88f9cff59
nir/spirv: Make vectors a proper array time with an array_element

This makes dealing with single-component derefs easier
src/glsl/nir/spirv/spirv_to_nir.c
src/glsl/nir/spirv/vtn_variables.c