File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1516,16 +1516,15 @@ struct LegalizeWGSLEntryPointContext
1516
1516
builder.replaceOperand (inst->getOperands (), newLhs);
1517
1517
}
1518
1518
else if (
1519
- isIntegralType (inst->getOperand (0 )->getDataType ()) &&
1520
- isIntegralType (inst->getOperand (1 )->getDataType ()))
1519
+ isIntegralType (inst->getOperand (0 )->getDataType ()) &&
1520
+ isIntegralType (inst->getOperand (1 )->getDataType ()))
1521
1521
{
1522
1522
// If integer operands differ in signedness, convert the signed one to unsigned.
1523
1523
// We're assuming that the cases where this is bad have already been caught by
1524
1524
// common validation checks.
1525
1525
IntInfo opIntInfo[2 ] = {
1526
1526
getIntTypeInfo (inst->getOperand (0 )->getDataType ()),
1527
- getIntTypeInfo (inst->getOperand (1 )->getDataType ())
1528
- };
1527
+ getIntTypeInfo (inst->getOperand (1 )->getDataType ())};
1529
1528
if (opIntInfo[0 ].isSigned != opIntInfo[1 ].isSigned )
1530
1529
{
1531
1530
int signedOpIndex = (int )opIntInfo[1 ].isSigned ;
You can’t perform that action at this time.
0 commit comments