Misc semantics fixes:

- don't allow pre-array object versions to return a struct containing an array 
 - special case -2147483648 / -1
 - include "~" in the full integer functionality checks
 - handle multiple function parameters having the same name



git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24010 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-11-12 01:02:51 +00:00
parent 09709c1521
commit 67c9f3a720
9 changed files with 118 additions and 22 deletions

View File

@@ -112,4 +112,8 @@ void foo2()
m2[-1][1]; // ERROR
m3[1][3]; // ERROR
m3[3][1]; // ERROR
}
int p;
p = -2147483647 / -1;
p = -2147483648 / -1;
p = 2147483647 / -1;
}