When an argument for a structure constructor or initializer doesn't match the expected type, only Section 4.1.10 “Implicit Conversions” are allowed to try to match that expected type.
Fixes GL44-CTS.shading_language_420pack.initializer_list_negative Andres Gomez (2): glsl/types: disallow implicit conversions before GLSL 1.20 glsl: struct constructors/initializers only allow implicit conversions src/compiler/glsl/ast_function.cpp | 62 ++++++++++++++++++++++++++++---------- src/compiler/glsl_types.cpp | 4 +++ 2 files changed, 50 insertions(+), 16 deletions(-) -- 2.8.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev