Searched refs:setFConst (Results 1 – 16 of 16) sorted by relevance
/external/swiftshader/src/OpenGL/compiler/ |
D | Intermediate.cpp | 1324 tempConstArray[0].setFConst( invDet * m11); in CreateInverse() 1325 tempConstArray[1].setFConst(-invDet * m01); in CreateInverse() 1326 tempConstArray[2].setFConst(-invDet * m10); in CreateInverse() 1327 tempConstArray[3].setFConst( invDet * m00); in CreateInverse() 1341 …tempConstArray[0].setFConst(invDet * determinant2(m11, m12, m21, m22)); // m00 = invDet * (m11 * … in CreateInverse() 1342 …tempConstArray[1].setFConst(invDet * determinant2(m12, m10, m22, m20)); // m01 = -invDet * (m10 * … in CreateInverse() 1343 …tempConstArray[2].setFConst(invDet * determinant2(m10, m11, m20, m21)); // m02 = invDet * (m10 * … in CreateInverse() 1344 …tempConstArray[3].setFConst(invDet * determinant2(m21, m22, m01, m02)); // m10 = -invDet * (m01 * … in CreateInverse() 1345 …tempConstArray[4].setFConst(invDet * determinant2(m00, m02, m20, m22)); // m11 = invDet * (m00 * … in CreateInverse() 1346 …tempConstArray[5].setFConst(invDet * determinant2(m20, m21, m00, m01)); // m12 = -invDet * (m00 * … in CreateInverse() [all …]
|
D | ConstantUnion.h | 40 case EbtInt: setFConst(static_cast<float>(constant.getIConst())); break; in cast() 41 case EbtUInt: setFConst(static_cast<float>(constant.getUConst())); break; in cast() 42 case EbtBool: setFConst(static_cast<float>(constant.getBConst())); break; in cast() 43 case EbtFloat: setFConst(static_cast<float>(constant.getFConst())); break; in cast() 83 case EbtFloat: setFConst(constant.getFConst()); break; in cast() 96 void setFConst(float f) {fConst = f; type = EbtFloat; } in setFConst() function 249 case EbtFloat: returnValue.setFConst(fConst + constant.fConst); break; 263 case EbtFloat: returnValue.setFConst(fConst - constant.fConst); break; 277 case EbtFloat: returnValue.setFConst(fConst * constant.fConst); break;
|
D | parseConst.cpp | 209 leftUnionArray[i].setFConst(0.0f); in visitConstantUnion()
|
D | OutputASM.cpp | 241 constants[0].setFConst(x); in Constant() 242 constants[1].setFConst(y); in Constant() 243 constants[2].setFConst(z); in Constant() 244 constants[3].setFConst(w); in Constant()
|
D | ParseHelper.cpp | 2589 unionArray->setFConst(0.0f); in addIndexExpression() 3710 unionArray->setFConst(0.0f); in addFunctionCallOrMethod()
|
D | glslang.y | 264 unionArray->setFConst($1.f);
|
D | glslang_tab.cpp | 2423 unionArray->setFConst((yyvsp[0].lex).f); in yyparse()
|
/external/angle/src/compiler/translator/ |
D | IntermNode.cpp | 62 result->setFConst(0.0f); in UndefinedConstantFoldingError() 139 resultArray[i].setFConst(resultElements[i]); in SetUnionArrayFromMatrix() 846 constArray[resultIndex].setFConst(0.0f); in getConstantValue() 881 constArray[resultIndex].setFConst(1.0f); in getConstantValue() 885 constArray[resultIndex].setFConst(0.0f); in getConstantValue() 2227 resultArray[resultRows * column + row].setFConst(0.0f); in FoldBinary() 2230 resultArray[resultRows * column + row].setFConst( in FoldBinary() 2261 resultArray[i].setFConst(std::numeric_limits<float>::quiet_NaN()); in FoldBinary() 2268 resultArray[i].setFConst(negativeResult in FoldBinary() 2279 resultArray[i].setFConst(std::numeric_limits<float>::quiet_NaN()); in FoldBinary() [all …]
|
D | ConstantUnion.cpp | 143 setFConst(static_cast<float>(constant.getIConst())); in cast() 146 setFConst(static_cast<float>(constant.getUConst())); in cast() 149 setFConst(static_cast<float>(constant.getBConst())); in cast() 152 setFConst(static_cast<float>(constant.getFConst())); in cast() 237 setFConst(constant.getFConst()); in cast() 425 returnValue.setFConst(CheckedSum(lhs.fConst, rhs.fConst, diag, line)); in add() 434 returnValue.setFConst(CheckedSum(lhs.getFConst(), rhs.getFConst(), diag, line)); in add() 460 returnValue.setFConst(CheckedDiff(lhs.fConst, rhs.fConst, diag, line)); in sub() 469 returnValue.setFConst(CheckedDiff(lhs.getFConst(), rhs.getFConst(), diag, line)); in sub() 497 returnValue.setFConst(CheckedMul(lhs.fConst, rhs.fConst, diag, line)); in mul() [all …]
|
D | ConstantUnion.h | 40 void setFConst(float f) in setFConst() function
|
D | glslang.y | 283 unionArray->setFConst($1.f);
|
D | glslang_tab_autogen.cpp | 2410 unionArray->setFConst((yyvsp[0].lex).f); in yyparse()
|
/external/angle/src/compiler/translator/tree_ops/ |
D | ClampPointSize.cpp | 34 maxPointSizeConstant->setFConst(maxPointSize); in ClampPointSize()
|
/external/angle/src/compiler/translator/tree_ops/gl/ |
D | ClampFragDepth.cpp | 36 maxFragDepthConstant->setFConst(1.0); in ClampFragDepth()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | ExpandIntegerPowExpressions.cpp | 134 oneVal->setFConst(1.0f); in visitAggregate()
|
/external/angle/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 62 u[i].setFConst(0.0f); in CreateZeroNode() 119 u[0].setFConst(value); in CreateFloatNode()
|