glsl/types: Add a real is_integer helper
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 6 Jun 2019 16:40:13 +0000 (11:40 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Jun 2019 20:28:52 +0000 (20:28 +0000)
commit93f4aa98894cbc57325b90ecb128b22e6448de23
treef1e2cdbc948a5332afdb707bfbd6ce0fc7777ac6
parentf0920e266c152044cb05892f3aea5a17a163cc02
glsl/types: Add a real is_integer helper

Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/glsl_types.cpp
src/compiler/glsl_types.h
src/compiler/nir_types.cpp