Home
last modified time | relevance | path

Searched refs:setUConst (Results 1 – 23 of 23) 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.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()
/external/angle/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.cpp68 result->setUConst(0u); in UndefinedConstantFoldingError()
2356 resultArray[i].setUConst(UINT_MAX); in FoldBinary()
2362 resultArray[i].setUConst(leftArray[i].getUConst() / in FoldBinary()
2368 resultArray[i].setUConst(leftArray[i].getUConst() % in FoldBinary()
2628 resultArray->setUConst( in foldUnaryNonComponentWise()
2647 resultArray->setUConst( in foldUnaryNonComponentWise()
2666 resultArray->setUConst( in foldUnaryNonComponentWise()
2685 resultArray->setUConst( in foldUnaryNonComponentWise()
2694 resultArray->setUConst( in foldUnaryNonComponentWise()
2774 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()
DParseContext.cpp2220 constArray[i].setUConst(static_cast<unsigned int>(workGroupSize[i])); in parseVariableIdentifier()
/external/angle/third_party/vulkan-deps/glslang/src/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 …]
/external/deqp-deps/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 …]
/external/deqp-deps/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.cpp2557 unionArray[0].setUConst(u8); in addConstantUnion()
2589 unionArray[0].setUConst(u); in addConstantUnion()
3858 case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \ in promoteConstantUnion()
3874 case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \ in promoteConstantUnion()
DParseHelper.cpp8498 … workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DConstant.cpp204 newConstArray[i].setUConst(0xFFFFFFFFu); in fold()
206 … newConstArray[i].setUConst(leftUnionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()
538 …case EbtUint: newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i… in fold()
682 newConstArray[i].setUConst(unionArray[i].getBConst()); break; in fold()
684 newConstArray[i].setUConst(unionArray[i].getIConst()); break; in fold()
710 newConstArray[i].setUConst(static_cast<unsigned int>(unionArray[i].getDConst())); break; in fold()
758 newConstArray[i].setUConst(unionArray[i].getI8Const()); break; in fold()
772 newConstArray[i].setUConst(unionArray[i].getU8Const()); break; in fold()
799 newConstArray[i].setUConst(unionArray[i].getI16Const()); break; in fold()
814 newConstArray[i].setUConst(unionArray[i].getU16Const()); break; in fold()
[all …]
DIntermediate.cpp2557 unionArray[0].setUConst(u8); in addConstantUnion()
2589 unionArray[0].setUConst(u); in addConstantUnion()
3863 case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \ in promoteConstantUnion()
3879 case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \ in promoteConstantUnion()
DParseHelper.cpp8966 … workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteUnaryMinusOperatorInt.cpp92 one->setUConst(1u); in visitUnary()
/external/angle/src/compiler/translator/tree_util/
DIntermNode_util.cpp68 u[i].setUConst(0u); in CreateZeroNode()
137 u[0].setUConst(value); in CreateUIntNode()
/external/angle/src/compiler/translator/tree_ops/
DDeclareAndInitBuiltinsForInstancedMultiview.cpp43 numberOfViewsUnsignedConstant->setUConst(numberOfViews); in InitializeViewIDAndInstanceID()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp9196 workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp9200 workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()