An OpVariable initializer can be a module-scope variable
authorDavid Neto <dneto@google.com>
Wed, 7 Dec 2016 15:33:27 +0000 (10:33 -0500)
committerDavid Neto <dneto@google.com>
Wed, 7 Dec 2016 21:04:51 +0000 (16:04 -0500)
commitd5b0cd34c95a5dca4af8e83560af25cc581e8034
treeea977bfdec11cf6c1edb75b9c6b4e452745c3c1f
parentaadf696fceec05eaaa1d581d71101cc8f53ace26
An OpVariable initializer can be a module-scope variable

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/482
source/validate_id.cpp
test/val/val_id_test.cpp