Home
last modified time | relevance | path

Searched refs:getFConst (Results 1 – 19 of 19) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp1270 return determinant2(unionArray[0].getFConst(), in ComputeDeterminant()
1271 unionArray[1].getFConst(), in ComputeDeterminant()
1272 unionArray[2].getFConst(), in ComputeDeterminant()
1273 unionArray[3].getFConst()); in ComputeDeterminant()
1275 return determinant3(unionArray[0].getFConst(), in ComputeDeterminant()
1276 unionArray[1].getFConst(), in ComputeDeterminant()
1277 unionArray[2].getFConst(), in ComputeDeterminant()
1278 unionArray[3].getFConst(), in ComputeDeterminant()
1279 unionArray[4].getFConst(), in ComputeDeterminant()
1280 unionArray[5].getFConst(), in ComputeDeterminant()
[all …]
DConstantUnion.h43 case EbtFloat: setFConst(static_cast<float>(constant.getFConst())); break; in cast()
53 case EbtFloat: setIConst(static_cast<int>(constant.getFConst())); break; in cast()
63 case EbtFloat: setUConst(static_cast<unsigned int>(constant.getFConst())); break; in cast()
73 case EbtFloat: setBConst(constant.getFConst() != 0.0f); break; in cast()
83 case EbtFloat: setFConst(constant.getFConst()); break; in cast()
101 float getFConst() const { return fConst; } in getFConst() function
Dintermediate.h441 …float getFConst(int index) const { return unionArrayPointer ? unionArrayPointer[index].getFConst()… in getFConst() function
DintermOut.cpp389 out << node->getUnionArrayPointer()[i].getFConst(); in visitConstantUnion()
/external/angle/src/compiler/translator/
DIntermNode.cpp83 float f = paramArray[i].getFConst(); in VectorLength()
95 result += paramArray1[i].getFConst() * paramArray2[i].getFConst(); in VectorDotProduct()
115 elements.push_back(paramArray[i].getFConst()); in GetMatrix()
126 elements.push_back(paramArray[i].getFConst()); in GetMatrix()
2129 if (argValue[i].getFConst() < 0.0f) in fold()
2231 resultArray[resultRows * column + row].getFConst() + in FoldBinary()
2232 leftArray[i * leftRows + row].getFConst() * in FoldBinary()
2233 rightArray[column * rightRows + i].getFConst()); in FoldBinary()
2250 float dividend = leftArray[i].getFConst(); in FoldBinary()
2251 float divisor = rightArray[i].getFConst(); in FoldBinary()
[all …]
DConstantUnion.cpp92 float TConstantUnion::getFConst() const in getFConst() function in sh::TConstantUnion
121 return getFConst() == 0.0f; in isZero()
152 setFConst(static_cast<float>(constant.getFConst())); in cast()
171 setIConst(static_cast<int>(constant.getFConst())); in cast()
190 if (constant.getFConst() < 0.0f) in cast()
194 static_cast<unsigned int>(static_cast<int>(constant.getFConst()))); in cast()
198 setUConst(static_cast<unsigned int>(constant.getFConst())); in cast()
218 setBConst(constant.getFConst() != 0.0f); in cast()
237 setFConst(constant.getFConst()); in cast()
322 return constant.getFConst() == getFConst(); in operator ==()
[all …]
DConstantUnion.h59 float getFConst() const;
DValidateClipCullDistance.cpp120 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
DIntermNode.h345 float getFConst(size_t index) const in getFConst() function
347 return mUnionArrayPointer ? mUnionArrayPointer[index].getFConst() : 0.0f; in getFConst()
DOutputTree.cpp607 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
DOutputGLSLBase.cpp467 writeFloat(out, pConstUnion->getFConst()); in writeConstantUnion()
DOutputHLSL.cpp267 writeFloat(out, constUnion->getFConst()); in writeSingleConstant()
DOutputSPIRV.cpp1071 componentId = mBuilder.getFloatConstant(castConstant.getFConst()); in createConstant()
/external/angle/src/tests/test_utils/
DConstantFoldingTest.h81 return gl::isInf(node.getFConst()) && node.getFConst() > 0; in isEqual()
85 return gl::isInf(node.getFConst()) && node.getFConst() < 0; in isEqual()
90 return gl::isNaN(node.getFConst()); in isEqual()
92 return mFaultTolerance >= fabsf(node.getFConst() - value); in isEqual()
DShaderCompileTreeTest.cpp81 isZero = (node->getFConst(i) == 0.0f); in visitConstantUnion()
/external/angle/src/compiler/translator/tree_ops/d3d/
DExpandIntegerPowExpressions.cpp89 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
/external/angle/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp136 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp185 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DEmitMetal.cpp1339 mOut << constUnion->getFConst() << "f"; in emitSingleConstant()