spirv: Require a storage type for OpStore destinations
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 3 Jan 2018 17:05:31 +0000 (09:05 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 8 Jan 2018 22:57:44 +0000 (14:57 -0800)
commit986303cb928f1de3297c3f52a8ea52971e222472
tree2de45243858ebbcdd1537ebfada23b2494b005c1
parent70f588778c828aeb33277d35140f57d8fbeaca4a
spirv: Require a storage type for OpStore destinations

This rules out things such as trying to store a pointer to a local
variable.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/spirv/vtn_variables.c