Home
last modified time | relevance | path

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

/external/deqp-deps/glslang/glslang/MachineIndependent/
DIntermediate.cpp326 child = addConversion(op, TType(newType, EvqTemporary, child->getVectorSize(), in addUnaryMath()
712 …TType newType(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatr… in createConversion()
1082 if (node->getVectorSize() == 1) in addUniShapeConversion()
1143 if (lhsNode->getVectorSize() == 1 || rhsNode->getVectorSize() == 1) in addBiShapeConversion()
1151 if (rhsNode->getVectorSize() == 1) in addBiShapeConversion()
1260 …if (type.getVectorSize() == 4 && sourceType.getMatrixCols() == 2 && sourceType.getMatrixRows() == … in addShapeConversion()
1270 if (sourceType.getVectorSize() > type.getVectorSize()) in addShapeConversion()
1274 … if (sourceType.getVectorSize() == 4 && type.getMatrixCols() == 2 && type.getMatrixRows() == 2) in addShapeConversion()
1285 (node->isVector() && type.isVector() && node->getVectorSize() > type.getVectorSize())) in addShapeConversion()
1888 switch(type.getVectorSize()) { in mapTypeToConstructorOp()
[all …]
DSymbolTable.cpp121 switch (sampler.getVectorSize()) { in buildMangledName()
148 if (getVectorSize() > 0) in buildMangledName()
149 mangledName += static_cast<char>('0' + getVectorSize()); in buildMangledName()
DConstant.cpp264 for (int j = 0; j < rightNode->getVectorSize(); j++) { in fold()
276 for (int j = 0; j < getVectorSize(); j++) in fold()
1029 objectSize = children[0]->getAsTyped()->getType().getVectorSize() * in fold()
1030 children[1]->getAsTyped()->getType().getVectorSize(); in fold()
1034 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold()
1035 children[1]->getAsTyped()->getType().getVectorSize()); in fold()
1039 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold()
1040 children[2]->getAsTyped()->getType().getVectorSize()); in fold()
1055 int arg0comp = std::min(comp, children[0]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1058 arg1comp = std::min(comp, children[1]->getAsTyped()->getType().getVectorSize() - 1); in fold()
[all …]
DlinkValidate.cpp1044 if (size == 2 && type.getBasicType() == EbtDouble && type.getVectorSize() == 3 && in addUsedLocation()
1076 if (qualifier.hasComponent() || type.getVectorSize() > 0) { in addUsedLocation()
1077 … int consumedComponents = type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1); in addUsedLocation()
1202 if (type.getBasicType() == EbtDouble && type.getVectorSize() > 2) in computeTypeLocationSize()
1328 numComponents = type.getVectorSize(); in computeTypeXfbSize()
1488 switch (type.getVectorSize()) { in getBaseAlignment()
1495 size *= type.getVectorSize(); in getBaseAlignment()
1576 size *= type.getVectorSize(); in getScalarAlignment()
DParseContextBase.cpp262 if (index >= type.getVectorSize()) { in checkIndex()
264 index = type.getVectorSize() - 1; in checkIndex()
Dreflection.cpp591 int offset = type.getVectorSize() - 2; in mapToGlType()
687 if (type.getVectorSize() == 1) { in mapToGlType()
DParseHelper.cpp782 parseSwizzleSelector(loc, field, base->getVectorSize(), selectors); in handleDotDereference()
1398 length = type.getVectorSize(); in handleLengthMethod()
1873 for (int c = 0; c < type.getVectorSize(); ++c) { in builtInOpCheck()
2172 for (int c = 0; c < type.getVectorSize(); ++c) { in nonOpBuiltInCheck()
5392 …if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) … in layoutTypeCheck()
6487 if (type.getVectorSize() != (int)initList->getSequence().size()) { in convertInitializerList()
6620 …TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node… in constructBuiltIn()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp193 const int components = txType.getVectorSize(); in getLayoutFromTxType()
351 return std::all_of(compIsSet.begin(), compIsSet.begin() + var->getType().getVectorSize(), in handleLvalue()
782 const int vecSize = index->getType().getVectorSize(); in makeIntegerIndex()
959 parseSwizzleSelector(loc, field, base->getVectorSize(), selectors); in handleDotDereference()
969 if (base->getVectorSize() == 1) { in handleDotDereference()
1500 clipSemanticNSizeIn[loc] = type.getVectorSize(); in fixBuiltInIoType()
1502 clipSemanticNSizeOut[loc] = type.getVectorSize(); in fixBuiltInIoType()
1505 cullSemanticNSizeIn[loc] = type.getVectorSize(); in fixBuiltInIoType()
1507 cullSemanticNSizeOut[loc] = type.getVectorSize(); in fixBuiltInIoType()
2493 const int internalVectorSize = internalNode->getType().getVectorSize(); in assignClipCullDistance()
[all …]
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1083 virtual int getVectorSize() const { return type.getVectorSize(); } in getVectorSize() function
DTypes.h96 unsigned int getVectorSize() const { return vectorSize; } in getVectorSize() function
1483 …virtual int getVectorSize() const { return vectorSize; } // returns 1 for either scalar or vector… in getVectorSize() function
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp2280 if (glslangOperands[0]->getAsTyped()->getVectorSize() == 1) in visitAggregate()
3089 if (type.getVectorSize() > 1) in convertGlslangToSpvType()
3090 spvType = builder.makeVectorType(spvType, type.getVectorSize()); in convertGlslangToSpvType()
4075 int components = node->getType().getVectorSize();
4165 if (components != node->getType().getVectorSize())
4605 if (components != node->getType().getVectorSize())
7493 } else if (glslangType.getVectorSize() > 1) {
7494 for (unsigned int i = 0; i < (unsigned int)glslangType.getVectorSize(); ++i) {