Lines Matching defs:rightNode
83 const TIntermConstantUnion *rightNode = rightConstantNode->getAsConstantUnion();
85 TConstUnionArray rightUnionArray = rightNode->getConstArray();
92 newComps = rightNode->getMatrixCols() * getMatrixRows();
98 newComps = rightNode->getMatrixCols();
105 TConstUnionArray smearedArray(newComps, rightNode->getConstArray()[0]);
110 rightUnionArray = rightNode->getConstArray();
113 returnType.shallowCopy(rightNode->getType());
139 for (int column = 0; column < rightNode->getMatrixCols(); column++) {
141 for (int i = 0; i < rightNode->getMatrixRows(); i++)
142 sum += leftUnionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode->getMatrixRows() + i].getDConst();
146 returnType.shallowCopy(TType(getType().getBasicType(), EvqConst, 0, rightNode->getMatrixCols(), getMatrixRows()));
236 for (int j = 0; j < rightNode->getVectorSize(); j++) {
246 for (int i = 0; i < rightNode->getMatrixCols(); i++) {
249 sum += leftUnionArray[j].getDConst() * rightUnionArray[i*rightNode->getMatrixRows() + j].getDConst();
253 returnType.shallowCopy(TType(getBasicType(), EvqConst, rightNode->getMatrixCols()));
344 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray);
348 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray);