Home
last modified time | relevance | path

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

1234

/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, unsigned char primarySize = 1, unsigned char secondarySize = 1>
[all …]
DBaseTypes.h53 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 …]
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()
156 constexpr TBasicType getBasicType() const { return type; } in getBasicType()
157 void setBasicType(TBasicType t);
334 bool isStructureContainingType(TBasicType t) const;
336 bool isInterfaceBlockContainingType(TBasicType t) const;
371 TBasicType type;
412 TBasicType type;
[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.h28 bool cast(TBasicType newType, const TConstantUnion &constant);
105 TBasicType getType() const { return type; } in getType()
117 TBasicType type;
DTypes.cpp23 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()
813 bool TFieldListCollection::containsType(TBasicType type) const in containsType()
919 void TPublicType::initializeBasicType(TBasicType basicType) in initializeBasicType()
943 bool TPublicType::isStructureContainingType(TBasicType t) const in isStructureContainingType()
DTextureFunctionHLSL.h50 TBasicType sampler;
60 TBasicType samplerType,
/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/angle/src/compiler/translator/TranslatorMetalDirect/
DProgramPrelude.cpp3051 const TBasicType coordBasic = coord.getBasicType(); in BuildFuncToEmitter()
3056 if (coordBasic == TBasicType::EbtFloat && coordN == 3) in BuildFuncToEmitter()
3067 if (coordBasic == TBasicType::EbtFloat && coordN == 4) in BuildFuncToEmitter()
3078 if (coordBasic == TBasicType::EbtFloat && coordN == 4) in BuildFuncToEmitter()
3089 if (coordBasic == TBasicType::EbtFloat && coordN == 3) in BuildFuncToEmitter()
3097 if (coordBasic == TBasicType::EbtFloat && coordN == 4) in BuildFuncToEmitter()
3106 if (coordBasic == TBasicType::EbtFloat && coordN == 2) in BuildFuncToEmitter()
3114 if (coordBasic == TBasicType::EbtFloat && coordN == 3) in BuildFuncToEmitter()
3144 const TBasicType coordBasic = coord.getBasicType(); in BuildFuncToEmitter()
3150 if (coordBasic == TBasicType::EbtFloat && coordN == 3 && dPdxN == 2) in BuildFuncToEmitter()
[all …]
DSymbolEnv.cpp385 const TStructure &SymbolEnv::getTextureEnv(TBasicType samplerType) in getTextureEnv()
499 static TBasicType GetTextureBasicType(TBasicType basicType) in GetTextureBasicType()
526 return TBasicType::EbtFloat; in GetTextureBasicType()
539 return TBasicType::EbtInt; in GetTextureBasicType()
552 return TBasicType::EbtUInt; in GetTextureBasicType()
556 return TBasicType::EbtVoid; in GetTextureBasicType()
560 Name sh::GetTextureTypeName(TBasicType samplerType) in GetTextureTypeName()
564 const TBasicType textureType = GetTextureBasicType(samplerType); in GetTextureTypeName()
572 case TBasicType::EbtFloat: \ in GetTextureTypeName()
575 case TBasicType::EbtInt: \ in GetTextureTypeName()
[all …]
DAstHelpers.cpp239 new TIntermConstantUnion(new TConstantUnion(index), *new TType(TBasicType::EbtInt))); in AccessFieldByIndex()
251 new TIntermConstantUnion(new TConstantUnion(index), *new TType(TBasicType::EbtInt))); in AccessIndex()
298 bool sh::HasScalarBasicType(TBasicType type) in HasScalarBasicType()
302 case TBasicType::EbtFloat: in HasScalarBasicType()
303 case TBasicType::EbtDouble: in HasScalarBasicType()
304 case TBasicType::EbtInt: in HasScalarBasicType()
305 case TBasicType::EbtUInt: in HasScalarBasicType()
306 case TBasicType::EbtBool: in HasScalarBasicType()
423 TIntermTyped &sh::CoerceSimple(TBasicType toType, TIntermTyped &fromNode) in CoerceSimple()
DEmitMetal.cpp563 case TBasicType::EbtInt: \ in GetOperatorString()
565 case TBasicType::EbtUInt: \ in GetOperatorString()
567 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 …]
DLayout.cpp74 const TBasicType basicType = type.getBasicType(); in ScalarLayoutOf()
77 case TBasicType::EbtBool: in ScalarLayoutOf()
79 case TBasicType::EbtInt: in ScalarLayoutOf()
80 case TBasicType::EbtUInt: in ScalarLayoutOf()
81 case TBasicType::EbtFloat: in ScalarLayoutOf()
172 ASSERT(type.getBasicType() == TBasicType::EbtFloat); in MetalLayoutOf()
DSymbolEnv.h139 using TextureStructs = std::map<TBasicType, TStructure *>;
177 const TStructure &getTextureEnv(TBasicType samplerType);
212 std::unordered_map<TBasicType, const TStructure *> mTextureEnvs;
221 Name GetTextureTypeName(TBasicType samplerType);
/external/angle/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp241 InputType GetInputTypeOfSubpassInput(const TBasicType &basicType) in GetInputTypeOfSubpassInput()
245 case TBasicType::EbtSubpassInput: in GetInputTypeOfSubpassInput()
247 case TBasicType::EbtSubpassInputMS: in GetInputTypeOfSubpassInput()
249 case TBasicType::EbtISubpassInput: in GetInputTypeOfSubpassInput()
251 case TBasicType::EbtISubpassInputMS: in GetInputTypeOfSubpassInput()
253 case TBasicType::EbtUSubpassInput: in GetInputTypeOfSubpassInput()
255 case TBasicType::EbtUSubpassInputMS: in GetInputTypeOfSubpassInput()
263 TBasicType GetBasicTypeOfSubpassInput(const InputType &inputType) in GetBasicTypeOfSubpassInput()
281 return TBasicType::EbtVoid; in GetBasicTypeOfSubpassInput()
285 TBasicType GetBasicTypeForSubpassInput(const TBasicType &inputType) in GetBasicTypeForSubpassInput()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dlocalintermediate.h125 TIoRange(TRange location, TRange component, TBasicType basicType, int index) in TIoRange()
133 TBasicType basicType;
470 TIntermTyped* addConversion(TBasicType convertTo, TIntermTyped* node) const;
478 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const;
479 bool isIntegralPromotion(TBasicType from, TBasicType to) const;
480 bool isFPPromotion(TBasicType from, TBasicType to) const;
481 bool isIntegralConversion(TBasicType from, TBasicType to) const;
482 bool isFPConversion(TBasicType from, TBasicType to) const;
483 bool isFPIntegralConversion(TBasicType from, TBasicType to) const;
506 …TIntermConstantUnion* addConstantUnion(double, TBasicType, const TSourceLoc&, bool literal = false…
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dlocalintermediate.h125 TIoRange(TRange location, TRange component, TBasicType basicType, int index) in TIoRange()
133 TBasicType basicType;
479 TIntermTyped* addConversion(TBasicType convertTo, TIntermTyped* node) const;
487 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const;
488 bool isIntegralPromotion(TBasicType from, TBasicType to) const;
489 bool isFPPromotion(TBasicType from, TBasicType to) const;
490 bool isIntegralConversion(TBasicType from, TBasicType to) const;
491 bool isFPConversion(TBasicType from, TBasicType to) const;
492 bool isFPIntegralConversion(TBasicType from, TBasicType to) const;
515 …TIntermConstantUnion* addConstantUnion(double, TBasicType, const TSourceLoc&, bool literal = false…
[all …]
/external/deqp-deps/glslang/glslang/Include/
DBaseTypes.h47 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()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DBaseTypes.h47 enum TBasicType { enum
515 __inline bool isTypeSignedInt(TBasicType type) in isTypeSignedInt()
528 __inline bool isTypeUnsignedInt(TBasicType type) in isTypeUnsignedInt()
541 __inline bool isTypeInt(TBasicType type) in isTypeInt()
546 __inline bool isTypeFloat(TBasicType type) in isTypeFloat()
558 __inline int getTypeRank(TBasicType type) in getTypeRank()
/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()

1234