Home
last modified time | relevance | path

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

12

/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&);
DhlslParseHelper.cpp1093 const TQualifier& outerQualifier) in splitBuiltIn()
1122 ioVar->getWritableType().getQualifier().layoutLocation = TQualifier::layoutLocationEnd; in splitBuiltIn()
1138 const TType& HlslParseContext::split(const TType& type, const TString& name, const TQualifier& oute… in split()
1221 const TQualifier& outerQualifier, in flatten()
1240 const TQualifier& outerQualifier, in addFlattenedMember()
1248 if (flattenData.nextBinding != TQualifier::layoutBindingEnd) in addFlattenedMember()
1253 … memberVariable->getWritableType().getQualifier().layoutLocation = TQualifier::layoutLocationEnd; in addFlattenedMember()
1256 if (flattenData.nextLocation != TQualifier::layoutLocationEnd) { in addFlattenedMember()
1282 const TQualifier& outerQualifier, in flattenStruct()
1318 const TQualifier& outerQualifier) in flattenArray()
[all …]
DhlslGrammar.cpp593 TQualifier qualifier; in acceptFullySpecifiedType()
650 bool HlslGrammar::acceptQualifier(TQualifier& qualifier) in acceptQualifier()
763 bool HlslGrammar::acceptLayoutQualifierList(TQualifier& qualifier) in acceptLayoutQualifierList()
1074 bool HlslGrammar::acceptAnnotations(TQualifier&) in acceptAnnotations() argument
2114 TQualifier postDeclQualifier; in acceptStruct()
2212 TQualifier postDeclQualifier; in acceptConstantBufferType()
3994 bool HlslGrammar::acceptPostDecls(TQualifier& qualifier) in acceptPostDecls()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.h91 globalUniformBinding(TQualifier::layoutBindingEnd), in TParseVersions()
92 globalUniformSet(TQualifier::layoutSetEnd) in TParseVersions()
325 void handlePrecisionQualifier(const TSourceLoc&, TQualifier&, TPrecisionQualifier);
341 bool arrayQualifierError(const TSourceLoc&, const TQualifier&);
345 …void arraySizesCheck(const TSourceLoc&, const TQualifier&, TArraySizes*, const TIntermTyped* initi…
355 void globalQualifierFixCheck(const TSourceLoc&, TQualifier&);
356 void globalQualifierTypeCheck(const TSourceLoc&, const TQualifier&, const TPublicType&);
358 void mergeQualifiers(const TSourceLoc&, TQualifier& dst, const TQualifier& src, bool force);
362 void precisionQualifierCheck(const TSourceLoc&, TBasicType, TQualifier&);
365 …TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
[all …]
DParseHelper.cpp600 feature = TQualifier::getGeometryString(intermediate.getInputPrimitive()); in checkIoArraysConsistency()
628 return TQualifier::mapGeometryToSize(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
630 … return intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0; in getIoArrayImplicitSize()
636 …return intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0; in getIoArrayImplicitSize()
638 … return intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0; in getIoArrayImplicitSize()
1090 TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier(); in handleFunctionCall()
1095 TQualifier& argQualifier = arg->getAsTyped()->getQualifier(); in handleFunctionCall()
2249 void TParseContext::handlePrecisionQualifier(const TSourceLoc& /*loc*/, TQualifier& qualifier, TPre… in handlePrecisionQualifier()
3069 void TParseContext::globalQualifierFixCheck(const TSourceLoc& loc, TQualifier& qualifier) in globalQualifierFixCheck()
3107 void TParseContext::globalQualifierTypeCheck(const TSourceLoc& loc, const TQualifier& qualifier, co… in globalQualifierTypeCheck()
[all …]
DlinkValidate.cpp135 if (unit.invocations != TQualifier::layoutNotSet) { in mergeModes()
136 if (invocations == TQualifier::layoutNotSet) in mergeModes()
142 if (vertices == TQualifier::layoutNotSet) in mergeModes()
157 if (primitives == TQualifier::layoutNotSet) in mergeModes()
198 if (localSizeSpecId[i] != TQualifier::layoutNotSet) in mergeModes()
220 if (xfbBuffers[b].stride == TQualifier::layoutXfbStrideEnd) in mergeModes()
323 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
345 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
380 const TQualifier& qualifier = symbol->getType().getQualifier(); in visitSymbol()
623 if (invocations == TQualifier::layoutNotSet) in finalCheck()
[all …]
Dlocalintermediate.h152 …TXfbBuffer() : stride(TQualifier::layoutXfbStrideEnd), implicitStride(0), containsDouble(false) { } in TXfbBuffer()
231 invocations(TQualifier::layoutNotSet), vertices(TQualifier::layoutNotSet),
243 primitives(TQualifier::layoutNotSet),
264 localSizeSpecId[0] = TQualifier::layoutNotSet;
265 localSizeSpecId[1] = TQualifier::layoutNotSet;
266 localSizeSpecId[2] = TQualifier::layoutNotSet;
267 xfbBuffers.resize(TQualifier::layoutXfbBufferEnd);
524 if (invocations != TQualifier::layoutNotSet) in setInvocations()
532 if (vertices != TQualifier::layoutNotSet) in setVertices()
576 if (localSizeSpecId[dim] != TQualifier::layoutNotSet) in setLocalSizeSpecId()
[all …]
DintermOut.cpp1428 … infoSink.debug << "input primitive = " << TQualifier::getGeometryString(inputPrimitive) << "\n"; in output()
1430 …infoSink.debug << "vertex spacing = " << TQualifier::getVertexSpacingString(vertexSpacing) << "\n"; in output()
1432 … infoSink.debug << "triangle order = " << TQualifier::getVertexOrderString(vertexOrder) << "\n"; in output()
1436 … infoSink.debug << "input primitive = " << TQualifier::getGeometryString(inputPrimitive) << "\n"; in output()
1437 …infoSink.debug << "vertex spacing = " << TQualifier::getVertexSpacingString(vertexSpacing) << "\n"; in output()
1438 … infoSink.debug << "triangle order = " << TQualifier::getVertexOrderString(vertexOrder) << "\n"; in output()
1446 … infoSink.debug << "input primitive = " << TQualifier::getGeometryString(inputPrimitive) << "\n"; in output()
1447 … infoSink.debug << "output primitive = " << TQualifier::getGeometryString(outputPrimitive) << "\n"; in output()
1460 infoSink.debug << "using " << TQualifier::getLayoutDepthString(depthLayout) << "\n"; in output()
1466 infoSink.debug << " " << TQualifier::getBlendEquationString(be); in output()
[all …]
Diomapper.cpp95 const TQualifier& lq = l.symbol->getQualifier(); in operator ()()
96 const TQualifier& rq = r.symbol->getQualifier(); in operator ()()
266 if (ent.newBinding >= int(TQualifier::layoutBindingEnd)) { in operator ()()
274 if (ent.newSet >= int(TQualifier::layoutSetEnd)) { in operator ()()
DParseContextBase.cpp575 TQualifier blockQualifier; in growGlobalUniformBlock()
/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()
DParseHelper.cpp33 bool IsVaryingOut(TQualifier qualifier) in IsVaryingOut()
50 bool IsVaryingIn(TQualifier qualifier) in IsVaryingIn()
67 bool IsVarying(TQualifier qualifier) in IsVarying()
775 bool TParseContext::parameterSamplerErrorCheck(const TSourceLoc &line, TQualifier qualifier, const … in parameterSamplerErrorCheck()
1043 bool TParseContext::paramErrorCheck(const TSourceLoc &line, TQualifier qualifier, TQualifier paramQ… in paramErrorCheck()
1087 TQualifier qual = fnCandidate->getParam(i).type->getQualifier(); in functionCallLValueErrorCheck()
1103 void TParseContext::es3InvariantErrorCheck(const TQualifier qualifier, const TSourceLoc &invariantL… in es3InvariantErrorCheck()
1172 TQualifier qualifier = variable->getType().getQualifier(); in getNamedVariable()
1271 TQualifier qualifier = type.getQualifier(); in executeInitializer()
1327 TPublicType TParseContext::addFullySpecifiedType(TQualifier qualifier, bool invariant, TLayoutQuali… in addFullySpecifiedType()
[all …]
DBaseTypes.h349 enum TQualifier : unsigned char enum
432 inline const char *getQualifierString(TQualifier qualifier) in getQualifierString()
Dglslang_tab.h214 TQualifier qualifier;
DOutputASM.h176 TQualifier qualifier;
375 TQualifier outputQualifier;
DparseConst.cpp76 TQualifier qualifier = node->getType().getQualifier(); in visitBinary()
DValidateLimitations.cpp438 TQualifier qual = param.type->getQualifier(); in validateFunctionCall()
/external/deqp-deps/glslang/glslang/Include/
DTypes.h419 class TQualifier {
1135 invocations = TQualifier::layoutNotSet; in init()
1136 vertices = TQualifier::layoutNotSet; in init()
1143 localSizeSpecId[0] = TQualifier::layoutNotSet; in init()
1144 localSizeSpecId[1] = TQualifier::layoutNotSet; in init()
1145 localSizeSpecId[2] = TQualifier::layoutNotSet; in init()
1150 numViews = TQualifier::layoutNotSet; in init()
1155 primitives = TQualifier::layoutNotSet; in init()
1169 if (src.invocations != TQualifier::layoutNotSet) in merge()
1171 if (src.vertices != TQualifier::layoutNotSet) in merge()
[all …]
Dintermediate.h1080 virtual TQualifier& getQualifier() { return type.getQualifier(); } in getQualifier()
1081 virtual const TQualifier& getQualifier() const { return type.getQualifier(); } in getQualifier()
/external/deqp-deps/glslang/gtests/
DSpv.FromFile.cpp459 glslang::TQualifier::layoutBindingEnd-2,
460 glslang::TQualifier::layoutBindingEnd+5,
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp129 spv::Decoration TranslateInterpolationDecoration(const glslang::TQualifier& qualifier);
130 spv::Decoration TranslateAuxiliaryStorageDecoration(const glslang::TQualifier& qualifier);
131 spv::Decoration TranslateNonUniformDecoration(const glslang::TQualifier& qualifier);
149 …rtGlslangToSpvType(const glslang::TType& type, glslang::TLayoutPacking, const glslang::TQualifier&,
153 glslang::TLayoutPacking, const glslang::TQualifier&);
155 const glslang::TQualifier&, spv::Id);
198 void addMeshNVDecoration(spv::Id id, int member, const glslang::TQualifier & qualifier);
365 void TranslateMemoryDecoration(const glslang::TQualifier& qualifier, std::vector<spv::Decoration>& … in TranslateMemoryDecoration()
442 spv::Decoration TGlslangToSpvTraverser::TranslateInterpolationDecoration(const glslang::TQualifier&… in TranslateInterpolationDecoration()
464 …n TGlslangToSpvTraverser::TranslateAuxiliaryStorageDecoration(const glslang::TQualifier& qualifier) in TranslateAuxiliaryStorageDecoration()
[all …]

12