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:
parent
09709c1521
commit
67c9f3a720
9 changed files with 118 additions and 22 deletions
|
|
@ -441,7 +441,8 @@ unary_operator
|
|||
: PLUS { $$.loc = $1.loc; $$.op = EOpNull; }
|
||||
| DASH { $$.loc = $1.loc; $$.op = EOpNegative; }
|
||||
| BANG { $$.loc = $1.loc; $$.op = EOpLogicalNot; }
|
||||
| TILDE { $$.loc = $1.loc; $$.op = EOpBitwiseNot; }
|
||||
| TILDE { $$.loc = $1.loc; $$.op = EOpBitwiseNot;
|
||||
parseContext.fullIntegerCheck($1.loc, "bitwise not"); }
|
||||
;
|
||||
// Grammar Note: No '*' or '&' unary ops. Pointers are not supported.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue