Home
last modified time | relevance | path

Searched refs:setUConst (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DConstantUnion.h60 case EbtInt: setUConst(static_cast<unsigned int>(constant.getIConst())); break; in cast()
61 case EbtUInt: setUConst(static_cast<unsigned int>(constant.getUConst())); break; in cast()
62 case EbtBool: setUConst(static_cast<unsigned int>(constant.getBConst())); break; in cast()
63 case EbtFloat: setUConst(static_cast<unsigned int>(constant.getFConst())); break; in cast()
81 case EbtUInt: setUConst(constant.getUConst()); break; in cast()
95 void setUConst(unsigned int u) { uConst = u; type = EbtUInt; } in setUConst() function
248 case EbtUInt: returnValue.setUConst(uConst + constant.uConst); break;
262 case EbtUInt: returnValue.setUConst(uConst - constant.uConst); break;
276 case EbtUInt: returnValue.setUConst(uConst * constant.uConst); break;
290 case EbtUInt: returnValue.setUConst(uConst % constant.uConst); break;
[all …]
DIntermediate.cpp1580 tempConstArray[i].setUConst(UINT_MAX); in fold()
1583 tempConstArray[i].setUConst(unionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()
1586 tempConstArray[i].setUConst(unionArray[i].getUConst() % rightUnionArray[i].getUConst()); in fold()
1808 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold()
1989 tempConstArray[i].setUConst(sw::bit_cast<unsigned int>(unionArray[i].getFConst())); in fold()
2078 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getIConst(i))); in promoteConstantUnion()
2081 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getUConst(i))); in promoteConstantUnion()
2084 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getBConst(i))); in promoteConstantUnion()
2087 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getFConst(i))); in promoteConstantUnion()
Dglslang.y259 unionArray->setUConst($1.u);
Dglslang_tab.cpp2413 unionArray->setUConst((yyvsp[0].lex).u); in yyparse()
/external/deqp-deps/glslang/glslang/Include/
DConstantUnion.h82 void setUConst(unsigned int u) in setUConst() function
449 case EbtUint: returnValue.setUConst(uConst + constant.uConst); break;
469 case EbtUint: returnValue.setUConst(uConst - constant.uConst); break;
489 case EbtUint: returnValue.setUConst(uConst * constant.uConst); break;
509 case EbtUint: returnValue.setUConst(uConst % constant.uConst); break;
588 case EbtInt8: returnValue.setUConst(uConst >> constant.i8Const); break;
589 case EbtUint8: returnValue.setUConst(uConst >> constant.u8Const); break;
590 case EbtInt16: returnValue.setUConst(uConst >> constant.i16Const); break;
591 case EbtUint16: returnValue.setUConst(uConst >> constant.u16Const); break;
592 case EbtInt: returnValue.setUConst(uConst >> constant.iConst); break;
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp235 newConstArray[i].setUConst(0xFFFFFFFFu); in fold()
237 … newConstArray[i].setUConst(leftUnionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()
537 …case EbtUint: newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i… in fold()
708 newConstArray[i].setUConst(unionArray[i].getBConst()); break; in fold()
731 newConstArray[i].setUConst(unionArray[i].getI8Const()); break; in fold()
745 newConstArray[i].setUConst(unionArray[i].getU8Const()); break; in fold()
772 newConstArray[i].setUConst(unionArray[i].getI16Const()); break; in fold()
787 newConstArray[i].setUConst(unionArray[i].getU16Const()); break; in fold()
814 newConstArray[i].setUConst(unionArray[i].getIConst()); break; in fold()
855 … newConstArray[i].setUConst(static_cast<unsigned int>(unionArray[i].getI64Const())); break; in fold()
[all …]
DIntermediate.cpp2396 unionArray[0].setUConst(u8); in addConstantUnion()
2428 unionArray[0].setUConst(u); in addConstantUnion()
3724 … leftUnionArray[i].setUConst(static_cast<unsigned int>(rightUnionArray[i].getIConst())); in promoteConstantUnion()
3730 … leftUnionArray[i].setUConst(static_cast<unsigned int>(rightUnionArray[i].getI64Const())); in promoteConstantUnion()
3733 … leftUnionArray[i].setUConst(static_cast<unsigned int>(rightUnionArray[i].getU64Const())); in promoteConstantUnion()
3736 … leftUnionArray[i].setUConst(static_cast<unsigned int>(rightUnionArray[i].getBConst())); in promoteConstantUnion()
3741 … leftUnionArray[i].setUConst(static_cast<unsigned int>(rightUnionArray[i].getDConst())); in promoteConstantUnion()
DParseHelper.cpp7593 … workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp9003 workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()