spirv: Add a vtn_types_compatible helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 2 Jan 2018 15:45:42 +0000 (07:45 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 8 Jan 2018 22:57:44 +0000 (14:57 -0800)
commit70f588778c828aeb33277d35140f57d8fbeaca4a
tree0edbc891e94edb95ee0519b6922b04b8cbfae1e0
parent8bad7f33c661eb0ec10d54b6297ed537822a4c78
spirv: Add a vtn_types_compatible helper

Tested-by: Eero Tamminen <eero.t.tamminen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h