Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/
DIntermNode.cpp1878 TIntermSwizzle *operandSwizzle = mOperand->getAsSwizzleNode(); in fold() local
1879 if (operandSwizzle) in fold()
1883 bool hadDuplicateOffsets = operandSwizzle->hasDuplicateOffsets(); in fold()
1888 ASSERT(static_cast<size_t>(offset) < operandSwizzle->mSwizzleOffsets.size()); in fold()
1889 foldedOffsets.push_back(operandSwizzle->mSwizzleOffsets[offset]); in fold()
1891 operandSwizzle->mSwizzleOffsets = foldedOffsets; in fold()
1892 operandSwizzle->setType(getType()); in fold()
1893 operandSwizzle->setHasFoldedDuplicateOffsets(hadDuplicateOffsets); in fold()
1894 return operandSwizzle; in fold()