/external/angle/src/compiler/translator/ |
D | StaticType.h | 44 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 …]
|
D | Types.h | 124 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 …]
|
D | Types.cpp | 182 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()
|
D | BuildSPIRV.h | 88 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()
|
D | BuildSPIRV.cpp | 44 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 …]
|
D | OutputSPIRV.cpp | 1493 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/ |
D | Types.h | 246 …primarySize(s0), secondarySize(s1), array(false), arraySize(0), maxArraySize(0), arrayInformationT… in POOL_ALLOCATOR_NEW_DELETE() 253 …primarySize(s0), secondarySize(s1), array(a), arraySize(0), maxArraySize(0), arrayInformationType(… in type() 260 …primarySize(1), secondarySize(1), array(false), arraySize(0), maxArraySize(0), arrayInformationTyp… in type() 268 …primarySize(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 …]
|
D | Compiler.cpp | 174 integer.primarySize = 1; in InitBuiltInSymbolTable() 180 floatingPoint.primarySize = 1; in InitBuiltInSymbolTable()
|
D | SymbolTable.cpp | 38 …primarySize(p.primarySize), secondarySize(p.secondarySize), array(p.array), arraySize(p.arraySize)… in TType()
|
D | intermOut.cpp | 56 …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()
|
D | Intermediate.cpp | 971 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()
|
D | SymbolTable.h | 467 if (type.primarySize > 1 || type.secondarySize > 1 || type.array) in setDefaultPrecision()
|
D | ParseHelper.cpp | 633 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/ |
D | FixTypeConstructors.cpp | 36 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()
|