HLSL: fix array[1] of vec4 constant declaration.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user