SPV: Prevent issue #415 with better semantic checking.
This commit is contained in:
parent
11e1a073f3
commit
1176530bf5
9 changed files with 2681 additions and 2937 deletions
|
|
@ -691,6 +691,7 @@ expression
|
|||
$$ = $1;
|
||||
}
|
||||
| expression COMMA assignment_expression {
|
||||
parseContext.samplerConstructorLocationCheck($2.loc, ",", $3);
|
||||
$$ = parseContext.intermediate.addComma($1, $3, $2.loc);
|
||||
if ($$ == 0) {
|
||||
parseContext.binaryOpError($2.loc, ",", $1->getCompleteString(), $3->getCompleteString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue