Commit e9173b19 by John Kessenich

Non-functional: Add {} expected by convention; retrigger failed bot tests.

parent 0501e7c8
...@@ -264,7 +264,7 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TIntermTyped* right ...@@ -264,7 +264,7 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TIntermTyped* right
for (int i = 0; i < newComps; i++) { for (int i = 0; i < newComps; i++) {
if (rightUnionArray[i] == 0) if (rightUnionArray[i] == 0)
newConstArray[i] = leftUnionArray[i]; newConstArray[i] = leftUnionArray[i];
else else {
switch (getType().getBasicType()) { switch (getType().getBasicType()) {
case EbtInt: case EbtInt:
if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == INT_MIN) { if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == INT_MIN) {
...@@ -289,6 +289,7 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TIntermTyped* right ...@@ -289,6 +289,7 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TIntermTyped* right
newConstArray[i] = leftUnionArray[i] % rightUnionArray[i]; newConstArray[i] = leftUnionArray[i] % rightUnionArray[i];
} }
} }
}
break; break;
case EOpRightShift: case EOpRightShift:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment