Implement implicit conversions on function return expressions to the function's type.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26501 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -27,7 +27,7 @@ ERROR: 0:91: 'int' : main function cannot return a value
|
||||
ERROR: 0:92: 'main' : function cannot take any parameter(s)
|
||||
ERROR: 0:94: 'a' : variables with qualifier 'const' must be initialized
|
||||
ERROR: 0:97: 'out' : overloaded functions must have the same parameter storage qualifiers for argument 1
|
||||
ERROR: 0:99: 'return' : function return is not matching type:
|
||||
ERROR: 0:99: 'return' : type does not match, or is not convertible to, the function's return type
|
||||
ERROR: 0:115: 'return' : void function cannot return a value
|
||||
ERROR: 0:125: 'gl_TexCoord' : redeclaration of array with size
|
||||
ERROR: 0:152: 'matrixCompMult' : no matching overloaded function found
|
||||
@@ -291,8 +291,7 @@ ERROR: node is still EOpNull!
|
||||
0:113 Function Definition: v2( (void)
|
||||
0:113 Function Parameters:
|
||||
0:115 Sequence
|
||||
0:115 Branch: Return with expression
|
||||
0:115 Function Call: v1( (void)
|
||||
0:115 Branch: Return
|
||||
0:118 Function Definition: atest( (void)
|
||||
0:118 Function Parameters:
|
||||
0:120 Sequence
|
||||
@@ -650,8 +649,7 @@ ERROR: node is still EOpNull!
|
||||
0:113 Function Definition: v2( (void)
|
||||
0:113 Function Parameters:
|
||||
0:115 Sequence
|
||||
0:115 Branch: Return with expression
|
||||
0:115 Function Call: v1( (void)
|
||||
0:115 Branch: Return
|
||||
0:118 Function Definition: atest( (void)
|
||||
0:118 Function Parameters:
|
||||
0:120 Sequence
|
||||
|
||||
Reference in New Issue
Block a user