glsl: Add type queries for fp16+float and fp16+float+double
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 4 Mar 2020 21:57:33 +0000 (13:57 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Mar 2020 16:31:08 +0000 (16:31 +0000)
commit198d4a535b9f090f05137d335d3676f3cae1fc1f
treee7b1966dededbf40f28ac2347e4041eec259bd1b
parentad27eb28d95e10b72ec728f52f87364db8184e32
glsl: Add type queries for fp16+float and fp16+float+double

Following the is_integer_32_64() convention, add is_float_16_32() and
float_16_32_64() for these commonly tested combinations.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3929>
src/compiler/glsl_types.h