glsl/types: disallow implicit conversions before GLSL 1.20
authorAndres Gomez <agomez@igalia.com>
Sat, 30 Jul 2016 22:46:59 +0000 (01:46 +0300)
committerAndres Gomez <agomez@igalia.com>
Fri, 5 Aug 2016 11:27:03 +0000 (14:27 +0300)
commitaf796d756e9a507d5e055fb4cd03277386c5892a
treefc6a660dbfd423aa9f1ad7e5c9928a6733e1fc58
parent875341c69b99dea7942a68c9060aa31a459e93fc
glsl/types: disallow implicit conversions before GLSL 1.20

Implicit conversions were added in the GLSL 1.20 spec version.

v2: Join the checks for GLSL 1.10 and ESSL (Timothy).

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