Searched refs:getFConst (Results 1 – 15 of 15) sorted by relevance
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()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 …]
92 float TConstantUnion::getFConst() const in getFConst() function in sh::TConstantUnion121 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 …]
59 float getFConst() const;
132 idx = static_cast<int>(constIdx->getFConst()); in visitBinary()
363 float getFConst(size_t index) const in getFConst() function365 return mUnionArrayPointer ? mUnionArrayPointer[index].getFConst() : 0.0f; in getFConst()
607 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
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()
81 isZero = (node->getFConst(i) == 0.0f); in visitConstantUnion()
89 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
142 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
130 index = static_cast<uint32_t>(constIndex->getFConst()); in visitBinary()
537 writeFloat(out, pConstUnion->getFConst()); in writeConstantUnion()
1560 float value = constUnion->getFConst(); in emitSingleConstant()
275 writeFloat(out, constUnion->getFConst()); in writeSingleConstant()
1297 componentId = mBuilder.getFloatConstant(castConstant.getFConst()); in createConstant()