HLSL: Flatten whole-struct assigns and returns when targeting flattened I/O structs.
This commit is contained in:
parent
f8e494c18c
commit
d21baed6bc
67 changed files with 4024 additions and 2886 deletions
|
|
@ -1672,7 +1672,7 @@ bool HlslGrammar::acceptAssignmentExpression(TIntermTyped*& node)
|
|||
return false;
|
||||
}
|
||||
|
||||
node = intermediate.addAssign(assignOp, node, rightNode, loc);
|
||||
node = parseContext.handleAssign(loc, assignOp, node, rightNode);
|
||||
if (node == nullptr) {
|
||||
parseContext.error(loc, "could not create assignment", "", "");
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue