nir/spirv: zero out value array
authorConnor Abbott <connor.w.abbott@intel.com>
Thu, 9 Jul 2015 01:50:16 +0000 (21:50 -0400)
committerConnor Abbott <connor.w.abbott@intel.com>
Thu, 9 Jul 2015 02:03:30 +0000 (22:03 -0400)
commite4292ac03929485c6419a40541201e14b874f160
tree9700ba1d9cacd8abad61cb20364db62732b32ff9
parent997831868fea1f56223b5fbf59526d0b538527c0
nir/spirv: zero out value array

Before values are pushed or annotated with a name, decoration, etc.,
they need to have an invalid type, NULL name, NULL decoration, etc.
ralloc zero's everything by accident, so this wasn't an issue in
practice, but we should be explicitly zero'ing it.
src/glsl/nir/spirv_to_nir.c