Home
last modified time | relevance | path

Searched refs:setFConst (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp1324 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 …]
DConstantUnion.h40 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;
DparseConst.cpp209 leftUnionArray[i].setFConst(0.0f); in visitConstantUnion()
DOutputASM.cpp241 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()
DParseHelper.cpp2589 unionArray->setFConst(0.0f); in addIndexExpression()
3710 unionArray->setFConst(0.0f); in addFunctionCallOrMethod()
Dglslang.y264 unionArray->setFConst($1.f);
Dglslang_tab.cpp2423 unionArray->setFConst((yyvsp[0].lex).f); in yyparse()
/external/angle/src/compiler/translator/
DIntermNode.cpp62 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 …]
DConstantUnion.cpp143 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 …]
DConstantUnion.h40 void setFConst(float f) in setFConst() function
Dglslang.y283 unionArray->setFConst($1.f);
Dglslang_tab_autogen.cpp2410 unionArray->setFConst((yyvsp[0].lex).f); in yyparse()
/external/angle/src/compiler/translator/tree_ops/
DClampPointSize.cpp34 maxPointSizeConstant->setFConst(maxPointSize); in ClampPointSize()
/external/angle/src/compiler/translator/tree_ops/gl/
DClampFragDepth.cpp36 maxFragDepthConstant->setFConst(1.0); in ClampFragDepth()
/external/angle/src/compiler/translator/tree_ops/d3d/
DExpandIntegerPowExpressions.cpp134 oneVal->setFConst(1.0f); in visitAggregate()
/external/angle/src/compiler/translator/tree_util/
DIntermNode_util.cpp62 u[i].setFConst(0.0f); in CreateZeroNode()
119 u[0].setFConst(value); in CreateFloatNode()