/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | BaseTypes.h | 53 enum TBasicType enum 119 constexpr TBasicMangledName(TBasicType t) : mName{'\0', '\0'} in TBasicMangledName() 146 const char *getBasicString(TBasicType t); 148 inline bool IsSampler(TBasicType type) in IsSampler() 153 inline bool IsImage(TBasicType type) in IsImage() 158 inline bool IsAtomicCounter(TBasicType type) in IsAtomicCounter() 163 inline bool IsOpaqueType(TBasicType type) in IsOpaqueType() 168 inline bool IsIntegerSampler(TBasicType type) in IsIntegerSampler() 205 inline bool IsIntegerSamplerUnsigned(TBasicType type) in IsIntegerSamplerUnsigned() 230 inline bool IsSampler2DMS(TBasicType type) in IsSampler2DMS() [all …]
|
D | UtilsHLSL.h | 93 HLSLTextureGroup TextureGroup(const TBasicType type, 96 const char *TextureString(const TBasicType type, 99 const char *TextureGroupSuffix(const TBasicType type, 101 const char *TextureTypeSuffix(const TBasicType type, 103 HLSLRWTextureGroup RWTextureGroup(const TBasicType type, 106 const char *RWTextureString(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat); 108 const char *RWTextureGroupSuffix(const TBasicType type, 110 const char *RWTextureTypeSuffix(const TBasicType type, 113 const char *SamplerString(const TBasicType type);
|
D | StaticType.h | 41 constexpr StaticMangledName BuildStaticMangledName(TBasicType basicType, in BuildStaticMangledName() 61 template <TBasicType basicType, 80 template <TBasicType basicType, 99 template <TBasicType basicType, 115 template <TBasicType basicType, unsigned char primarySize = 1, unsigned char secondarySize = 1> 121 template <TBasicType basicType, 136 template <TBasicType basicType, 163 template <TBasicType basicType, 187 template <TBasicType basicType, TPrecision precision = EbpUndefined>
|
D | Types.h | 64 bool containsType(TBasicType t) const; 96 explicit TType(TBasicType t, unsigned char ps = 1, unsigned char ss = 1); 97 TType(TBasicType t, 110 constexpr TType(TBasicType t, in TType() 147 constexpr TBasicType getBasicType() const { return type; } in getBasicType() 148 void setBasicType(TBasicType t); 310 bool isStructureContainingType(TBasicType t) const; 339 TBasicType type; 369 TBasicType type; 378 void initialize(TBasicType aType, const TSourceLoc &aLine) in initialize() [all …]
|
D | ValidateSwitch.cpp | 23 static bool validate(TBasicType switchType, 44 ValidateSwitch(TBasicType switchType, TDiagnostics *context); 48 TBasicType mSwitchType; 62 bool ValidateSwitch::validate(TBasicType switchType, in validate() 73 ValidateSwitch::ValidateSwitch(TBasicType switchType, TDiagnostics *diagnostics) in ValidateSwitch() 207 TBasicType conditionType = condition->getBasicType(); in visitCase() 307 bool ValidateSwitchStatementList(TBasicType switchType, in ValidateSwitchStatementList()
|
D | SymbolTable.h | 125 void setDefaultPrecision(TBasicType type, TPrecision prec); 129 TPrecision getDefaultPrecision(TBasicType type) const; 167 void initSamplerDefaultPrecision(TBasicType samplerType); 179 typedef TMap<TBasicType, TPrecision> PrecisionStackLevel;
|
D | UtilsHLSL.cpp | 46 const char *SamplerString(const TBasicType type) in SamplerString() 70 HLSLTextureGroup TextureGroup(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureGroup() 349 const char *TextureString(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureString() 419 const char *TextureGroupSuffix(const TBasicType type, in TextureGroupSuffix() 425 const char *TextureTypeSuffix(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureTypeSuffix() 496 HLSLRWTextureGroup RWTextureGroup(const TBasicType type, in RWTextureGroup() 706 const char *RWTextureString(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in RWTextureString() 752 const char *RWTextureGroupSuffix(const TBasicType type, in RWTextureGroupSuffix() 758 const char *RWTextureTypeSuffix(const TBasicType type, in RWTextureTypeSuffix()
|
D | ConstantUnion.h | 26 bool cast(TBasicType newType, const TConstantUnion &constant); 103 TBasicType getType() const { return type; } in getType() 115 TBasicType type;
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | UtilsHLSL.h | 93 HLSLTextureGroup TextureGroup(const TBasicType type, 96 const char *TextureString(const TBasicType type, 99 const char *TextureGroupSuffix(const TBasicType type, 101 const char *TextureTypeSuffix(const TBasicType type, 103 HLSLRWTextureGroup RWTextureGroup(const TBasicType type, 106 const char *RWTextureString(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat); 108 const char *RWTextureGroupSuffix(const TBasicType type, 110 const char *RWTextureTypeSuffix(const TBasicType type, 113 const char *SamplerString(const TBasicType type);
|
D | BaseTypes.h | 53 enum TBasicType enum 172 constexpr TBasicMangledName(TBasicType t) : mName{'\0', '\0'} in TBasicMangledName() 209 const char *getBasicString(TBasicType t); 211 inline bool IsSampler(TBasicType type) in IsSampler() 216 inline bool IsImage(TBasicType type) in IsImage() 221 inline bool IsUIntImage(TBasicType type) in IsUIntImage() 226 inline bool IsAtomicCounter(TBasicType type) in IsAtomicCounter() 231 inline bool IsSubpassInputType(TBasicType type) in IsSubpassInputType() 236 inline bool IsOpaqueType(TBasicType type) in IsOpaqueType() 241 inline bool IsIntegerSampler(TBasicType type) in IsIntegerSampler() [all …]
|
D | StaticType.h | 41 constexpr StaticMangledName BuildStaticMangledName(TBasicType basicType, in BuildStaticMangledName() 65 constexpr StaticArrayMangledName BuildStaticArrayMangledName(TBasicType basicType, in BuildStaticArrayMangledName() 91 template <TBasicType basicType, 100 template <TBasicType basicType, 127 template <TBasicType basicType, 142 template <TBasicType basicType, 164 template <TBasicType basicType, 176 template <TBasicType basicType, 197 template <TBasicType basicType, 206 template <TBasicType basicType, [all …]
|
D | Types.h | 64 bool containsType(TBasicType t) const; 96 explicit TType(TBasicType t, unsigned char ps = 1, unsigned char ss = 1); 97 TType(TBasicType t, 110 constexpr TType(TBasicType t, in TType() 156 constexpr TBasicType getBasicType() const { return type; } in getBasicType() 157 void setBasicType(TBasicType t); 336 bool isStructureContainingType(TBasicType t) const; 338 bool isInterfaceBlockContainingType(TBasicType t) const; 373 TBasicType type; 414 TBasicType type; [all …]
|
D | ValidateSwitch.cpp | 23 static bool validate(TBasicType switchType, 44 ValidateSwitch(TBasicType switchType, TDiagnostics *context); 48 TBasicType mSwitchType; 62 bool ValidateSwitch::validate(TBasicType switchType, in validate() 73 ValidateSwitch::ValidateSwitch(TBasicType switchType, TDiagnostics *diagnostics) in ValidateSwitch() 207 TBasicType conditionType = condition->getBasicType(); in visitCase() 307 bool ValidateSwitchStatementList(TBasicType switchType, in ValidateSwitchStatementList()
|
D | UtilsHLSL.cpp | 48 const char *SamplerString(const TBasicType type) in SamplerString() 72 HLSLTextureGroup TextureGroup(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureGroup() 352 const char *TextureString(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureString() 422 const char *TextureGroupSuffix(const TBasicType type, in TextureGroupSuffix() 428 const char *TextureTypeSuffix(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureTypeSuffix() 499 HLSLRWTextureGroup RWTextureGroup(const TBasicType type, in RWTextureGroup() 709 const char *RWTextureString(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in RWTextureString() 755 const char *RWTextureGroupSuffix(const TBasicType type, in RWTextureGroupSuffix() 761 const char *RWTextureTypeSuffix(const TBasicType type, in RWTextureTypeSuffix()
|
D | util.h | 94 ImplicitTypeConversion GetConversion(TBasicType t1, TBasicType t2); 99 bool IsPrecisionApplicableToType(TBasicType type);
|
D | Types.cpp | 23 const char *getBasicString(TBasicType t) in getBasicString() 166 TType::TType(TBasicType t, unsigned char ps, unsigned char ss) in TType() 170 TType::TType(TBasicType t, TPrecision p, TQualifier q, unsigned char ps, unsigned char ss) in TType() 409 bool TType::isStructureContainingType(TBasicType t) const in isStructureContainingType() 419 bool TType::isInterfaceBlockContainingType(TBasicType t) const in isInterfaceBlockContainingType() 626 void TType::setBasicType(TBasicType t) in setBasicType() 820 bool TFieldListCollection::containsType(TBasicType type) const in containsType() 926 void TPublicType::initializeBasicType(TBasicType basicType) in initializeBasicType() 950 bool TPublicType::isStructureContainingType(TBasicType t) const in isStructureContainingType()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | AstHelpers.cpp | 242 new TIntermConstantUnion(new TConstantUnion(index), *new TType(TBasicType::EbtInt))); in AccessFieldByIndex() 254 new TIntermConstantUnion(new TConstantUnion(index), *new TType(TBasicType::EbtInt))); in AccessIndex() 301 bool sh::HasScalarBasicType(TBasicType type) in HasScalarBasicType() 305 case TBasicType::EbtFloat: in HasScalarBasicType() 306 case TBasicType::EbtDouble: in HasScalarBasicType() 307 case TBasicType::EbtInt: in HasScalarBasicType() 308 case TBasicType::EbtUInt: in HasScalarBasicType() 309 case TBasicType::EbtBool: in HasScalarBasicType() 405 TIntermTyped &sh::CoerceSimple(TBasicType toBasicType, in CoerceSimple() 415 const TBasicType fromBasicType = fromType.getBasicType(); in CoerceSimple() [all …]
|
D | ProgramPrelude.cpp | 3084 const TBasicType coordBasic = coord.getBasicType(); in BuildFuncToEmitter() 3089 if (coordBasic == TBasicType::EbtFloat && coordN == 3) in BuildFuncToEmitter() 3100 if (coordBasic == TBasicType::EbtFloat && coordN == 4) in BuildFuncToEmitter() 3111 if (coordBasic == TBasicType::EbtFloat && coordN == 4) in BuildFuncToEmitter() 3122 if (coordBasic == TBasicType::EbtFloat && coordN == 3) in BuildFuncToEmitter() 3130 if (coordBasic == TBasicType::EbtFloat && coordN == 4) in BuildFuncToEmitter() 3139 if (coordBasic == TBasicType::EbtFloat && coordN == 2) in BuildFuncToEmitter() 3147 if (coordBasic == TBasicType::EbtFloat && coordN == 3) in BuildFuncToEmitter() 3177 const TBasicType coordBasic = coord.getBasicType(); in BuildFuncToEmitter() 3183 if (coordBasic == TBasicType::EbtFloat && coordN == 3 && dPdxN == 2) in BuildFuncToEmitter() [all …]
|
D | SymbolEnv.cpp | 385 const TStructure &SymbolEnv::getTextureEnv(TBasicType samplerType) in getTextureEnv() 498 static TBasicType GetTextureBasicType(TBasicType basicType) in GetTextureBasicType() 525 return TBasicType::EbtFloat; in GetTextureBasicType() 538 return TBasicType::EbtInt; in GetTextureBasicType() 551 return TBasicType::EbtUInt; in GetTextureBasicType() 555 return TBasicType::EbtVoid; in GetTextureBasicType() 559 Name sh::GetTextureTypeName(TBasicType samplerType) in GetTextureTypeName() 563 const TBasicType textureType = GetTextureBasicType(samplerType); in GetTextureTypeName() 571 case TBasicType::EbtFloat: \ in GetTextureTypeName() 574 case TBasicType::EbtInt: \ in GetTextureTypeName() [all …]
|
D | EmitMetal.cpp | 562 case TBasicType::EbtInt: \ in GetOperatorString() 564 case TBasicType::EbtUInt: \ in GetOperatorString() 566 case TBasicType::EbtFloat: \ in GetOperatorString() 867 const TBasicType basicType = type.getBasicType(); in emitBareTypeName() 871 case TBasicType::EbtVoid: in emitBareTypeName() 872 case TBasicType::EbtBool: in emitBareTypeName() 873 case TBasicType::EbtFloat: in emitBareTypeName() 874 case TBasicType::EbtInt: in emitBareTypeName() 875 case TBasicType::EbtUInt: in emitBareTypeName() 881 case TBasicType::EbtStruct: in emitBareTypeName() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | BaseTypes.h | 46 enum TBasicType : unsigned char enum 106 inline const char *getBasicString(TBasicType type) in getBasicString() 148 inline bool IsSampler(TBasicType type) in IsSampler() 153 inline bool IsIntegerSampler(TBasicType type) in IsIntegerSampler() 183 inline bool IsSampler2D(TBasicType type) in IsSampler2D() 213 inline bool IsSamplerCube(TBasicType type) in IsSamplerCube() 243 inline bool IsSampler3D(TBasicType type) in IsSampler3D() 273 inline bool IsSamplerArray(TBasicType type) in IsSamplerArray() 303 inline bool IsShadowSampler(TBasicType type) in IsShadowSampler() 333 inline bool IsInteger(TBasicType type) in IsInteger() [all …]
|
D | Types.h | 135 bool containsType(TBasicType type) const; 244 TType(TBasicType t, int s0 = 1, int s1 = 1) : in POOL_ALLOCATOR_NEW_DELETE() 251 …TType(TBasicType t, TPrecision p, TQualifier q = EvqTemporary, int s0 = 1, int s1 = 1, bool a = fa… 275 TBasicType getBasicType() const { return type; } in getBasicType() 276 void setBasicType(TBasicType t) { type = t; } in setBasicType() 520 bool isStructureContainingType(TBasicType t) const in isStructureContainingType() 534 TBasicType type = EbtVoid; 564 TBasicType type; 576 void setBasic(TBasicType bt, TQualifier q, const TSourceLoc &ln) in setBasic() 630 bool isStructureContainingType(TBasicType t) const in isStructureContainingType()
|
D | ValidateSwitch.h | 28 static bool validate(TBasicType switchType, TParseContext *context, 43 ValidateSwitch(TBasicType switchType, TParseContext *context); 47 TBasicType mSwitchType;
|
/third_party/glslang/glslang/MachineIndependent/ |
D | localintermediate.h | 125 TIoRange(TRange location, TRange component, TBasicType basicType, int index) in TIoRange() 133 TBasicType basicType; 467 TIntermTyped* addConversion(TBasicType convertTo, TIntermTyped* node) const; 475 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const; 476 bool isIntegralPromotion(TBasicType from, TBasicType to) const; 477 bool isFPPromotion(TBasicType from, TBasicType to) const; 478 bool isIntegralConversion(TBasicType from, TBasicType to) const; 479 bool isFPConversion(TBasicType from, TBasicType to) const; 480 bool isFPIntegralConversion(TBasicType from, TBasicType to) const; 503 …TIntermConstantUnion* addConstantUnion(double, TBasicType, const TSourceLoc&, bool literal = false… [all …]
|
/third_party/glslang/glslang/Include/ |
D | BaseTypes.h | 47 enum TBasicType { enum 505 __inline bool isTypeSignedInt(TBasicType type) in isTypeSignedInt() 518 __inline bool isTypeUnsignedInt(TBasicType type) in isTypeUnsignedInt() 531 __inline bool isTypeInt(TBasicType type) in isTypeInt() 536 __inline bool isTypeFloat(TBasicType type) in isTypeFloat() 548 __inline int getTypeRank(TBasicType type) in getTypeRank()
|