glsl: Refactor implicit conversion into its own helper
authorAndres Gomez <agomez@igalia.com>
Tue, 2 Aug 2016 13:20:59 +0000 (16:20 +0300)
committerAndres Gomez <agomez@igalia.com>
Fri, 5 Aug 2016 11:27:03 +0000 (14:27 +0300)
commitde60d549b9acd5f2f9337aec8c283150bc950c99
tree84f8ef3fdb70e9b3197b77e81f958811075cc628
parentaf796d756e9a507d5e055fb4cd03277386c5892a
glsl: Refactor implicit conversion into its own helper

v2: Refactor also the conversion to constant and replacement code
    (Timothy).

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
src/compiler/glsl/ast_function.cpp