Home
last modified time | relevance | path

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

/external/angle/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()
2360 if (argValue[i].getFConst() < 0.0f) in fold()
2462 resultArray[resultRows * column + row].getFConst() + in FoldBinary()
2463 leftArray[i * leftRows + row].getFConst() * in FoldBinary()
2464 rightArray[column * rightRows + i].getFConst()); in FoldBinary()
2481 float dividend = leftArray[i].getFConst(); in FoldBinary()
2482 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()
332 return constant.getFConst() == getFConst(); in operator ==()
[all …]
DConstantUnion.h59 float getFConst() const;
DValidateClipCullDistance.cpp132 idx = static_cast<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()
/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/hlsl/
DExpandIntegerPowExpressions.cpp89 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
/external/angle/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp142 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
/external/angle/src/compiler/translator/tree_ops/spirv/
DEmulateFramebufferFetch.cpp130 index = static_cast<uint32_t>(constIndex->getFConst()); in visitBinary()
/external/angle/src/compiler/translator/glsl/
DOutputGLSLBase.cpp537 writeFloat(out, pConstUnion->getFConst()); in writeConstantUnion()
/external/angle/src/compiler/translator/msl/
DEmitMetal.cpp1560 float value = constUnion->getFConst(); in emitSingleConstant()
/external/angle/src/compiler/translator/hlsl/
DOutputHLSL.cpp275 writeFloat(out, constUnion->getFConst()); in writeSingleConstant()
/external/angle/src/compiler/translator/spirv/
DOutputSPIRV.cpp1297 componentId = mBuilder.getFloatConstant(castConstant.getFConst()); in createConstant()