glsl: add has_implicit_conversions()-helper
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 25 Oct 2018 14:00:14 +0000 (16:00 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 2 Nov 2018 10:10:36 +0000 (11:10 +0100)
commit12f001f013c71ac43b67df7bf67f9cd3581c9871
treeb28e288d4a12592e3af9eaa242dc3c820cf8ad77
parent9f009c1a8f93b29c3a09fd68f81bab248e0686f2
glsl: add has_implicit_conversions()-helper

This makes the code a bit easier to read, as well as will reduce
repetition when we add support for EXT_shader_implicit_conversions.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/glsl_parser_extras.h
src/compiler/glsl_types.cpp