nir/spirv: Allow creating local/global variables from interface types
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Jan 2016 01:45:52 +0000 (17:45 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Jan 2016 01:45:54 +0000 (17:45 -0800)
commitb208620fd240a9d74025cdf1ca1d2a54972ebc55
treeda15af79c0054a43f57352219b9636997bc0b3cf
parent350bbd3d15ff5ac3280129dca2cbcf3e4ca6e195
nir/spirv: Allow creating local/global variables from interface types

Not sure if this is actually allowed, but it's not that hard to just strip
the interface information from the type.
src/glsl/nir/spirv/spirv_to_nir.c