Home
last modified time | relevance | path

Searched refs:getDConst (Results 1 – 5 of 5) sorted by relevance

/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp171 …ionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode->getMatrixRow… in fold()
183 if (rightUnionArray[i].getDConst() != 0.0) in fold()
184 … newConstArray[i].setDConst(leftUnionArray[i].getDConst() / rightUnionArray[i].getDConst()); in fold()
185 else if (leftUnionArray[i].getDConst() > 0.0) in fold()
187 else if (leftUnionArray[i].getDConst() < 0.0) in fold()
265 … sum += leftUnionArray[j*getMatrixRows() + i].getDConst() * rightUnionArray[j].getDConst(); in fold()
277 …sum += leftUnionArray[j].getDConst() * rightUnionArray[i*rightNode->getMatrixRows() + j].getDConst in fold()
462 sum += unionArray[i].getDConst() * unionArray[i].getDConst(); in fold()
468 newConstArray[i].setDConst(unionArray[i].getDConst() / length); in fold()
531 case EbtFloat: newConstArray[i].setDConst(-unionArray[i].getDConst()); break; in fold()
[all …]
DIntermediate.cpp3715 leftUnionArray[i].setIConst(static_cast<int>(rightUnionArray[i].getDConst())); in promoteConstantUnion()
3741 … leftUnionArray[i].setUConst(static_cast<unsigned int>(rightUnionArray[i].getDConst())); in promoteConstantUnion()
3767 leftUnionArray[i].setBConst(rightUnionArray[i].getDConst() != 0.0); in promoteConstantUnion()
3793 … leftUnionArray[i].setI64Const(static_cast<long long>(rightUnionArray[i].getDConst())); in promoteConstantUnion()
3819 … leftUnionArray[i].setU64Const(static_cast<unsigned long long>(rightUnionArray[i].getDConst())); in promoteConstantUnion()
DintermOut.cpp1195 OutputDouble(out, constUnion[i].getDConst(), extra); in OutputConstantUnion()
/external/deqp-deps/glslang/glslang/Include/
DConstantUnion.h126 double getDConst() const { return dConst; } in getDConst() function
924 sum += (*this)[comp].getDConst() * rhs[comp].getDConst(); in dot()
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp7522 …spvConsts.push_back(builder.makeFloatConstant(zero ? 0.0F : (float)consts[nextConst].getDConst()));
7525 … spvConsts.push_back(builder.makeDoubleConstant(zero ? 0.0 : consts[nextConst].getDConst()));
7528 …vConsts.push_back(builder.makeFloat16Constant(zero ? 0.0F : (float)consts[nextConst].getDConst()));
7569 …scalar = builder.makeFloatConstant(zero ? 0.0F : (float)consts[nextConst].getDConst(), specConstan…
7572 … scalar = builder.makeDoubleConstant(zero ? 0.0 : consts[nextConst].getDConst(), specConstant);
7575 …scalar = builder.makeFloat16Constant(zero ? 0.0F : (float)consts[nextConst].getDConst(), specConst…