/external/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()
|
/external/angle/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() 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 …]
|
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 | 345 float getFConst(size_t index) const in getFConst() function 347 return mUnionArrayPointer ? mUnionArrayPointer[index].getFConst() : 0.0f; in getFConst()
|
D | OutputTree.cpp | 607 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
|
D | OutputGLSLBase.cpp | 467 writeFloat(out, pConstUnion->getFConst()); in writeConstantUnion()
|
D | OutputHLSL.cpp | 267 writeFloat(out, constUnion->getFConst()); in writeSingleConstant()
|
D | OutputSPIRV.cpp | 1071 componentId = mBuilder.getFloatConstant(castConstant.getFConst()); in createConstant()
|
/external/angle/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()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | ExpandIntegerPowExpressions.cpp | 89 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
|
/external/angle/src/compiler/translator/tree_util/ |
D | ReplaceClipCullDistanceVariable.cpp | 136 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | ReplaceForShaderFramebufferFetch.cpp | 185 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | EmitMetal.cpp | 1339 mOut << constUnion->getFConst() << "f"; in emitSingleConstant()
|