Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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()
/third_party/flutter/skia/third_party/externals/angle2/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()
1991 if (argValue[i].getFConst() < 0.0f) in fold()
2093 resultArray[resultRows * column + row].getFConst() + in FoldBinary()
2094 leftArray[i * leftRows + row].getFConst() * in FoldBinary()
2095 rightArray[column * rightRows + i].getFConst()); in FoldBinary()
2112 float dividend = leftArray[i].getFConst(); in FoldBinary()
2113 float divisor = rightArray[i].getFConst(); in FoldBinary()
[all …]
DConstantUnion.cpp88 float TConstantUnion::getFConst() const in getFConst() function in sh::TConstantUnion
117 return getFConst() == 0.0f; in isZero()
148 setFConst(static_cast<float>(constant.getFConst())); in cast()
167 setIConst(static_cast<int>(constant.getFConst())); in cast()
186 if (constant.getFConst() < 0.0f) in cast()
190 static_cast<unsigned int>(static_cast<int>(constant.getFConst()))); in cast()
194 setUConst(static_cast<unsigned int>(constant.getFConst())); in cast()
214 setBConst(constant.getFConst() != 0.0f); in cast()
233 setFConst(constant.getFConst()); in cast()
318 return constant.getFConst() == getFConst(); in operator ==()
[all …]
DConstantUnion.h57 float getFConst() const;
DIntermNode.h328 float getFConst(size_t index) const in getFConst() function
330 return mUnionArrayPointer ? mUnionArrayPointer[index].getFConst() : 0.0f; in getFConst()
DOutputTree.cpp583 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
DOutputGLSLBase.cpp429 writeFloat(out, pConstUnion->getFConst()); in writeConstantUnion()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DIntermNode.cpp84 float f = paramArray[i].getFConst(); in VectorLength()
96 result += paramArray1[i].getFConst() * paramArray2[i].getFConst(); in VectorDotProduct()
116 elements.push_back(paramArray[i].getFConst()); in GetMatrix()
127 elements.push_back(paramArray[i].getFConst()); in GetMatrix()
2342 if (argValue[i].getFConst() < 0.0f) in fold()
2444 resultArray[resultRows * column + row].getFConst() + in FoldBinary()
2445 leftArray[i * leftRows + row].getFConst() * in FoldBinary()
2446 rightArray[column * rightRows + i].getFConst()); in FoldBinary()
2463 float dividend = leftArray[i].getFConst(); in FoldBinary()
2464 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.h363 float getFConst(size_t index) const in getFConst() function
365 return mUnionArrayPointer ? mUnionArrayPointer[index].getFConst() : 0.0f; in getFConst()
DOutputTree.cpp607 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
DOutputGLSLBase.cpp494 writeFloat(out, pConstUnion->getFConst()); in writeConstantUnion()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DExpandIntegerPowExpressions.cpp82 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DExpandIntegerPowExpressions.cpp89 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp138 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp165 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()

12