Home
last modified time | relevance | path

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

1234

/external/deqp-deps/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/angle/third_party/glslang/src/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/angle/src/compiler/translator/
Dutil.h54 bool IsVaryingIn(TQualifier qualifier);
55 bool IsVaryingOut(TQualifier qualifier);
56 bool IsVarying(TQualifier qualifier);
57 bool IsGeometryShaderInput(GLenum shaderType, TQualifier qualifier);
58 InterpolationType GetInterpolationType(TQualifier qualifier);
70 bool IsBuiltinOutputVariable(TQualifier qualifier);
71 bool IsBuiltinFragmentInputVariable(TQualifier qualifier);
72 bool CanBeInvariantESSL1(TQualifier qualifier);
73 bool CanBeInvariantESSL3OrGreater(TQualifier qualifier);
74 bool IsShaderOutput(TQualifier qualifier);
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,
204 TQualifier qualifier,
220 TQualifier qualifier,
[all …]
DQualifierTypes.cpp59 bool IsScopeQualifier(TQualifier qualifier) in IsScopeQualifier()
70 TQualifier q = storageQualifier->getQualifier(); in IsScopeQualifierWrapper()
178 TQualifier currentQualifier = in HasRepeatingQualifiers()
190 TQualifier previousQualifier = previousQualifierWrapper->getQualifier(); in HasRepeatingQualifiers()
207 TQualifier currentQualifier = in HasRepeatingQualifiers()
215 TQualifier previousQualifier = previousQualifierWrapper->getQualifier(); in HasRepeatingQualifiers()
347 bool JoinVariableStorageQualifier(TQualifier *joinedQualifier, TQualifier storageQualifier) in JoinVariableStorageQualifier()
450 bool JoinParameterStorageQualifier(TQualifier *joinedQualifier, TQualifier storageQualifier) in JoinParameterStorageQualifier()
475 bool JoinMemoryQualifier(TMemoryQualifier *joinedMemoryQualifier, TQualifier memoryQualifier) in JoinMemoryQualifier()
801 TTypeQualifier::TTypeQualifier(TQualifier scope, const TSourceLoc &loc) in TTypeQualifier()
Dutil.cpp30 bool IsInterpolationIn(TQualifier qualifier) in IsInterpolationIn()
516 bool IsVaryingOut(TQualifier qualifier) in IsVaryingOut()
536 bool IsVaryingIn(TQualifier qualifier) in IsVaryingIn()
556 bool IsVarying(TQualifier qualifier) in IsVarying()
561 bool IsGeometryShaderInput(GLenum shaderType, TQualifier qualifier) in IsGeometryShaderInput()
567 InterpolationType GetInterpolationType(TQualifier qualifier) in GetInterpolationType()
673 bool CanBeInvariantESSL1(TQualifier qualifier) in CanBeInvariantESSL1()
682 bool CanBeInvariantESSL3OrGreater(TQualifier qualifier) in CanBeInvariantESSL3OrGreater()
688 bool IsBuiltinOutputVariable(TQualifier qualifier) in IsBuiltinOutputVariable()
707 bool IsBuiltinFragmentInputVariable(TQualifier qualifier) in IsBuiltinFragmentInputVariable()
[all …]
DTypes.h99 TQualifier q = EvqTemporary,
105 TQualifier qualifierIn,
112 TQualifier q, in TType()
160 constexpr TQualifier getQualifier() const { return qualifier; } in getQualifier()
161 void setQualifier(TQualifier q) { qualifier = q; } in setQualifier()
358 TQualifier qualifier;
453 void initialize(const TTypeSpecifierNonArray &typeSpecifier, TQualifier q);
477 TQualifier qualifier;
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.h92 globalUniformBinding(TQualifier::layoutBindingEnd), in TParseVersions()
93 globalUniformSet(TQualifier::layoutSetEnd) in TParseVersions()
312 int getIoArrayImplicitSize(const TQualifier&, TString* featureString = nullptr) const;
335 void handlePrecisionQualifier(const TSourceLoc&, TQualifier&, TPrecisionQualifier);
351 bool arrayQualifierError(const TSourceLoc&, const TQualifier&);
355 …void arraySizesCheck(const TSourceLoc&, const TQualifier&, TArraySizes*, const TIntermTyped* initi…
365 void globalQualifierFixCheck(const TSourceLoc&, TQualifier&);
366 void globalQualifierTypeCheck(const TSourceLoc&, const TQualifier&, const TPublicType&);
368 void mergeQualifiers(const TSourceLoc&, TQualifier& dst, const TQualifier& src, bool force);
372 void precisionQualifierCheck(const TSourceLoc&, TBasicType, TQualifier&);
[all …]
DParseHelper.cpp664 int TParseContext::getIoArrayImplicitSize(const TQualifier &qualifier, TString *featureString) const in getIoArrayImplicitSize()
668 …unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.g… in getIoArrayImplicitSize()
671 expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
672 str = TQualifier::getGeometryString(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
683 … intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0; in getIoArrayImplicitSize()
685 … expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
687 str += TQualifier::getGeometryString(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
1176 TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier(); in handleFunctionCall()
1182 const TQualifier& argQualifier = argType.getQualifier(); in handleFunctionCall()
2484 void TParseContext::handlePrecisionQualifier(const TSourceLoc& /*loc*/, TQualifier& qualifier, TPre… in handlePrecisionQualifier()
[all …]
Dlocalintermediate.h153 …TXfbBuffer() : stride(TQualifier::layoutXfbStrideEnd), implicitStride(0), contains64BitType(false), in TXfbBuffer()
255 invocations(TQualifier::layoutNotSet), vertices(TQualifier::layoutNotSet), in language()
266 primitives(TQualifier::layoutNotSet), in language()
288 localSizeSpecId[0] = TQualifier::layoutNotSet; in language()
289 localSizeSpecId[1] = TQualifier::layoutNotSet; in language()
290 localSizeSpecId[2] = TQualifier::layoutNotSet; in language()
292 xfbBuffers.resize(TQualifier::layoutXfbBufferEnd); in language()
501 if (localSizeSpecId[dim] != TQualifier::layoutNotSet) in setLocalSizeSpecId()
647 if (invocations != TQualifier::layoutNotSet) in setInvocations()
655 if (vertices != TQualifier::layoutNotSet) in setVertices()
[all …]
DlinkValidate.cpp147 if (unit.invocations != TQualifier::layoutNotSet) { in mergeModes()
148 if (invocations == TQualifier::layoutNotSet) in mergeModes()
154 if (vertices == TQualifier::layoutNotSet) in mergeModes()
164 if (primitives == TQualifier::layoutNotSet) in mergeModes()
206 if (localSizeSpecId[i] == TQualifier::layoutNotSet) in mergeModes()
228 if (xfbBuffers[b].stride == TQualifier::layoutXfbStrideEnd) in mergeModes()
340 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
364 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
401 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
684 if (invocations == TQualifier::layoutNotSet) in finalCheck()
[all …]
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
DParseHelper.h92 globalUniformBinding(TQualifier::layoutBindingEnd), in TParseVersions()
93 globalUniformSet(TQualifier::layoutSetEnd) in TParseVersions()
312 int getIoArrayImplicitSize(const TQualifier&, TString* featureString = nullptr) const;
334 void handlePrecisionQualifier(const TSourceLoc&, TQualifier&, TPrecisionQualifier);
350 bool arrayQualifierError(const TSourceLoc&, const TQualifier&);
354 …void arraySizesCheck(const TSourceLoc&, const TQualifier&, TArraySizes*, const TIntermTyped* initi…
364 void globalQualifierFixCheck(const TSourceLoc&, TQualifier&);
365 void globalQualifierTypeCheck(const TSourceLoc&, const TQualifier&, const TPublicType&);
367 void mergeQualifiers(const TSourceLoc&, TQualifier& dst, const TQualifier& src, bool force);
371 void precisionQualifierCheck(const TSourceLoc&, TBasicType, TQualifier&);
[all …]
DParseHelper.cpp654 int TParseContext::getIoArrayImplicitSize(const TQualifier &qualifier, TString *featureString) const in getIoArrayImplicitSize()
658 …unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.g… in getIoArrayImplicitSize()
661 expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
662 str = TQualifier::getGeometryString(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
673 … intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0; in getIoArrayImplicitSize()
675 … expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
677 str += TQualifier::getGeometryString(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
1155 TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier(); in handleFunctionCall()
1161 const TQualifier& argQualifier = argType.getQualifier(); in handleFunctionCall()
2441 void TParseContext::handlePrecisionQualifier(const TSourceLoc& /*loc*/, TQualifier& qualifier, TPre… in handlePrecisionQualifier()
[all …]
Dlocalintermediate.h153 …TXfbBuffer() : stride(TQualifier::layoutXfbStrideEnd), implicitStride(0), contains64BitType(false), in TXfbBuffer()
255 invocations(TQualifier::layoutNotSet), vertices(TQualifier::layoutNotSet), in language()
266 primitives(TQualifier::layoutNotSet), in language()
288 localSizeSpecId[0] = TQualifier::layoutNotSet; in language()
289 localSizeSpecId[1] = TQualifier::layoutNotSet; in language()
290 localSizeSpecId[2] = TQualifier::layoutNotSet; in language()
292 xfbBuffers.resize(TQualifier::layoutXfbBufferEnd); in language()
494 if (localSizeSpecId[dim] != TQualifier::layoutNotSet) in setLocalSizeSpecId()
640 if (invocations != TQualifier::layoutNotSet) in setInvocations()
648 if (vertices != TQualifier::layoutNotSet) in setVertices()
[all …]
DlinkValidate.cpp147 if (unit.invocations != TQualifier::layoutNotSet) { in mergeModes()
148 if (invocations == TQualifier::layoutNotSet) in mergeModes()
154 if (vertices == TQualifier::layoutNotSet) in mergeModes()
164 if (primitives == TQualifier::layoutNotSet) in mergeModes()
206 if (localSizeSpecId[i] == TQualifier::layoutNotSet) in mergeModes()
228 if (xfbBuffers[b].stride == TQualifier::layoutXfbStrideEnd) in mergeModes()
340 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
364 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
401 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
684 if (invocations == TQualifier::layoutNotSet) in finalCheck()
[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.h31 TVariable *CreateTempVariable(TSymbolTable *symbolTable, const TType *type, TQualifier qualifier);
41 TQualifier qualifier,
45 TQualifier qualifier,
50 TQualifier qualifier,
/external/angle/third_party/glslang/src/glslang/Include/
DTypes.h488 class TQualifier {
1248 invocations = TQualifier::layoutNotSet; in init()
1249 vertices = TQualifier::layoutNotSet; in init()
1259 localSizeSpecId[0] = TQualifier::layoutNotSet; in init()
1260 localSizeSpecId[1] = TQualifier::layoutNotSet; in init()
1261 localSizeSpecId[2] = TQualifier::layoutNotSet; in init()
1267 numViews = TQualifier::layoutNotSet; in init()
1271 primitives = TQualifier::layoutNotSet; in init()
1292 if (src.invocations != TQualifier::layoutNotSet) in merge()
1294 if (src.vertices != TQualifier::layoutNotSet) in merge()
[all …]
/external/deqp-deps/glslang/glslang/Include/
DTypes.h488 class TQualifier {
1248 invocations = TQualifier::layoutNotSet; in init()
1249 vertices = TQualifier::layoutNotSet; in init()
1259 localSizeSpecId[0] = TQualifier::layoutNotSet; in init()
1260 localSizeSpecId[1] = TQualifier::layoutNotSet; in init()
1261 localSizeSpecId[2] = TQualifier::layoutNotSet; in init()
1267 numViews = TQualifier::layoutNotSet; in init()
1271 primitives = TQualifier::layoutNotSet; in init()
1292 if (src.invocations != TQualifier::layoutNotSet) in merge()
1294 if (src.vertices != TQualifier::layoutNotSet) in merge()
[all …]

1234