Non-functional: Add {} expected by convention; retrigger failed bot tests.
This commit is contained in:
parent
0501e7c8f8
commit
e9173b19a9
@ -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) {
|
||||||
@ -288,6 +288,7 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TIntermTyped* right
|
|||||||
modulo_default:
|
modulo_default:
|
||||||
newConstArray[i] = leftUnionArray[i] % rightUnionArray[i];
|
newConstArray[i] = leftUnionArray[i] % rightUnionArray[i];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user