Lines Matching refs:rightNode
112 const TIntermConstantUnion *rightNode = rightConstantNode->getAsConstantUnion(); in fold() local
114 TConstUnionArray rightUnionArray = rightNode->getConstArray(); in fold()
121 newComps = rightNode->getMatrixCols() * getMatrixRows(); in fold()
127 newComps = rightNode->getMatrixCols(); in fold()
134 TConstUnionArray smearedArray(newComps, rightNode->getConstArray()[0]); in fold()
139 rightUnionArray = rightNode->getConstArray(); in fold()
142 returnType.shallowCopy(rightNode->getType()); in fold()
168 for (int column = 0; column < rightNode->getMatrixCols(); column++) { in fold()
170 for (int i = 0; i < rightNode->getMatrixRows(); i++) in fold()
171 …Array[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode->getMatrixRows()… in fold()
175 …returnType.shallowCopy(TType(getType().getBasicType(), EvqConst, 0, rightNode->getMatrixCols(), ge… in fold()
264 for (int j = 0; j < rightNode->getVectorSize(); j++) { in fold()
274 for (int i = 0; i < rightNode->getMatrixCols(); i++) { in fold()
277 …sum += leftUnionArray[j].getDConst() * rightUnionArray[i*rightNode->getMatrixRows() + j].getDConst… in fold()
281 returnType.shallowCopy(TType(getBasicType(), EvqConst, rightNode->getMatrixCols())); in fold()
375 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray); in fold()
379 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray); in fold()