nir: Add a get_nir_type_for_glsl_base_type helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 8 Mar 2017 00:46:17 +0000 (16:46 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 14 Mar 2017 14:36:40 +0000 (07:36 -0700)
commit9084b1db305cab0943f04b074d742c743364840f
treeb0d71723fdc0d8d38d3498a876cf58f0cebfebfa
parenta136884139c42a9ab96c659cbfe44149b1bbffdb
nir: Add a get_nir_type_for_glsl_base_type helper

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir.h