Home
last modified time | relevance | path

Searched refs:TQualifier (Results 1 – 25 of 100) sorted by relevance

1234

/external/angle/src/compiler/translator/
Dutil.h54 bool IsVaryingIn(TQualifier qualifier);
55 bool IsVaryingOut(TQualifier qualifier);
56 bool IsVarying(TQualifier qualifier);
58 bool IsGeometryShaderInput(GLenum shaderType, TQualifier qualifier);
59 bool IsTessellationControlShaderInput(GLenum shaderType, TQualifier qualifier);
60 bool IsTessellationControlShaderOutput(GLenum shaderType, TQualifier qualifier);
61 bool IsTessellationEvaluationShaderInput(GLenum shaderType, TQualifier qualifier);
62 InterpolationType GetInterpolationType(TQualifier qualifier);
63 InterpolationType GetFieldInterpolationType(TQualifier qualifier);
75 bool IsBuiltinOutputVariable(TQualifier qualifier);
[all …]
DQualifierTypes.h75 TInterpolationQualifierWrapper(TQualifier interpolationQualifier, const TSourceLoc &line) in TInterpolationQualifierWrapper()
85 TQualifier getQualifier() const { return mInterpolationQualifier; } in getQualifier()
89 TQualifier mInterpolationQualifier;
112 TStorageQualifierWrapper(TQualifier storageQualifier, const TSourceLoc &line) in TStorageQualifierWrapper()
122 TQualifier getQualifier() const { return mStorageQualifier; } in getQualifier()
126 TQualifier mStorageQualifier;
152 TMemoryQualifierWrapper(TQualifier memoryQualifier, const TSourceLoc &line) in TMemoryQualifierWrapper()
162 TQualifier getQualifier() const { return mMemoryQualifier; } in getQualifier()
166 TQualifier mMemoryQualifier;
173 TTypeQualifier(TQualifier scope, const TSourceLoc &loc);
[all …]
DStaticType.h43 TQualifier qualifier, in BuildStaticMangledName()
67 TQualifier qualifier, in BuildStaticArrayMangledName()
93 TQualifier qualifier,
102 TQualifier qualifier,
129 TQualifier qualifier,
144 TQualifier qualifier,
166 TQualifier qualifier,
178 TQualifier qualifier,
210 TQualifier qualifier,
226 TQualifier qualifier,
[all …]
Dutil.cpp68 bool IsInterpolationIn(TQualifier qualifier) in IsInterpolationIn()
83 bool IsInterpolationOut(TQualifier qualifier) in IsInterpolationOut()
460 bool IsVaryingOut(TQualifier qualifier) in IsVaryingOut()
484 bool IsVaryingIn(TQualifier qualifier) in IsVaryingIn()
508 bool IsVarying(TQualifier qualifier) in IsVarying()
532 bool IsGeometryShaderInput(GLenum shaderType, TQualifier qualifier) in IsGeometryShaderInput()
538 bool IsTessellationControlShaderInput(GLenum shaderType, TQualifier qualifier) in IsTessellationControlShaderInput()
544 bool IsTessellationControlShaderOutput(GLenum shaderType, TQualifier qualifier) in IsTessellationControlShaderOutput()
550 bool IsTessellationEvaluationShaderInput(GLenum shaderType, TQualifier qualifier) in IsTessellationEvaluationShaderInput()
556 InterpolationType GetInterpolationType(TQualifier qualifier) in GetInterpolationType()
[all …]
DQualifierTypes.cpp59 bool IsScopeQualifier(TQualifier qualifier) in IsScopeQualifier()
70 TQualifier q = storageQualifier->getQualifier(); in IsScopeQualifierWrapper()
178 TQualifier currentQualifier = in HasRepeatingQualifiers()
191 TQualifier previousQualifier = previousQualifierWrapper->getQualifier(); in HasRepeatingQualifiers()
208 TQualifier currentQualifier = in HasRepeatingQualifiers()
216 TQualifier previousQualifier = previousQualifierWrapper->getQualifier(); in HasRepeatingQualifiers()
348 bool JoinVariableStorageQualifier(TQualifier *joinedQualifier, TQualifier storageQualifier) in JoinVariableStorageQualifier()
503 bool JoinParameterStorageQualifier(TQualifier *joinedQualifier, TQualifier storageQualifier) in JoinParameterStorageQualifier()
528 bool JoinMemoryQualifier(TMemoryQualifier *joinedMemoryQualifier, TQualifier memoryQualifier) in JoinMemoryQualifier()
900 TTypeQualifier::TTypeQualifier(TQualifier scope, const TSourceLoc &loc) in TTypeQualifier()
DTypes.h99 TQualifier q = EvqTemporary,
105 TQualifier qualifierIn,
112 TQualifier q, in TType()
162 constexpr TQualifier getQualifier() const { return qualifier; } in getQualifier()
163 void setQualifier(TQualifier q) { qualifier = q; } in setQualifier()
373 TQualifier qualifier;
472 void initialize(const TTypeSpecifierNonArray &typeSpecifier, TQualifier q);
496 TQualifier qualifier;
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DPipeline.cpp29 const TQualifier qualifier = nodeType.getQualifier(); in uses()
36 case TQualifier::EvqAttribute: in uses()
37 case TQualifier::EvqVertexIn: in uses()
46 case TQualifier::EvqVertexOut: in uses()
47 case TQualifier::EvqPosition: in uses()
48 case TQualifier::EvqFlatOut: in uses()
49 case TQualifier::EvqPointSize: in uses()
50 case TQualifier::EvqSmoothOut: in uses()
51 case TQualifier::EvqCentroidOut: in uses()
52 case TQualifier::EvqNoPerspectiveOut: in uses()
[all …]
DRewriteOutArgs.cpp124 const TQualifier paramQual = paramType.getQualifier(); in visitAggregatePost()
127 case TQualifier::EvqOut: in visitAggregatePost()
128 case TQualifier::EvqInOut: in visitAggregatePost()
144 const TQualifier paramQual = getParamQualifier(i); in visitAggregatePost()
148 case TQualifier::EvqOut: in visitAggregatePost()
149 case TQualifier::EvqInOut: in visitAggregatePost()
181 const TQualifier paramQual = getParamQualifier(i); in visitAggregatePost()
187 case TQualifier::EvqOut: in visitAggregatePost()
192 case TQualifier::EvqInOut: in visitAggregatePost()
DReduceInterfaceBlocks.cpp56 TQualifier::EvqBuffer, &type.getArraySizes()); in visitDeclarationPre()
66 ASSERT(type.getQualifier() == TQualifier::EvqUniform); in visitDeclarationPre()
74 TQualifier::EvqBuffer, &type.getArraySizes()); in visitDeclarationPre()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.h107 void handleSemantic(TSourceLoc, TQualifier&, TBuiltInVariable, const TString& upperCase);
108 void handlePackOffset(const TSourceLoc&, TQualifier&, const glslang::TString& location,
110 …void handleRegister(const TSourceLoc&, TQualifier&, const glslang::TString* profile, const glslang…
129 void globalQualifierFix(const TSourceLoc&, TQualifier&);
131 void mergeQualifiers(TQualifier& dst, const TQualifier& src);
133 …TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
137 void setLayoutQualifier(const TSourceLoc&, TQualifier&, TString&);
138 void setLayoutQualifier(const TSourceLoc&, TQualifier&, TString&, const TIntermTyped*);
139 void setSpecConstantId(const TSourceLoc&, TQualifier&, int value);
140 void mergeObjectLayoutQualifiers(TQualifier& dest, const TQualifier& src, bool inheritOnly);
[all …]
DhlslGrammar.h75 bool acceptQualifier(TQualifier&);
76 bool acceptLayoutQualifierList(TQualifier&);
86 bool acceptAnnotations(TQualifier&);
128 bool acceptPostDecls(TQualifier&);
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.h107 void handleSemantic(TSourceLoc, TQualifier&, TBuiltInVariable, const TString& upperCase);
108 void handlePackOffset(const TSourceLoc&, TQualifier&, const glslang::TString& location,
110 …void handleRegister(const TSourceLoc&, TQualifier&, const glslang::TString* profile, const glslang…
129 void globalQualifierFix(const TSourceLoc&, TQualifier&);
131 void mergeQualifiers(TQualifier& dst, const TQualifier& src);
133 …TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
137 void setLayoutQualifier(const TSourceLoc&, TQualifier&, TString&);
138 void setLayoutQualifier(const TSourceLoc&, TQualifier&, TString&, const TIntermTyped*);
139 void setSpecConstantId(const TSourceLoc&, TQualifier&, int value);
140 void mergeObjectLayoutQualifiers(TQualifier& dest, const TQualifier& src, bool inheritOnly);
[all …]
DhlslGrammar.h75 bool acceptQualifier(TQualifier&);
76 bool acceptLayoutQualifierList(TQualifier&);
86 bool acceptAnnotations(TQualifier&);
128 bool acceptPostDecls(TQualifier&);
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.h94 globalUniformBinding(TQualifier::layoutBindingEnd), in TParseVersions()
95 globalUniformSet(TQualifier::layoutSetEnd) in TParseVersions()
315 int getIoArrayImplicitSize(const TQualifier&, TString* featureString = nullptr) const;
339 void handlePrecisionQualifier(const TSourceLoc&, TQualifier&, TPrecisionQualifier);
355 bool arrayQualifierError(const TSourceLoc&, const TQualifier&);
359 …void arraySizesCheck(const TSourceLoc&, const TQualifier&, TArraySizes*, const TIntermTyped* initi…
369 void globalQualifierFixCheck(const TSourceLoc&, TQualifier&, bool isMemberCheck = false);
370 void globalQualifierTypeCheck(const TSourceLoc&, const TQualifier&, const TPublicType&);
372 void mergeQualifiers(const TSourceLoc&, TQualifier& dst, const TQualifier& src, bool force);
376 void precisionQualifierCheck(const TSourceLoc&, TBasicType, TQualifier&);
[all …]
DParseHelper.cpp672 int TParseContext::getIoArrayImplicitSize(const TQualifier &qualifier, TString *featureString) const in getIoArrayImplicitSize()
676 …unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.g… in getIoArrayImplicitSize()
679 expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
680 str = TQualifier::getGeometryString(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
691 … intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0; in getIoArrayImplicitSize()
693 … expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
695 str += TQualifier::getGeometryString(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
1187 TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier(); in handleFunctionCall()
1193 const TQualifier& argQualifier = argType.getQualifier(); in handleFunctionCall()
2547 void TParseContext::handlePrecisionQualifier(const TSourceLoc& /*loc*/, TQualifier& qualifier, TPre… in handlePrecisionQualifier()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseHelper.h94 globalUniformBinding(TQualifier::layoutBindingEnd), in TParseVersions()
95 globalUniformSet(TQualifier::layoutSetEnd), in TParseVersions()
96 atomicCounterBlockSet(TQualifier::layoutSetEnd) in TParseVersions()
337 int getIoArrayImplicitSize(const TQualifier&, TString* featureString = nullptr) const;
361 void handlePrecisionQualifier(const TSourceLoc&, TQualifier&, TPrecisionQualifier);
381 bool arrayQualifierError(const TSourceLoc&, const TQualifier&);
385 …void arraySizesCheck(const TSourceLoc&, const TQualifier&, TArraySizes*, const TIntermTyped* initi…
395 void globalQualifierFixCheck(const TSourceLoc&, TQualifier&, bool isMemberCheck = false);
396 void globalQualifierTypeCheck(const TSourceLoc&, const TQualifier&, const TPublicType&);
398 void mergeQualifiers(const TSourceLoc&, TQualifier& dst, const TQualifier& src, bool force);
[all …]
Dlocalintermediate.h153 …TXfbBuffer() : stride(TQualifier::layoutXfbStrideEnd), implicitStride(0), contains64BitType(false), in TXfbBuffer()
299 globalUniformBlockSet(TQualifier::layoutSetEnd),
300 globalUniformBlockBinding(TQualifier::layoutBindingEnd),
301 atomicCounterBlockSet(TQualifier::layoutSetEnd)
307 invocations(TQualifier::layoutNotSet), vertices(TQualifier::layoutNotSet),
318 primitives(TQualifier::layoutNotSet),
344 localSizeSpecId[0] = TQualifier::layoutNotSet;
345 localSizeSpecId[1] = TQualifier::layoutNotSet;
346 localSizeSpecId[2] = TQualifier::layoutNotSet;
348 xfbBuffers.resize(TQualifier::layoutXfbBufferEnd);
[all …]
DParseHelper.cpp243 TQualifier& qualifier = globalUniformBlock->getWritableType().getQualifier(); in growGlobalUniformBlock()
271 TQualifier& qualifier = atomicCounterBuffers[binding]->getWritableType().getQualifier(); in growAtomicCounterBlock()
774 int TParseContext::getIoArrayImplicitSize(const TQualifier &qualifier, TString *featureString) const in getIoArrayImplicitSize()
778 …unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.g… in getIoArrayImplicitSize()
781 expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
782 str = TQualifier::getGeometryString(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
793 … intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0; in getIoArrayImplicitSize()
795 … expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
797 str += TQualifier::getGeometryString(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
1316 TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier(); in handleFunctionCall()
[all …]
/external/swiftshader/src/OpenGL/compiler/
Dglslang.y94 TQualifier qualifier;
935 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
1082 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
1086 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
1090 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
1094 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
1098 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
1102 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
1107 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
1112 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
[all …]
Dglslang_tab.cpp301 TQualifier qualifier;
3583 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3831 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3840 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3849 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3858 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3867 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3876 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3886 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3896 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
[all …]
DParseHelper.h137 bool parameterSamplerErrorCheck(const TSourceLoc &line, TQualifier qualifier, const TType& type);
140 …bool paramErrorCheck(const TSourceLoc &line, TQualifier qualifier, TQualifier paramQualifier, TTyp…
145 void es3InvariantErrorCheck(const TQualifier qualifier, const TSourceLoc &invariantLocation);
146 …void checkInputOutputTypeIsValidES3(const TQualifier qualifier, const TPublicType &type, const TSo…
160 …TPublicType addFullySpecifiedType(TQualifier qualifier, bool invariant, TLayoutQualifier layoutQua…
214 …rs(const TSourceLoc &interpolationLoc, TQualifier interpolationQualifier, const TSourceLoc &storag…
DTypes.h251 …TType(TBasicType t, TPrecision p, TQualifier q = EvqTemporary, int s0 = 1, int s1 = 1, bool a = fa…
265 TType(TInterfaceBlock *interfaceBlockIn, TQualifier qualifierIn, in TType()
281 TQualifier getQualifier() const { return qualifier; } in getQualifier()
282 void setQualifier(TQualifier q) { qualifier = q; } in setQualifier()
536 TQualifier qualifier = EvqTemporary;
566 TQualifier qualifier;
576 void setBasic(TBasicType bt, TQualifier q, const TSourceLoc &ln) in setBasic()
/external/angle/src/compiler/translator/tree_util/
DIntermNode_util.h32 TVariable *CreateTempVariable(TSymbolTable *symbolTable, const TType *type, TQualifier qualifier);
42 TQualifier qualifier,
46 TQualifier qualifier,
52 TQualifier qualifier,
60 TQualifier qualifier,
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DTypes.h493 class TQualifier {
814 layoutSet = TQualifier::layoutSetEnd; in setBlockStorage()
815 layoutBinding = TQualifier::layoutBindingEnd; in setBlockStorage()
1344 invocations = TQualifier::layoutNotSet; in init()
1345 vertices = TQualifier::layoutNotSet; in init()
1355 localSizeSpecId[0] = TQualifier::layoutNotSet; in init()
1356 localSizeSpecId[1] = TQualifier::layoutNotSet; in init()
1357 localSizeSpecId[2] = TQualifier::layoutNotSet; in init()
1363 numViews = TQualifier::layoutNotSet; in init()
1368 primitives = TQualifier::layoutNotSet; in init()
[all …]
/external/deqp-deps/glslang/glslang/Include/
DTypes.h490 class TQualifier {
1266 invocations = TQualifier::layoutNotSet; in init()
1267 vertices = TQualifier::layoutNotSet; in init()
1277 localSizeSpecId[0] = TQualifier::layoutNotSet; in init()
1278 localSizeSpecId[1] = TQualifier::layoutNotSet; in init()
1279 localSizeSpecId[2] = TQualifier::layoutNotSet; in init()
1285 numViews = TQualifier::layoutNotSet; in init()
1290 primitives = TQualifier::layoutNotSet; in init()
1311 if (src.invocations != TQualifier::layoutNotSet) in merge()
1313 if (src.vertices != TQualifier::layoutNotSet) in merge()
[all …]

1234