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:
John Kessenich
2014-05-06 06:02:01 +00:00
parent 2ea882fdae
commit 8a1a4a7a8b
10 changed files with 66 additions and 30 deletions

View File

@@ -19,7 +19,7 @@ ERROR: 0:63: '' : array size required
ERROR: 0:66: '=' : cannot convert from '3-component vector of float' to 'float'
ERROR: 0:76: 'bar' : no matching overloaded function found
ERROR: 0:79: '' : array size required
ERROR: 0:84: 'return' : function return is not matching type:
ERROR: 0:84: 'return' : type does not match, or is not convertible to, the function's return type
ERROR: 0:93: 'length' : array must be declared with a size before using this method
ERROR: 0:101: '[' : array index out of range '5'
ERROR: 23 compilation errors. No code generated.