Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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.cpp1578 tempConstArray[i].setUConst(UINT_MAX); in fold()
1581 tempConstArray[i].setUConst(unionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()
1584 tempConstArray[i].setUConst(unionArray[i].getUConst() % rightUnionArray[i].getUConst()); in fold()
1806 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold()
1987 tempConstArray[i].setUConst(sw::bit_cast<unsigned int>(unionArray[i].getFConst())); in fold()
2076 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getIConst(i))); in promoteConstantUnion()
2079 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getUConst(i))); in promoteConstantUnion()
2082 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getBConst(i))); in promoteConstantUnion()
2085 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()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.cpp177 setUConst(static_cast<unsigned int>(constant.getIConst())); in cast()
180 setUConst(static_cast<unsigned int>(constant.getUConst())); in cast()
183 setUConst(static_cast<unsigned int>(constant.getBConst())); in cast()
189 setUConst( in cast()
194 setUConst(static_cast<unsigned int>(constant.getFConst())); in cast()
227 setUConst(constant.getUConst()); in cast()
418 returnValue.setUConst(gl::WrappingSum<unsigned int>(lhs.uConst, rhs.uConst)); in add()
453 returnValue.setUConst(gl::WrappingDiff<unsigned int>(lhs.uConst, rhs.uConst)); in sub()
490 returnValue.setUConst(lhs.uConst * rhs.uConst); in mul()
518 returnValue.setUConst(uConst % constant.uConst); in operator %()
[all …]
DIntermNode.cpp68 result->setUConst(0u); in UndefinedConstantFoldingError()
2218 resultArray[i].setUConst(UINT_MAX); in FoldBinary()
2224 resultArray[i].setUConst(leftArray[i].getUConst() / in FoldBinary()
2230 resultArray[i].setUConst(leftArray[i].getUConst() % in FoldBinary()
2490 resultArray->setUConst( in foldUnaryNonComponentWise()
2509 resultArray->setUConst( in foldUnaryNonComponentWise()
2528 resultArray->setUConst( in foldUnaryNonComponentWise()
2547 resultArray->setUConst( in foldUnaryNonComponentWise()
2556 resultArray->setUConst( in foldUnaryNonComponentWise()
2635 resultArray[i].setUConst(0x80000000u); in foldUnaryComponentWise()
[all …]
DConstantUnion.h33 void setUConst(unsigned int u) in setUConst() function
Dglslang.y272 unionArray->setUConst($1.u);
Dglslang_tab.cpp2546 unionArray->setUConst((yyvsp[0].lex).u); in yyparse()
DParseContext.cpp1912 constArray[i].setUConst(static_cast<unsigned int>(workGroupSize[i])); in parseVariableIdentifier()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.cpp181 setUConst(static_cast<unsigned int>(constant.getIConst())); in cast()
184 setUConst(static_cast<unsigned int>(constant.getUConst())); in cast()
187 setUConst(static_cast<unsigned int>(constant.getBConst())); in cast()
193 setUConst( in cast()
198 setUConst(static_cast<unsigned int>(constant.getFConst())); in cast()
231 setUConst(constant.getUConst()); in cast()
422 returnValue.setUConst(gl::WrappingSum<unsigned int>(lhs.uConst, rhs.uConst)); in add()
457 returnValue.setUConst(gl::WrappingDiff<unsigned int>(lhs.uConst, rhs.uConst)); in sub()
494 returnValue.setUConst(lhs.uConst * rhs.uConst); in mul()
522 returnValue.setUConst(uConst % constant.uConst); in operator %()
[all …]
DIntermNode.cpp69 result->setUConst(0u); in UndefinedConstantFoldingError()
2569 resultArray[i].setUConst(UINT_MAX); in FoldBinary()
2575 resultArray[i].setUConst(leftArray[i].getUConst() / in FoldBinary()
2581 resultArray[i].setUConst(leftArray[i].getUConst() % in FoldBinary()
2841 resultArray->setUConst( in foldUnaryNonComponentWise()
2860 resultArray->setUConst( in foldUnaryNonComponentWise()
2879 resultArray->setUConst( in foldUnaryNonComponentWise()
2898 resultArray->setUConst( in foldUnaryNonComponentWise()
2907 resultArray->setUConst( in foldUnaryNonComponentWise()
2987 resultArray[i].setUConst(0x80000000u); in foldUnaryComponentWise()
[all …]
DConstantUnion.h35 void setUConst(unsigned int u) in setUConst() function
Dglslang.y278 unionArray->setUConst($1.u);
Dglslang_tab_autogen.cpp2400 unionArray->setUConst((yyvsp[0].lex).u); in yyparse()
/third_party/glslang/glslang/Include/
DConstantUnion.h82 void setUConst(unsigned int u) in setUConst() function
450 case EbtUint: returnValue.setUConst(uConst + constant.uConst); break;
472 case EbtUint: returnValue.setUConst(uConst - constant.uConst); break;
494 case EbtUint: returnValue.setUConst(uConst * constant.uConst); break;
516 case EbtUint: returnValue.setUConst(uConst % constant.uConst); break;
606 case EbtInt: returnValue.setUConst(uConst >> constant.iConst); break;
607 case EbtUint: returnValue.setUConst(uConst >> constant.uConst); break;
609 case EbtInt8: returnValue.setUConst(uConst >> constant.i8Const); break;
610 case EbtUint8: returnValue.setUConst(uConst >> constant.u8Const); break;
611 case EbtInt16: returnValue.setUConst(uConst >> constant.i16Const); break;
[all …]
/third_party/glslang/glslang/MachineIndependent/
DConstant.cpp204 newConstArray[i].setUConst(0xFFFFFFFFu); in fold()
206 … newConstArray[i].setUConst(leftUnionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()
533 …case EbtUint: newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i… in fold()
683 newConstArray[i].setUConst(unionArray[i].getBConst()); break; in fold()
685 newConstArray[i].setUConst(unionArray[i].getIConst()); break; in fold()
711 newConstArray[i].setUConst(static_cast<unsigned int>(unionArray[i].getDConst())); break; in fold()
759 newConstArray[i].setUConst(unionArray[i].getI8Const()); break; in fold()
773 newConstArray[i].setUConst(unionArray[i].getU8Const()); break; in fold()
800 newConstArray[i].setUConst(unionArray[i].getI16Const()); break; in fold()
815 newConstArray[i].setUConst(unionArray[i].getU16Const()); break; in fold()
[all …]
DIntermediate.cpp2553 unionArray[0].setUConst(u8); in addConstantUnion()
2585 unionArray[0].setUConst(u); in addConstantUnion()
3854 case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \ in promoteConstantUnion()
3870 case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \ in promoteConstantUnion()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteUnaryMinusOperatorInt.cpp87 one->setUConst(1u); in visitUnary()
DDeclareAndInitBuiltinsForInstancedMultiview.cpp42 numberOfViewsUnsignedConstant->setUConst(numberOfViews); in InitializeViewIDAndInstanceID()
DRewriteAtomicCounters.cpp59 constantValue->setUConst(value); in CreateUIntConstant()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRewriteUnaryMinusOperatorInt.cpp92 one->setUConst(1u); in visitUnary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNode_util.cpp68 u[i].setUConst(0u); in CreateZeroNode()
137 u[0].setUConst(value); in CreateUIntNode()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DDeclareAndInitBuiltinsForInstancedMultiview.cpp43 numberOfViewsUnsignedConstant->setUConst(numberOfViews); in InitializeViewIDAndInstanceID()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNode_util.cpp68 u[i].setUConst(0u); in CreateZeroNode()

12