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
|
|
@ -7828,7 +7828,7 @@ TIntermTyped* HlslParseContext::addConstructor(const TSourceLoc& loc, TIntermTyp
|
|||
|
||||
bool singleArg;
|
||||
if (aggrNode != nullptr) {
|
||||
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