/third_party/skia/third_party/externals/angle2/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() 242 bool isVector() const { return primarySize > 1 && secondarySize == 1; } in isVector() 243 bool isVectorArray() const { return primarySize > 1 && secondarySize == 1 && isArray(); } in isVectorArray() 244 bool isRank0() const { return primarySize == 1 && secondarySize == 1; } in isRank0() 247 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() 718 primarySize = 1; in toComponentType() [all …]
|
D | BuildSPIRV.h | 95 uint8_t primarySize = 1; member 156 type.primarySize != type.secondarySize && in operator() 180 ASSERT(type.primarySize > 0 && type.primarySize <= 4); in operator() 185 static_cast<uint8_t>((type.primarySize - 1) | (type.secondarySize - 1) << 2 | in operator()
|
D | BuildSPIRV.cpp | 45 return a.type == b.type && a.primarySize == b.primarySize && in operator ==() 138 : GLVariableType(TType(type.type, type.primarySize, type.secondarySize)); in SpirvTypeToShaderVariable() 527 spirvType.primarySize = static_cast<uint8_t>(type.getNominalSize()); in getSpirvType() 622 type.primarySize = static_cast<uint8_t>(size); in getBasicTypeId() 820 columnType.primarySize = columnType.secondarySize; in declareType() 828 spirv::LiteralInteger(type.primarySize)); in declareType() 830 else if (type.primarySize > 1) in declareType() 835 componentType.primarySize = 1; in declareType() 842 spirv::LiteralInteger(type.primarySize)); in declareType() 1378 vecType.primarySize = static_cast<uint8_t>(size); in getNullVectorConstantHelper() [all …]
|
D | OutputSPIRV.cpp | 3792 drefSpirvType.primarySize = 1; in createImageTextureBuiltIn() 3930 spirvType.primarySize = 1; in createImageTextureBuiltIn()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | StaticType.h | 44 unsigned char primarySize, in BuildStaticMangledName() argument 48 name.name[0] = TType::GetSizeMangledName(primarySize, secondarySize); in BuildStaticMangledName() 64 unsigned char primarySize, 67 BuildStaticMangledName(basicType, precision, qualifier, primarySize, secondarySize); 83 unsigned char primarySize, 89 primarySize, 91 kMangledNameInstance<basicType, precision, qualifier, primarySize, secondarySize>.name); 102 unsigned char primarySize, 106 static_assert(1 <= primarySize && primarySize <= 4, "primarySize out of bounds"); in Get() 108 return &Helpers::instance<basicType, precision, qualifier, primarySize, secondarySize>; in Get() [all …]
|
D | Types.h | 122 primarySize(ps), in TType() 138 primarySize(t.primarySize), in TType() 166 int getNominalSize() const { return primarySize; } in getNominalSize() 171 return primarySize; in getCols() 187 bool isMatrix() const { return primarySize > 1 && secondarySize > 1; } in isMatrix() 188 bool isNonSquareMatrix() const { return isMatrix() && primarySize != secondarySize; } in isNonSquareMatrix() 222 bool isVector() const { return primarySize > 1 && secondarySize == 1; } in isVector() 225 return primarySize == 1 && secondarySize == 1 && !mStructure && !isArray(); in isScalar() 234 static constexpr char GetSizeMangledName(unsigned char primarySize, unsigned char secondarySize) in GetSizeMangledName() argument 236 unsigned int sizeKey = (secondarySize - 1u) * 4u + primarySize - 1u; in GetSizeMangledName() [all …]
|
D | Types.cpp | 131 primarySize(0), in TType() 147 primarySize(ps), in TType() 163 primarySize(ps), in TType() 179 primarySize(p.getPrimarySize()), in TType() 187 ASSERT(primarySize <= 4); in TType() 207 primarySize(1), in TType() 225 primarySize(1), in TType() 241 primarySize(t.primarySize), in TType() 258 primarySize = t.primarySize; in operator =() 455 TString mangledName(1, GetSizeMangledName(primarySize, secondarySize)); in buildMangledName() [all …]
|
/third_party/skia/third_party/externals/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 | 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 | SymbolTable.cpp | 38 …primarySize(p.primarySize), secondarySize(p.secondarySize), array(p.array), arraySize(p.arraySize)… in TType()
|
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()
|
/third_party/skia/third_party/externals/angle2/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()
|
/third_party/flutter/skia/third_party/externals/wuffs/lib/rac/ |
D | writer.go | 617 func calcCLength(primarySize int) uint64 { 618 if primarySize <= 0 { 623 primarySize = ((primarySize - 1) >> 10) + 1 625 if primarySize > 255 { 628 return uint64(primarySize)
|