Give error when overloaded functions differ only on a parameter's precision qualifier.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24302 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
4e734dd68b
commit
143c8bf10f
9 changed files with 24 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ ERROR: 0:91: 'main' : function already has a body
|
|||
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 qualifiers
|
||||
ERROR: 0:97: 'out' : overloaded functions must have the same parameter storage qualifiers
|
||||
ERROR: 0:99: 'return' : function return is not matching type:
|
||||
ERROR: 0:115: 'return' : void function cannot return a value
|
||||
ERROR: 0:125: 'gl_TexCoord' : redeclaration of array with size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue