Searched refs:setU16Const (Results 1 – 3 of 3) sorted by relevance
70 void setU16Const(unsigned short u) in setU16Const() function457 case EbtUint16: returnValue.setU16Const(u16Const + constant.u16Const); break;479 case EbtUint16: returnValue.setU16Const(u16Const - constant.u16Const); break;501 case EbtUint16: returnValue.setU16Const(u16Const * constant.u16Const); break;522 case EbtUint16: returnValue.setU16Const(u16Const % constant.u16Const); break;577 case EbtInt8: returnValue.setU16Const(u16Const >> constant.i8Const); break;578 case EbtUint8: returnValue.setU16Const(u16Const >> constant.u8Const); break;579 case EbtInt16: returnValue.setU16Const(u16Const >> constant.i16Const); break;580 case EbtUint16: returnValue.setU16Const(u16Const >> constant.u16Const); break;581 case EbtInt: returnValue.setU16Const(u16Const >> constant.iConst); break;[all …]
237 newConstArray[i].setU16Const((unsigned short)0xFFFFu); in fold()239 … newConstArray[i].setU16Const(leftUnionArray[i].getU16Const() / rightUnionArray[i].getU16Const()); in fold()538 …case EbtUint16:newConstArray[i].setU16Const(static_cast<unsigned int>(-static_cast<signed int>(uni… in fold()740 newConstArray[i].setU16Const(unionArray[i].getBConst()); break; in fold()757 newConstArray[i].setU16Const(unionArray[i].getI8Const()); break; in fold()771 newConstArray[i].setU16Const(unionArray[i].getU8Const()); break; in fold()798 newConstArray[i].setU16Const(unionArray[i].getI16Const()); break; in fold()840 newConstArray[i].setU16Const((unsigned char)unionArray[i].getIConst()); break; in fold()853 newConstArray[i].setU16Const((unsigned short)unionArray[i].getUConst()); break; in fold()869 … newConstArray[i].setU16Const(static_cast<unsigned short>(unionArray[i].getI64Const())); break; in fold()[all …]
2573 unionArray[0].setU16Const(u16); in addConstantUnion()3873 case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \ in promoteConstantUnion()