nir/spirv: Use a C99-style initializer for structure fields
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Dec 2015 21:15:17 +0000 (13:15 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Dec 2015 21:15:20 +0000 (13:15 -0800)
commit5dd4386b92a665869b249eae07af78e648bd891d
tree0e25c19be73f2139b7afa2a8a3911c6fef8b29b7
parente10b0e2b4985327a48434e7fec297d33b27bc47f
nir/spirv: Use a C99-style initializer for structure fields

This ensures that all unknown fields get zero-initizlied so we don't have
undefined values floating around.
src/glsl/nir/spirv/spirv_to_nir.c