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

This commit is contained in:
John Kessenich 2017-10-27 03:10:21 -06:00
parent 0501e7c8f8
commit e9173b19a9

View File

@ -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
newConstArray[i] = leftUnionArray[i] % rightUnionArray[i]; newConstArray[i] = leftUnionArray[i] % rightUnionArray[i];
} }
} }
}
break; break;
case EOpRightShift: case EOpRightShift: