nir: add glsl_type_is_integer() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 12 Nov 2018 02:24:42 +0000 (13:24 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 12 Nov 2018 04:38:56 +0000 (15:38 +1100)
commit9dd737bb02923d26d4d947ebf265b05f13dd2c0c
tree70a8f330f33ed62258f57d8f82be6c8e1fd3a863
parent552642066f511960c7fa7c0fdf1bf733982fc1c9
nir: add glsl_type_is_integer() helper

Fixes: 1c9c42d16b4c ("nir: add varying component packing helpers")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir_types.cpp
src/compiler/nir_types.h