HLSL: fix array[1] of vec4 constant declaration.
This commit is contained in:
parent
c64a9dd6a9
commit
ae8af5d33e
6 changed files with 381 additions and 245 deletions
|
|
@ -5474,7 +5474,7 @@ TIntermTyped* TParseContext::addConstructor(const TSourceLoc& loc, TIntermNode*
|
|||
|
||||
bool singleArg;
|
||||
if (aggrNode) {
|
||||
if (aggrNode->getOp() != EOpNull || aggrNode->getSequence().size() == 1)
|
||||
if (aggrNode->getOp() != EOpNull)
|
||||
singleArg = true;
|
||||
else
|
||||
singleArg = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue