/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ConstantUnion.h | 50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break; in cast() 51 case EbtUInt: setIConst(static_cast<int>(constant.getUConst())); break; in cast() 52 case EbtBool: setIConst(static_cast<int>(constant.getBConst())); break; in cast() 53 case EbtFloat: setIConst(static_cast<int>(constant.getFConst())); break; in cast() 80 case EbtInt: setIConst(constant.getIConst()); break; in cast() 94 void setIConst(int i) {iConst = i; type = EbtInt; } in setIConst() function 247 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break; 261 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break; 275 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break; 289 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break; [all …]
|
D | Intermediate.cpp | 729 unionArray->setIConst(fields.offsets[i]); in addSwizzle() 793 u[0].setIConst(index); in CreateIndexNode() 1565 tempConstArray[i].setIConst(INT_MAX); in fold() 1568 tempConstArray[i].setIConst(unionArray[i].getIConst() / rightUnionArray[i].getIConst()); in fold() 1571 tempConstArray[i].setIConst(unionArray[i].getIConst() % rightUnionArray[i].getIConst()); in fold() 1789 case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold() 1805 case EbtInt: tempConstArray[i].setIConst(~unionArray[i].getIConst()); break; in fold() 1975 tempConstArray[i].setIConst(sw::bit_cast<int>(unionArray[i].getFConst())); in fold() 2057 leftUnionArray[i].setIConst(static_cast<int>(node->getIConst(i))); in promoteConstantUnion() 2060 leftUnionArray[i].setIConst(static_cast<int>(node->getUConst(i))); in promoteConstantUnion() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.cpp | 158 setIConst(static_cast<int>(constant.getIConst())); in cast() 161 setIConst(static_cast<int>(constant.getUConst())); in cast() 164 setIConst(static_cast<int>(constant.getBConst())); in cast() 167 setIConst(static_cast<int>(constant.getFConst())); in cast() 224 setIConst(constant.getIConst()); in cast() 415 returnValue.setIConst(gl::WrappingSum<int>(lhs.iConst, rhs.iConst)); in add() 450 returnValue.setIConst(gl::WrappingDiff<int>(lhs.iConst, rhs.iConst)); in sub() 485 returnValue.setIConst(gl::WrappingMul(lhs.iConst, rhs.iConst)); in mul() 515 returnValue.setIConst(iConst % constant.iConst); in operator %() 542 returnValue.setIConst(0); in rshift() [all …]
|
D | IntermNode.cpp | 65 result->setIConst(0); in UndefinedConstantFoldingError() 1919 constArray->setIConst(mOperand->getOutermostArraySize()); in fold() 2165 resultArray[i].setIConst(INT_MAX); in FoldBinary() 2182 resultArray[i].setIConst(0x7fffffff); in FoldBinary() 2186 resultArray[i].setIConst(lhs / divisor); in FoldBinary() 2202 resultArray[i].setIConst(0); in FoldBinary() 2206 resultArray[i].setIConst(lhs % divisor); in FoldBinary() 2625 resultArray[i].setIConst(std::numeric_limits<int>::min()); in foldUnaryComponentWise() 2629 resultArray[i].setIConst(-operandArray[i].getIConst()); in foldUnaryComponentWise() 2656 resultArray[i].setIConst(operandArray[i].getIConst()); in foldUnaryComponentWise() [all …]
|
D | ConstantUnion.h | 28 void setIConst(int i) in setIConst() function
|
D | SymbolTable_autogen.cpp | 11397 unionArray[0].setIConst(resources.MaxVertexAttribs); in initializeBuiltInVariables() 11406 unionArray[0].setIConst(resources.MaxVertexUniformVectors); in initializeBuiltInVariables() 11415 unionArray[0].setIConst(resources.MaxVertexTextureImageUnits); in initializeBuiltInVariables() 11424 unionArray[0].setIConst(resources.MaxCombinedTextureImageUnits); in initializeBuiltInVariables() 11433 unionArray[0].setIConst(resources.MaxTextureImageUnits); in initializeBuiltInVariables() 11442 unionArray[0].setIConst(resources.MaxFragmentUniformVectors); in initializeBuiltInVariables() 11450 unionArray[0].setIConst(resources.MaxVaryingVectors); in initializeBuiltInVariables() 11458 unionArray[0].setIConst(resources.MaxDrawBuffers); in initializeBuiltInVariables() 11467 unionArray[0].setIConst(resources.MaxDualSourceDrawBuffers); in initializeBuiltInVariables() 11476 unionArray[0].setIConst(resources.MaxVertexOutputVectors); in initializeBuiltInVariables() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.cpp | 162 setIConst(static_cast<int>(constant.getIConst())); in cast() 165 setIConst(static_cast<int>(constant.getUConst())); in cast() 168 setIConst(static_cast<int>(constant.getBConst())); in cast() 171 setIConst(static_cast<int>(constant.getFConst())); in cast() 228 setIConst(constant.getIConst()); in cast() 419 returnValue.setIConst(gl::WrappingSum<int>(lhs.iConst, rhs.iConst)); in add() 454 returnValue.setIConst(gl::WrappingDiff<int>(lhs.iConst, rhs.iConst)); in sub() 489 returnValue.setIConst(gl::WrappingMul(lhs.iConst, rhs.iConst)); in mul() 519 returnValue.setIConst(iConst % constant.iConst); in operator %() 546 returnValue.setIConst(0); in rshift() [all …]
|
D | IntermNode.cpp | 66 result->setIConst(0); in UndefinedConstantFoldingError() 2270 constArray->setIConst(mOperand->getOutermostArraySize()); in fold() 2516 resultArray[i].setIConst(INT_MAX); in FoldBinary() 2533 resultArray[i].setIConst(0x7fffffff); in FoldBinary() 2537 resultArray[i].setIConst(lhs / divisor); in FoldBinary() 2553 resultArray[i].setIConst(0); in FoldBinary() 2557 resultArray[i].setIConst(lhs % divisor); in FoldBinary() 2977 resultArray[i].setIConst(std::numeric_limits<int>::min()); in foldUnaryComponentWise() 2981 resultArray[i].setIConst(-operandArray[i].getIConst()); in foldUnaryComponentWise() 3008 resultArray[i].setIConst(operandArray[i].getIConst()); in foldUnaryComponentWise() [all …]
|
D | ConstantUnion.h | 30 void setIConst(int i) in setIConst() function
|
D | SymbolTable_ESSL_autogen.cpp | 24703 unionArray[0].setIConst(resources.MaxVertexAttribs); in initializeBuiltInVariables() 24712 unionArray[0].setIConst(resources.MaxVertexUniformVectors); in initializeBuiltInVariables() 24721 unionArray[0].setIConst(resources.MaxVertexTextureImageUnits); in initializeBuiltInVariables() 24730 unionArray[0].setIConst(resources.MaxCombinedTextureImageUnits); in initializeBuiltInVariables() 24739 unionArray[0].setIConst(resources.MaxTextureImageUnits); in initializeBuiltInVariables() 24748 unionArray[0].setIConst(resources.MaxFragmentUniformVectors); in initializeBuiltInVariables() 24757 unionArray[0].setIConst(resources.MaxVaryingVectors); in initializeBuiltInVariables() 24766 unionArray[0].setIConst(resources.MaxDrawBuffers); in initializeBuiltInVariables() 24775 unionArray[0].setIConst(resources.MaxDualSourceDrawBuffers); in initializeBuiltInVariables() 24784 unionArray[0].setIConst(resources.MaxVertexOutputVectors); in initializeBuiltInVariables() [all …]
|
D | SymbolTable_autogen.cpp | 39496 unionArray[0].setIConst(resources.MaxVertexAttribs); in initializeBuiltInVariables() 39505 unionArray[0].setIConst(resources.MaxVertexUniformVectors); in initializeBuiltInVariables() 39514 unionArray[0].setIConst(resources.MaxVertexTextureImageUnits); in initializeBuiltInVariables() 39523 unionArray[0].setIConst(resources.MaxCombinedTextureImageUnits); in initializeBuiltInVariables() 39532 unionArray[0].setIConst(resources.MaxTextureImageUnits); in initializeBuiltInVariables() 39541 unionArray[0].setIConst(resources.MaxFragmentUniformVectors); in initializeBuiltInVariables() 39550 unionArray[0].setIConst(resources.MaxVaryingVectors); in initializeBuiltInVariables() 39559 unionArray[0].setIConst(resources.MaxDrawBuffers); in initializeBuiltInVariables() 39568 unionArray[0].setIConst(resources.MaxDualSourceDrawBuffers); in initializeBuiltInVariables() 39577 unionArray[0].setIConst(resources.MaxVertexOutputVectors); in initializeBuiltInVariables() [all …]
|
/third_party/glslang/glslang/Include/ |
D | ConstantUnion.h | 76 void setIConst(int i) in setIConst() function 449 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break; 471 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break; 493 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break; 515 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break; 591 case EbtInt: returnValue.setIConst(iConst >> constant.iConst); break; 592 case EbtUint: returnValue.setIConst(iConst >> constant.uConst); break; 594 case EbtInt8: returnValue.setIConst(iConst >> constant.i8Const); break; 595 case EbtUint8: returnValue.setIConst(iConst >> constant.u8Const); break; 596 case EbtInt16: returnValue.setIConst(iConst >> constant.i16Const); break; [all …]
|
/third_party/glslang/glslang/MachineIndependent/ |
D | Constant.cpp | 195 newConstArray[i].setIConst(0x7FFFFFFF); in fold() 197 newConstArray[i].setIConst((int)-0x80000000ll); in fold() 199 … newConstArray[i].setIConst(leftUnionArray[i].getIConst() / rightUnionArray[i].getIConst()); in fold() 295 newConstArray[i].setIConst(0); in fold() 306 newConstArray[i].setIConst(0); in fold() 532 case EbtInt: newConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold() 624 newConstArray[i].setIConst(abs(unionArray[i].getIConst())); in fold() 633 newConstArray[i].setIConst(SIGN(unionArray[i].getIConst())); in fold() 681 newConstArray[i].setIConst(unionArray[i].getBConst()); break; in fold() 687 newConstArray[i].setIConst(unionArray[i].getUConst()); break; in fold() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 65 u[i].setIConst(0); in CreateZeroNode() 80 u[i].setIConst(42); in CreateZeroNode() 128 u[0].setIConst(index); in CreateIndexNode()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 65 u[i].setIConst(0); in CreateZeroNode() 80 u[i].setIConst(42); in CreateZeroNode() 128 u[0].setIConst(index); in CreateIndexNode()
|
D | DriverUniform.cpp | 207 uniformIndex->setIConst(static_cast<int>(fieldIndex)); in createDriverUniformRef()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RemoveArrayLengthMethod.cpp | 61 constArray->setIConst(node->getOperand()->getOutermostArraySize()); in visitUnary()
|
D | RewriteUnaryMinusOperatorInt.cpp | 83 one->setIConst(1); in visitUnary()
|
D | RemoveDynamicIndexing.cpp | 73 constant->setIConst(i); in CreateIntConstantNode()
|
D | RewriteAtomicCounters.cpp | 557 offsetFieldIndex->setIConst(1); in convertFunctionArgument()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RemoveArrayLengthMethod.cpp | 58 constArray->setIConst(node->getOperand()->getOutermostArraySize()); in visitUnary()
|
D | RemoveDynamicIndexing.cpp | 76 constant->setIConst(i); in CreateIntConstantNode()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RewriteUnaryMinusOperatorInt.cpp | 88 one->setIConst(1); in visitUnary()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | IntermNode_test.cpp | 162 constValue[0].setIConst(101); in TEST_F()
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | IntermNode_test.cpp | 162 constValue[0].setIConst(101); in TEST_F()
|