Home
last modified time | relevance | path

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

12

/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) :
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()
DConstantUnion.h33 bool cast(TBasicType newType, const ConstantUnion &constant) in cast()
389 TBasicType getType() const { return type; } in getType()
399 TBasicType type;
DSymbolTable.h239 TBasicType basicType = type->getBasicType(); in IsGenType()
250 TBasicType basicType = type->getBasicType(); in IsVecType()
475 TPrecision getDefaultPrecision( TBasicType type) in getDefaultPrecision()
525 typedef std::map< TBasicType, TPrecision > PrecisionStackLevel;
Dlocalintermediate.h48 TIntermTyped* promoteConstantUnion(TBasicType, TIntermConstantUnion*);
DParseHelper.h122 bool precisionErrorCheck(const TSourceLoc &line, TPrecision precision, TBasicType type);
131 bool voidErrorCheck(const TSourceLoc&, const TString&, const TBasicType&);
DSymbolTable.cpp119 bool TStructure::containsType(TBasicType type) const in containsType()
DparseConst.cpp168 TBasicType basicType = type.getBasicType(); in visitConstantUnion()
DValidateLimitations.cpp264 TBasicType type = symbol->getBasicType(); in validateForLoopInit()
DIntermediate.cpp1014 TBasicType basicType = left->getBasicType(); in promote()
1785 TBasicType basicType = type.getBasicType(); in fold()
2029 TIntermTyped* TIntermediate::promoteConstantUnion(TBasicType promoteTo, TIntermConstantUnion* node) in promoteConstantUnion()
Dintermediate.h314 TBasicType getBasicType() const { return type.getBasicType(); } in getBasicType()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dlocalintermediate.h125 TIoRange(TRange location, TRange component, TBasicType basicType, int index) in TIoRange()
133 TBasicType basicType;
463 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const;
464 bool isIntegralPromotion(TBasicType from, TBasicType to) const;
465 bool isFPPromotion(TBasicType from, TBasicType to) const;
466 bool isIntegralConversion(TBasicType from, TBasicType to) const;
467 bool isFPConversion(TBasicType from, TBasicType to) const;
468 bool isFPIntegralConversion(TBasicType from, TBasicType to) const;
491 …TIntermConstantUnion* addConstantUnion(double, TBasicType, const TSourceLoc&, bool literal = false…
493 TIntermTyped* promoteConstantUnion(TBasicType, TIntermConstantUnion*) const;
[all …]
DIntermediate.cpp308 TBasicType newType = EbtVoid; in addUnaryMath()
492 TIntermTyped* TIntermediate::createConversion(TBasicType convertTo, TIntermTyped* node) const in createConversion()
811 TBasicType node0BasicType = node0->getBasicType(); in addConversion()
890 TBasicType promoteTo; in addConversion()
1291 bool TIntermediate::isIntegralPromotion(TBasicType from, TBasicType to) const in isIntegralPromotion()
1308 bool TIntermediate::isFPPromotion(TBasicType from, TBasicType to) const in isFPPromotion()
1323 bool TIntermediate::isIntegralConversion(TBasicType from, TBasicType to) const in isIntegralConversion()
1403 bool TIntermediate::isFPConversion(TBasicType from, TBasicType to) const in isFPConversion()
1412 bool TIntermediate::isFPIntegralConversion(TBasicType from, TBasicType to) const in isFPIntegralConversion()
1455 bool TIntermediate::canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op) const in canImplicitlyPromote()
[all …]
Dattribute.h95 const TConstUnion* getConstUnion(TBasicType basicType, int argNum) const;
DParseHelper.h347 bool voidErrorCheck(const TSourceLoc&, const TString&, TBasicType);
362 void precisionQualifierCheck(const TSourceLoc&, TBasicType, TQualifier&);
364 bool containsFieldWithBasicType(const TType& type ,TBasicType basicType);
Dattribute.cpp80 const TConstUnion* TAttributeArgs::getConstUnion(TBasicType basicType, int argNum) const in getConstUnion()
/external/deqp-deps/glslang/glslang/Include/
DBaseTypes.h46 enum TBasicType { enum
474 __inline bool isTypeSignedInt(TBasicType type) in isTypeSignedInt()
487 __inline bool isTypeUnsignedInt(TBasicType type) in isTypeUnsignedInt()
500 __inline bool isTypeInt(TBasicType type) in isTypeInt()
505 __inline bool isTypeFloat(TBasicType type) in isTypeFloat()
517 __inline int getTypeRank(TBasicType type) { in getTypeRank()
DTypes.h75 TBasicType type : 8; // type returned by sampler
126 void set(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
138 void setImage(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
150 void setTexture(TBasicType t, TSamplerDim d, bool a = false, bool s = false, bool m = false)
161 void setSubpass(TBasicType t, bool m = false)
1220 TBasicType basicType;
1289 …explicit TType(TBasicType t = EbtVoid, TStorageQualifier q = EvqTemporary, int vs = 1, int mc = 0,… in POOL_ALLOCATOR_NEW_DELETE()
1300 …TType(TBasicType t, TStorageQualifier q, TPrecisionQualifier p, int vs = 1, int mc = 0, int mr = 0,
1399 explicit TType(TBasicType t, const TType &p, const TString& n) : in TType()
1476 virtual TBasicType getBasicType() const { return basicType; } in getBasicType()
[all …]
DConstantUnion.h844 TBasicType getType() const { return type; } in getType()
861 TBasicType type;
Dintermediate.h1072 TIntermTyped(TBasicType basicType) { TType bt(basicType); type.shallowCopy(bt); } in TIntermTyped()
1079 virtual TBasicType getBasicType() const { return type.getBasicType(); } in getBasicType()
/external/deqp-deps/glslang/hlsl/
DhlslGrammar.cpp811 bool HlslGrammar::acceptTemplateVecMatBasicType(TBasicType& basicType) in acceptTemplateVecMatBasicType()
854 TBasicType basicType; in acceptVectorTemplateType()
906 TBasicType basicType; in acceptMatrixTemplateType()
1132 const TBasicType basicRetType = subpassType.getBasicType() ; in acceptSubpassInputType()
1151 …const TBasicType subpassBasicType = subpassType.isStruct() ? (*subpassType.getStruct())[0].type->g… in acceptSubpassInputType()
1313 const TBasicType basicRetType = txType.getBasicType() ; in acceptTextureType()
1376 const TBasicType txBasicType = txType.isStruct() ? (*txType.getStruct())[0].type->getBasicType() in acceptTextureType()
1418 const TBasicType min16float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat; in acceptType()
1419 const TBasicType min10float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat; in acceptType()
1420 const TBasicType half_bt = enable16BitTypes ? EbtFloat16 : EbtFloat; in acceptType()
[all …]
DhlslGrammar.h79 bool acceptTemplateVecMatBasicType(TBasicType&);
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp180 glslang::TBasicType typeProxy, bool reduceComparison = true);
183 glslang::TBasicType typeProxy);
185 glslang::TBasicType typeProxy);
187 glslang::TBasicType typeProxy);
190 …coration precision, spv::Id typeId, std::vector<spv::Id>& operands, glslang::TBasicType typeProxy);
191 …lang::TOperator op, spv::Id typeId, std::vector<spv::Id>& operands, glslang::TBasicType typeProxy);
193 …lang::TOperator op, spv::Id typeId, std::vector<spv::Id>& operands, glslang::TBasicType typeProxy);
194 …coration precision, spv::Id typeId, std::vector<spv::Id>& operands, glslang::TBasicType typeProxy);
4714 … glslang::TBasicType typeProxy, bool reduceComparison)
5051 spv::Id operand, glslang::TBasicType typeProxy)
[all …]

12