/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | Intermediate.cpp | 1270 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 …]
|
D | ConstantUnion.h | 43 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
|
D | intermediate.h | 441 …float getFConst(int index) const { return unionArrayPointer ? unionArrayPointer[index].getFConst()… in getFConst() function
|
D | intermOut.cpp | 389 out << node->getUnionArrayPointer()[i].getFConst(); in visitConstantUnion()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | IntermNode.cpp | 83 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 …]
|
D | ConstantUnion.cpp | 88 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 …]
|
D | ConstantUnion.h | 57 float getFConst() const;
|
D | IntermNode.h | 328 float getFConst(size_t index) const in getFConst() function 330 return mUnionArrayPointer ? mUnionArrayPointer[index].getFConst() : 0.0f; in getFConst()
|
D | OutputTree.cpp | 583 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
|
D | OutputGLSLBase.cpp | 429 writeFloat(out, pConstUnion->getFConst()); in writeConstantUnion()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | IntermNode.cpp | 84 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 …]
|
D | ConstantUnion.cpp | 92 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 …]
|
D | ConstantUnion.h | 59 float getFConst() const;
|
D | ValidateClipCullDistance.cpp | 120 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
|
D | IntermNode.h | 363 float getFConst(size_t index) const in getFConst() function 365 return mUnionArrayPointer ? mUnionArrayPointer[index].getFConst() : 0.0f; in getFConst()
|
D | OutputTree.cpp | 607 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
|
D | OutputGLSLBase.cpp | 494 writeFloat(out, pConstUnion->getFConst()); in writeConstantUnion()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ConstantFoldingTest.h | 81 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()
|
D | ShaderCompileTreeTest.cpp | 81 isZero = (node->getFConst(i) == 0.0f); in visitConstantUnion()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ConstantFoldingTest.h | 81 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()
|
D | ShaderCompileTreeTest.cpp | 81 isZero = (node->getFConst(i) == 0.0f); in visitConstantUnion()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | ExpandIntegerPowExpressions.cpp | 82 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | ExpandIntegerPowExpressions.cpp | 89 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | ReplaceClipCullDistanceVariable.cpp | 138 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | ReplaceForShaderFramebufferFetch.cpp | 165 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
|