Home
last modified time | relevance | path

Searched refs:TIntermDeclaration (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNode_util.cpp181 TIntermDeclaration *CreateTempDeclarationNode(const TVariable *tempVariable) in CreateTempDeclarationNode()
183 TIntermDeclaration *tempDeclaration = new TIntermDeclaration(); in CreateTempDeclarationNode()
188 TIntermDeclaration *CreateTempInitDeclarationNode(const TVariable *tempVariable, in CreateTempInitDeclarationNode()
193 TIntermDeclaration *tempDeclaration = new TIntermDeclaration(); in CreateTempInitDeclarationNode()
209 TIntermDeclaration **declarationOut) in DeclareTempVariable()
219 TIntermDeclaration **declarationOut) in DeclareTempVariable()
255 insertSequence.push_back(new TIntermDeclaration{typeVar}); in DeclareStructure()
262 insertSequence.push_back(new TIntermDeclaration{instanceVar}); in DeclareStructure()
293 TIntermDeclaration *interfaceBlockDecl = new TIntermDeclaration; in DeclareInterfaceBlock()
DIntermNode_util.h35 TIntermDeclaration *CreateTempDeclarationNode(const TVariable *tempVariable);
36 TIntermDeclaration *CreateTempInitDeclarationNode(const TVariable *tempVariable,
43 TIntermDeclaration **declarationOut);
47 TIntermDeclaration **declarationOut);
DSpecializationConstant.cpp273 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts()
282 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts()
291 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts()
299 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts()
DReplaceArrayOfMatrixVarying.cpp46 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
109 TIntermDeclaration *varyingReplaceDecl = new TIntermDeclaration; in ReplaceArrayOfMatrixVarying()
DIntermNodePatternMatcher.h19 class TIntermDeclaration; variable
71 bool match(TIntermDeclaration *node) const;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSeparateDeclarations.cpp37 bool visitDeclaration(Visit, TIntermDeclaration *node) override;
61 bool SeparateDeclarationsTraverser::visitDeclaration(Visit, TIntermDeclaration *node) in visitDeclaration()
106 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration; in separateDeclarator()
134 TIntermDeclaration *structDeclaration = new TIntermDeclaration; in separateDeclarator()
185 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration; in separateDeclarator()
DSeparateStructFromUniformDeclarations.cpp27 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration()
60 void doReplacement(TIntermDeclaration *decl, TIntermTyped *declarator, const TType &oldType) in doReplacement()
75 TIntermDeclaration *structDeclaration = new TIntermDeclaration; in doReplacement()
85 TIntermDeclaration *namedDecl = new TIntermDeclaration; in doReplacement()
DSimplifyLoopConditions.cpp43 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
127 bool SimplifyLoopConditionsTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) in visitDeclaration()
218 TIntermDeclaration *tempInitDeclaration = in traverseLoop()
237 TIntermDeclaration *tempInitDeclaration = in traverseLoop()
276 TIntermDeclaration *tempInitDeclaration = in traverseLoop()
299 TIntermDeclaration *tempInitDeclaration = in traverseLoop()
DNameNamelessUniformBuffers.cpp29 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration()
54 TIntermDeclaration *newDeclaration = new TIntermDeclaration; in visitDeclaration()
DRemoveInactiveInterfaceVariables.cpp35 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
79 TIntermDeclaration *node) in visitDeclaration()
147 TIntermDeclaration *declaration = new TIntermDeclaration(); in visitDeclaration()
DRewriteCubeMapSamplersAs2DArray.cpp228 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
273 void declareSampler2DArray(const TVariable *samplerCubeVar, TIntermDeclaration *node) in declareSampler2DArray()
295 TIntermDeclaration *sampler2DArrayDecl = new TIntermDeclaration(); in declareSampler2DArray()
442 TIntermDeclaration *absXDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
445 TIntermDeclaration *absYDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
448 TIntermDeclaration *absZDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
471 TIntermDeclaration *recipOuterDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
491 TIntermDeclaration *dPDXdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
495 TIntermDeclaration *dPDYdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
499 TIntermDeclaration *dPDZdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
[all …]
DRewriteStructSamplers.cpp341 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration()
487 TIntermDeclaration *structDecl = new TIntermDeclaration; in stripStructSpecifierSamplers()
539 TIntermDeclaration *newDecl = new TIntermDeclaration(); in extractStructSamplerUniforms()
616 TIntermDeclaration *samplerDecl = new TIntermDeclaration; in extractSampler()
DRemoveAtomicCounterBuiltins.cpp19 bool IsAtomicCounterDecl(const TIntermDeclaration *node) in IsAtomicCounterDecl()
34 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DNameEmbeddedUniformStructsMetal.cpp29 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration()
65 void doReplacement(TIntermDeclaration *decl, in doReplacement()
78 TIntermDeclaration *structDeclaration = new TIntermDeclaration; in doReplacement()
88 TIntermDeclaration *namedDecl = new TIntermDeclaration; in doReplacement()
DReduceInterfaceBlocks.cpp35 PreResult visitDeclarationPre(TIntermDeclaration &declNode) override in visitDeclarationPre()
61 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre()
62 new TIntermDeclaration{new TIntermSymbol(&instanceVar)}}; in visitDeclarationPre()
80 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre()
81 new TIntermDeclaration{new TIntermSymbol(&instanceVar)}}; in visitDeclarationPre()
DSeparateCompoundExpressions.cpp129 std::vector<std::unordered_map<const TVariable *, TIntermDeclaration *>> mBindingMapStack;
131 std::unordered_set<TIntermDeclaration *> mMaskedDecls;
152 std::unordered_map<const TVariable *, TIntermDeclaration *> &getCurrBindingMap() in getCurrBindingMap()
201 TIntermDeclaration *decl = iter->second; in pullMappedExpr()
243 auto *decl = new TIntermDeclaration(var, &newExpr); in pushBinding()
269 if (TIntermDeclaration *decl = stmt->getAsDeclarationNode()) in pushStmtsIntoBlock()
322 PreResult visitDeclarationPre(TIntermDeclaration &node) override in visitDeclarationPre()
333 PostResult visitDeclarationPost(TIntermDeclaration &node) override in visitDeclarationPost()
346 auto &newNode = *new TIntermDeclaration(); in visitDeclarationPost()
418 pushStmt(*new TIntermDeclaration(var, newLeft)); in visitBinaryPost()
[all …]
DSeparateCompoundStructDeclarations.cpp29 bool visitDeclaration(Visit, TIntermDeclaration *declNode) override in visitDeclaration()
67 replacements.push_back(new TIntermDeclaration({structVar})); in visitDeclaration()
70 TIntermDeclaration *instanceDecl = new TIntermDeclaration; in visitDeclaration()
DRewriteCaseDeclarations.cpp44 block.appendStatement(new TIntermDeclaration{var}); in visitSwitchPost()
52 PreResult visitDeclarationPre(TIntermDeclaration &node) override in visitDeclarationPre()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DWrapSwitchStatementsInBlocks.cpp50 std::vector<TIntermDeclaration *> declarations; in visitSwitch()
54 TIntermDeclaration *asDeclaration = statement->getAsDeclarationNode(); in visitSwitch()
68 for (TIntermDeclaration *declaration : declarations) in visitSwitch()
73 TIntermDeclaration *declarationInBlock = new TIntermDeclaration(); in visitSwitch()
DSeparateArrayInitialization.cpp37 bool visitDeclaration(Visit, TIntermDeclaration *node) override;
49 bool SeparateArrayInitTraverser::visitDeclaration(Visit, TIntermDeclaration *node) in visitDeclaration()
66 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration(); in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorVulkan.cpp82 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
132 TIntermDeclaration *decl = node->getAsDeclarationNode(); in DeclareDefaultUniforms()
316 TIntermDeclaration *varyingDecl = new TIntermDeclaration; in AddANGLEPositionVaryingDeclaration()
347 TIntermDeclaration *ndcDecl = CreateTempInitDeclarationNode(ndc, noPerspective); in AddBresenhamEmulationVS()
360 TIntermDeclaration *windowDecl = CreateTempInitDeclarationNode(windowCoords, ndcToWindow); in AddBresenhamEmulationVS()
374 TIntermDeclaration *clampedDecl = in AddBresenhamEmulationVS()
605 TIntermDeclaration *varyingDecl = new TIntermDeclaration(); in AddXfbExtensionSupport()
707 TIntermDeclaration *pDecl = CreateTempInitDeclarationNode(p, windowPosition); in AddBresenhamEmulationFS()
716 TIntermDeclaration *dDecl = CreateTempInitDeclarationNode(d, dfsum); in AddBresenhamEmulationFS()
723 TIntermDeclaration *fDecl = CreateTempInitDeclarationNode(f, fragCoordXY); in AddBresenhamEmulationFS()
[all …]
DIntermNode.h42 class TIntermDeclaration; variable
97 virtual TIntermDeclaration *getAsDeclarationNode() { return nullptr; } in getAsDeclarationNode()
793 class TIntermDeclaration : public TIntermNode, public TIntermAggregateBase
796 TIntermDeclaration() : TIntermNode() {} in TIntermDeclaration() function
797 TIntermDeclaration(const TVariable *var, TIntermTyped *initExpr);
798 TIntermDeclaration(std::initializer_list<const TVariable *> declarators);
799 TIntermDeclaration(std::initializer_list<TIntermTyped *> declarators);
800 ~TIntermDeclaration() override {} in ~TIntermDeclaration()
802 TIntermDeclaration *getAsDeclarationNode() override { return this; } in getAsDeclarationNode()
817 TIntermDeclaration *deepCopy() const override in deepCopy()
[all …]
DParseContext.h238 TIntermDeclaration *parseSingleDeclaration(TPublicType &publicType,
241 TIntermDeclaration *parseSingleArrayDeclaration(TPublicType &elementType,
246 TIntermDeclaration *parseSingleInitDeclaration(const TPublicType &publicType,
254 TIntermDeclaration *parseSingleArrayInitDeclaration(TPublicType &elementType,
271 TIntermDeclaration *declarationOut);
277 TIntermDeclaration *declarationOut);
283 TIntermDeclaration *declarationOut);
293 TIntermDeclaration *declarationOut);
361 TIntermDeclaration *addInterfaceBlock(const TTypeQualifierBuilder &typeQualifierBuilder,
DFlagStd140Structs.cpp28 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
51 bool FlagStd140StructsTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp51 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
75 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
89 bool InputAttachmentReferenceTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) in visitDeclaration()
184 bool ReplaceVariableTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) in visitDeclaration()
285 TIntermDeclaration *dataLoadVarDecl = new TIntermDeclaration; in declareVariablesForFetch()
369 TIntermDeclaration *inputAttachmentDecl = new TIntermDeclaration; in declareSubpassInputVariableImpl()

1234