nir/spirv: Make vtn_handle_type match the other handler functions
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Jul 2015 22:34:08 +0000 (15:34 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Jul 2015 22:34:10 +0000 (15:34 -0700)
commite3d60d479bd85433564d1dd594a56465e7c6458e
treeb54e452bbe4485e84381c32878c2f8ee89f3362d
parent7a749aa4baec6e80d0e2780452afdf7a9de7f27f
nir/spirv: Make vtn_handle_type match the other handler functions

Previously, the caller of vtn_handle_type had to handle actually inserting
the type.  However, this didn't really work if the type was decorated in
any way.
src/glsl/nir/spirv_to_nir.c