spirv: Initialize struct member offsets to -1
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 Jan 2019 00:19:33 +0000 (18:19 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Jan 2019 16:42:56 +0000 (10:42 -0600)
commit662cfb121bd3206c6a6de64de419349184984a9d
tree033c2ecb92b94c2225dc6ab74d48cd7d6c55dbd0
parentb4eae8444e0a7c61bd7013e397e351e3b3965a49
spirv: Initialize struct member offsets to -1

This is the "no offset specified" value.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/spirv/spirv_to_nir.c