Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/
DStaticType.h44 unsigned char primarySize, in BuildStaticMangledName() argument
48 name.name[0] = TType::GetSizeMangledName(primarySize, secondarySize); in BuildStaticMangledName()
68 unsigned char primarySize, in BuildStaticArrayMangledName() argument
74 BuildStaticMangledName(basicType, precision, qualifier, primarySize, secondarySize); in BuildStaticArrayMangledName()
94 unsigned char primarySize,
97 BuildStaticMangledName(basicType, precision, qualifier, primarySize, secondarySize);
103 unsigned char primarySize,
111 primarySize,
130 unsigned char primarySize,
136 primarySize,
[all …]
DTypes.h124 primarySize(ps), in TType()
143 primarySize(t.primarySize), in TType()
177 int getNominalSize() const { return primarySize; } in getNominalSize()
182 return primarySize; in getCols()
198 bool isMatrix() const { return primarySize > 1 && secondarySize > 1; } in isMatrix()
199 bool isNonSquareMatrix() const { return isMatrix() && primarySize != secondarySize; } in isNonSquareMatrix()
240 bool isVector() const { return primarySize > 1 && secondarySize == 1; } in isVector()
241 bool isVectorArray() const { return primarySize > 1 && secondarySize == 1 && isArray(); } in isVectorArray()
242 bool isRank0() const { return primarySize == 1 && secondarySize == 1; } in isRank0()
245 return primarySize == 1 && secondarySize == 1 && !mStructure && !isArray(); in isScalar()
[all …]
DTypes.cpp182 primarySize(p.getPrimarySize()), in TType()
191 ASSERT(primarySize <= 4); in TType()
234 primarySize = t.primarySize; in operator =()
450 TString mangledName(1, GetSizeMangledName(primarySize, secondarySize)); in buildMangledName()
505 totalSize = primarySize * secondarySize; in getObjectSize()
575 return (type == right.type && primarySize == right.primarySize && in sameNonArrayType()
637 if (primarySize != ps) in setPrimarySize()
640 primarySize = ps; in setPrimarySize()
711 primarySize = secondarySize; in toMatrixColumnType()
922 typeSpecifierNonArray.primarySize = 1; in initializeBasicType()
DBuildSPIRV.h88 uint8_t primarySize = 1; member
146 type.primarySize != type.secondarySize && in operator()
169 ASSERT(type.primarySize > 0 && type.primarySize <= 4); in operator()
174 static_cast<uint8_t>((type.primarySize - 1) | (type.secondarySize - 1) << 2 | in operator()
DBuildSPIRV.cpp44 return a.type == b.type && a.primarySize == b.primarySize && in operator ==()
156 : GLVariableType(TType(type.type, type.primarySize, type.secondarySize)); in SpirvTypeToShaderVariable()
397 spirvType.primarySize = static_cast<uint8_t>(type.getNominalSize()); in getSpirvType()
481 type.primarySize = static_cast<uint8_t>(size); in getBasicTypeId()
647 columnType.primarySize = columnType.secondarySize; in declareType()
655 spirv::LiteralInteger(type.primarySize)); in declareType()
657 else if (type.primarySize > 1) in declareType()
662 componentType.primarySize = 1; in declareType()
669 spirv::LiteralInteger(type.primarySize)); in declareType()
1196 vecType.primarySize = static_cast<uint8_t>(size); in getNullVectorConstantHelper()
[all …]
DOutputSPIRV.cpp1493 paramComponentType.primarySize = 1; in createConstructorMatrixFromMatrix()
1607 componentType.primarySize = 1; in extractComponents()
1635 componentType.primarySize = 1; in extractComponents()
3409 drefSpirvType.primarySize = 1; in createImageTextureBuiltIn()
3547 spirvType.primarySize = 1; in createImageTextureBuiltIn()
/external/swiftshader/src/OpenGL/compiler/
DTypes.h246primarySize(s0), secondarySize(s1), array(false), arraySize(0), maxArraySize(0), arrayInformationT… in POOL_ALLOCATOR_NEW_DELETE()
253primarySize(s0), secondarySize(s1), array(a), arraySize(0), maxArraySize(0), arrayInformationType(… in type()
260primarySize(1), secondarySize(1), array(false), arraySize(0), maxArraySize(0), arrayInformationTyp… in type()
268primarySize(1), secondarySize(1), array(arraySizeIn > 0), arraySize(arraySizeIn), maxArraySize(0),… in TType()
303 int getNominalSize() const { return primarySize; } in getNominalSize()
304 void setNominalSize(int s) { primarySize = s; } in setNominalSize()
330 return primarySize * secondarySize; in getElementSize()
334 return primarySize; in getElementSize()
424 return isMatrix() ? secondarySize : primarySize; in registerSize()
446 bool isVector() const { return primarySize > 1 && !isMatrix(); } in isVector()
[all …]
DCompiler.cpp174 integer.primarySize = 1; in InitBuiltInSymbolTable()
180 floatingPoint.primarySize = 1; in InitBuiltInSymbolTable()
DSymbolTable.cpp38primarySize(p.primarySize), secondarySize(p.secondarySize), array(p.array), arraySize(p.arraySize)… in TType()
DintermOut.cpp56 …stream << static_cast<int>(primarySize) << "X" << static_cast<int>(secondarySize) << " matrix of "; in getCompleteString()
57 else if(primarySize > 1) in getCompleteString()
58 stream << static_cast<int>(primarySize) << "-component vector of "; in getCompleteString()
DIntermediate.cpp971 int primarySize = std::max(left->getNominalSize(), right->getNominalSize()); in promote() local
976 if (primarySize == 1) { in promote()
1045 static_cast<unsigned char>(primarySize), 1)); in promote()
1145 static_cast<unsigned char>(primarySize), static_cast<unsigned char>(secondarySize))); in promote()
DSymbolTable.h467 if (type.primarySize > 1 || type.secondarySize > 1 || type.array) in setDefaultPrecision()
DParseHelper.cpp633 if (pType.type != EbtBool || pType.array || (pType.primarySize > 1) || (pType.secondarySize > 1)) { in boolErrorCheck()
2941 type->setNominalSize(typeSpecifier.primarySize); in addStructDeclaratorList()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DFixTypeConstructors.cpp36 size_t primarySize = retType.getNominalSize() * retType.getArraySizeProduct(); in visitAggregate() local
49 if (argsSize <= primarySize) in visitAggregate()
54 if (argsSize > primarySize) in visitAggregate()
56 size_t swizzleSize = primarySize - beforeSize; in visitAggregate()