glsl: add glsl_base_type_is_integer
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 24 Jun 2017 11:34:27 +0000 (13:34 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 5 Jul 2017 10:27:10 +0000 (12:27 +0200)
commit9a81d032c12d734ca483e2b822c201527a320213
tree067c011b3031e4aa848304f9398c37c626215db2
parent34df9525f607cab0208ad9b7006b7476f0a0fe79
glsl: add glsl_base_type_is_integer

We will use this from radeonsi/nir, which we want to keep as pure C code.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/compiler/glsl_types.h