nir/spirv: Allow pointless variable decorations on inputs
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 27 May 2016 00:06:17 +0000 (17:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 27 May 2016 00:10:50 +0000 (17:10 -0700)
commit9f9f229359a7c850bd5a24945f3445e611267789
tree43fcf90284ec6f67db56cefdd4a830fc104f0d44
parent1ec45a1948548ee26d55b6e5dfab1559f7f0a8ce
nir/spirv: Allow pointless variable decorations on inputs

SPIR-V specifies that a bunch of stuff gets applied to types.  This means
taht a local variable could get, for instance, an array stride.  Just
because it's pointless doesn't mean you'll never see it.
src/compiler/spirv/vtn_variables.c