nir/spirv: Fix texture return types
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jan 2016 02:40:35 +0000 (18:40 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jan 2016 02:48:57 +0000 (18:48 -0800)
commit6483d3f8fe4301544550cf7665c26ec1d8616728
tree1eb86e7aee277fe5ce801bc099081698ee2e3315
parent2eb52198ffd7b23f67bdffde787afbb28f0b28fb
nir/spirv: Fix texture return types

We were just hard-coding everything to a vec4.  This meant we weren't
handling shadow samplers at all and integer things were getting the wrong
return type.
src/glsl/nir/spirv/spirv_to_nir.c