Home
last modified time | relevance | path

Searched refs:TBasicType (Results 1 – 25 of 74) sorted by relevance

123

/external/angle/src/compiler/translator/
DUtilsHLSL.h93 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);
DStaticType.h41 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, unsigned char primarySize = 1, unsigned char secondarySize = 1>
203 template <TBasicType basicType,
[all …]
DBaseTypes.h53 enum TBasicType enum
170 constexpr TBasicMangledName(TBasicType t) : mName{'\0', '\0'} in TBasicMangledName()
207 const char *getBasicString(TBasicType t);
209 inline bool IsSampler(TBasicType type) in IsSampler()
214 inline bool IsImage(TBasicType type) in IsImage()
219 inline bool IsAtomicCounter(TBasicType type) in IsAtomicCounter()
224 inline bool IsOpaqueType(TBasicType type) in IsOpaqueType()
229 inline bool IsIntegerSampler(TBasicType type) in IsIntegerSampler()
285 inline bool IsIntegerSamplerUnsigned(TBasicType type) in IsIntegerSamplerUnsigned()
320 inline bool IsSampler2DMS(TBasicType type) in IsSampler2DMS()
[all …]
DTypes.h64 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()
154 constexpr TBasicType getBasicType() const { return type; } in getBasicType()
155 void setBasicType(TBasicType t);
321 bool isStructureContainingType(TBasicType t) const;
356 TBasicType type;
393 TBasicType type;
402 void initialize(TBasicType aType, const TSourceLoc &aLine) in initialize()
[all …]
DValidateSwitch.cpp23 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()
DUtilsHLSL.cpp46 const char *SamplerString(const TBasicType type) in SamplerString()
70 HLSLTextureGroup TextureGroup(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureGroup()
350 const char *TextureString(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureString()
420 const char *TextureGroupSuffix(const TBasicType type, in TextureGroupSuffix()
426 const char *TextureTypeSuffix(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in TextureTypeSuffix()
497 HLSLRWTextureGroup RWTextureGroup(const TBasicType type, in RWTextureGroup()
707 const char *RWTextureString(const TBasicType type, TLayoutImageInternalFormat imageInternalFormat) in RWTextureString()
753 const char *RWTextureGroupSuffix(const TBasicType type, in RWTextureGroupSuffix()
759 const char *RWTextureTypeSuffix(const TBasicType type, in RWTextureTypeSuffix()
DConstantUnion.h24 bool cast(TBasicType newType, const TConstantUnion &constant);
101 TBasicType getType() const { return type; } in getType()
113 TBasicType type;
DTypes.cpp23 const char *getBasicString(TBasicType t) in getBasicString()
128 TType::TType(TBasicType t, unsigned char ps, unsigned char ss) in TType()
132 TType::TType(TBasicType t, TPrecision p, TQualifier q, unsigned char ps, unsigned char ss) in TType()
369 bool TType::isStructureContainingType(TBasicType t) const in isStructureContainingType()
581 void TType::setBasicType(TBasicType t) in setBasicType()
754 bool TFieldListCollection::containsType(TBasicType type) const in containsType()
860 void TPublicType::initializeBasicType(TBasicType basicType) in initializeBasicType()
884 bool TPublicType::isStructureContainingType(TBasicType t) const in isStructureContainingType()
DTextureFunctionHLSL.h50 TBasicType sampler;
60 TBasicType samplerType,
DImageFunctionHLSL.h29 const TBasicType &type,
68 TBasicType image;
DSymbolTable.h270 void setDefaultPrecision(TBasicType type, TPrecision prec);
274 TPrecision getDefaultPrecision(TBasicType type) const;
313 void initSamplerDefaultPrecision(TBasicType samplerType);
325 typedef TMap<TBasicType, TPrecision> PrecisionStackLevel;
Dutil.h88 ImplicitTypeConversion GetConversion(TBasicType t1, TBasicType t2);
/external/swiftshader/src/OpenGL/compiler/
DBaseTypes.h46 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 …]
DTypes.h135 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()
DValidateSwitch.h28 static bool validate(TBasicType switchType, TParseContext *context,
43 ValidateSwitch(TBasicType switchType, TParseContext *context);
47 TBasicType mSwitchType;
DValidateSwitch.cpp19 bool ValidateSwitch::validate(TBasicType switchType, TParseContext *context, in validate()
28 ValidateSwitch::ValidateSwitch(TBasicType switchType, TParseContext *context) in ValidateSwitch()
121 TBasicType conditionType = condition->getBasicType(); in visitCase()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dlocalintermediate.h125 TIoRange(TRange location, TRange component, TBasicType basicType, int index) in TIoRange()
133 TBasicType basicType;
415 TIntermTyped* addConversion(TBasicType convertTo, TIntermTyped* node) const;
423 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const;
424 bool isIntegralPromotion(TBasicType from, TBasicType to) const;
425 bool isFPPromotion(TBasicType from, TBasicType to) const;
426 bool isIntegralConversion(TBasicType from, TBasicType to) const;
427 bool isFPConversion(TBasicType from, TBasicType to) const;
428 bool isFPIntegralConversion(TBasicType from, TBasicType to) const;
451 …TIntermConstantUnion* addConstantUnion(double, TBasicType, const TSourceLoc&, bool literal = false…
[all …]
DIntermediate.cpp384 TBasicType newType = EbtVoid; in addUnaryMath()
565 bool TIntermediate::buildConvertOp(TBasicType dst, TBasicType src, TOperator& newOp) const in buildConvertOp()
799 TIntermTyped* TIntermediate::createConversion(TBasicType convertTo, TIntermTyped* node) const in createConversion()
872 TIntermTyped* TIntermediate::addConversion(TBasicType convertTo, TIntermTyped* node) const in addConversion()
964 TBasicType node0BasicType = node0->getBasicType(); in addConversion()
1043 TBasicType promoteTo; in addConversion()
1448 bool TIntermediate::isIntegralPromotion(TBasicType from, TBasicType to) const in isIntegralPromotion()
1465 bool TIntermediate::isFPPromotion(TBasicType from, TBasicType to) const in isFPPromotion()
1480 bool TIntermediate::isIntegralConversion(TBasicType from, TBasicType to) const in isIntegralConversion()
1564 bool TIntermediate::isFPConversion(TBasicType from, TBasicType to) const in isFPConversion()
[all …]
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
Dlocalintermediate.h125 TIoRange(TRange location, TRange component, TBasicType basicType, int index) in TIoRange()
133 TBasicType basicType;
408 TIntermTyped* addConversion(TBasicType convertTo, TIntermTyped* node) const;
416 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const;
417 bool isIntegralPromotion(TBasicType from, TBasicType to) const;
418 bool isFPPromotion(TBasicType from, TBasicType to) const;
419 bool isIntegralConversion(TBasicType from, TBasicType to) const;
420 bool isFPConversion(TBasicType from, TBasicType to) const;
421 bool isFPIntegralConversion(TBasicType from, TBasicType to) const;
444 …TIntermConstantUnion* addConstantUnion(double, TBasicType, const TSourceLoc&, bool literal = false…
[all …]
DIntermediate.cpp384 TBasicType newType = EbtVoid; in addUnaryMath()
565 bool TIntermediate::buildConvertOp(TBasicType dst, TBasicType src, TOperator& newOp) const in buildConvertOp()
799 TIntermTyped* TIntermediate::createConversion(TBasicType convertTo, TIntermTyped* node) const in createConversion()
872 TIntermTyped* TIntermediate::addConversion(TBasicType convertTo, TIntermTyped* node) const in addConversion()
964 TBasicType node0BasicType = node0->getBasicType(); in addConversion()
1043 TBasicType promoteTo; in addConversion()
1448 bool TIntermediate::isIntegralPromotion(TBasicType from, TBasicType to) const in isIntegralPromotion()
1465 bool TIntermediate::isFPPromotion(TBasicType from, TBasicType to) const in isFPPromotion()
1480 bool TIntermediate::isIntegralConversion(TBasicType from, TBasicType to) const in isIntegralConversion()
1564 bool TIntermediate::isFPConversion(TBasicType from, TBasicType to) const in isFPConversion()
[all …]
/external/angle/third_party/glslang/src/glslang/Include/
DBaseTypes.h47 enum TBasicType { enum
493 __inline bool isTypeSignedInt(TBasicType type) in isTypeSignedInt()
506 __inline bool isTypeUnsignedInt(TBasicType type) in isTypeUnsignedInt()
519 __inline bool isTypeInt(TBasicType type) in isTypeInt()
524 __inline bool isTypeFloat(TBasicType type) in isTypeFloat()
536 __inline int getTypeRank(TBasicType type) in getTypeRank()
DTypes.h76 TBasicType type : 8; // type returned by sampler
133 void setBasicType(TBasicType t) { type = t; } in setBasicType()
134 TBasicType getBasicType() const { return type; } in getBasicType()
161 void set(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
173 void setImage(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
185 void setTexture(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
205 void setSubpass(TBasicType t, bool m = false)
1348 TBasicType basicType;
1427 …explicit TType(TBasicType t = EbtVoid, TStorageQualifier q = EvqTemporary, int vs = 1, int mc = 0,… in POOL_ALLOCATOR_NEW_DELETE()
1438 …TType(TBasicType t, TStorageQualifier q, TPrecisionQualifier p, int vs = 1, int mc = 0, int mr = 0,
[all …]
/external/deqp-deps/glslang/glslang/Include/
DBaseTypes.h47 enum TBasicType { enum
499 __inline bool isTypeSignedInt(TBasicType type) in isTypeSignedInt()
512 __inline bool isTypeUnsignedInt(TBasicType type) in isTypeUnsignedInt()
525 __inline bool isTypeInt(TBasicType type) in isTypeInt()
530 __inline bool isTypeFloat(TBasicType type) in isTypeFloat()
542 __inline int getTypeRank(TBasicType type) in getTypeRank()
DTypes.h76 TBasicType type : 8; // type returned by sampler
133 void setBasicType(TBasicType t) { type = t; } in setBasicType()
134 TBasicType getBasicType() const { return type; } in getBasicType()
161 void set(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
173 void setImage(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
185 void setTexture(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
205 void setSubpass(TBasicType t, bool m = false)
1348 TBasicType basicType;
1427 …explicit TType(TBasicType t = EbtVoid, TStorageQualifier q = EvqTemporary, int vs = 1, int mc = 0,… in POOL_ALLOCATOR_NEW_DELETE()
1438 …TType(TBasicType t, TStorageQualifier q, TPrecisionQualifier p, int vs = 1, int mc = 0, int mr = 0,
[all …]
/external/angle/src/tests/compiler_tests/
DShaderImage_test.cpp27 TBasicType imageType, in CheckImageStoreCall()
29 TBasicType storeValueType, in CheckImageStoreCall()
56 TBasicType imageType, in CheckImageLoadCall()
91 TBasicType imageType, in CheckImageDeclaration()

123