Lines Matching refs:initList
4374 TIntermAggregate* initList = new TIntermAggregate(EOpNull); in decomposeSampleMethods() local
4377 initList->getSequence().push_back(argOffsets[offsetNum]); in decomposeSampleMethods()
4379 argOffset = addConstructor(loc, initList, arrayType); in decomposeSampleMethods()
7964 TIntermAggregate* initList = initializer->getAsAggregate(); in convertInitializerList() local
7965 if (initList == nullptr || initList->getOp() != EOpNull) { in convertInitializerList()
7972 initList = intermediate.makeAggregate(initializer); in convertInitializerList()
7988 arrayType.changeOuterArraySize((int)initList->getSequence().size()); in convertInitializerList()
7991 if (arrayType.isArrayOfArrays() && initList->getSequence().size() > 0) { in convertInitializerList()
7992 TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped(); in convertInitializerList()
8003 lengthenList(loc, initList->getSequence(), arrayType.getOuterArraySize(), scalarInit); in convertInitializerList()
8008 initList->getSequence()[i] = convertInitializerList(loc, elementType, in convertInitializerList()
8009 … initList->getSequence()[i]->getAsTyped(), scalarInit); in convertInitializerList()
8010 if (initList->getSequence()[i] == nullptr) in convertInitializerList()
8014 return addConstructor(loc, initList, arrayType); in convertInitializerList()
8017 for (size_t i = initList->getSequence().size(); i < type.getStruct()->size(); ++i) { in convertInitializerList()
8025 …lengthenList(loc, initList->getSequence(), static_cast<int>(type.getStruct()->size()), scalarInit); in convertInitializerList()
8027 if (type.getStruct()->size() != initList->getSequence().size()) { in convertInitializerList()
8032 initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, in convertInitializerList()
8033 … initList->getSequence()[i]->getAsTyped(), scalarInit); in convertInitializerList()
8034 if (initList->getSequence()[i] == nullptr) in convertInitializerList()
8038 if (type.computeNumComponents() == (int)initList->getSequence().size()) { in convertInitializerList()
8044 lengthenList(loc, initList->getSequence(), type.getMatrixCols(), scalarInit); in convertInitializerList()
8046 if (type.getMatrixCols() != (int)initList->getSequence().size()) { in convertInitializerList()
8052 initList->getSequence()[i] = convertInitializerList(loc, vectorType, in convertInitializerList()
8053 … initList->getSequence()[i]->getAsTyped(), scalarInit); in convertInitializerList()
8054 if (initList->getSequence()[i] == nullptr) in convertInitializerList()
8060 lengthenList(loc, initList->getSequence(), type.getVectorSize(), scalarInit); in convertInitializerList()
8063 if (type.getVectorSize() != (int)initList->getSequence().size()) { in convertInitializerList()
8070 lengthenList(loc, initList->getSequence(), 1, scalarInit); in convertInitializerList()
8072 if ((int)initList->getSequence().size() != 1) { in convertInitializerList()
8084 if (initList->getSequence().size() == 1) in convertInitializerList()
8085 emulatedConstructorArguments = initList->getSequence()[0]->getAsTyped(); in convertInitializerList()
8087 emulatedConstructorArguments = initList; in convertInitializerList()