/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | ModifyStruct.cpp | 59 TIntermTyped &Flatten(SymbolEnv &symbolEnv, TIntermTyped &node) in Flatten() argument 67 return symbolEnv.callFunctionOverload(Name("flatten"), retType, *new TIntermSequence{&node}); in Flatten() 95 TIntermTyped &BuildPathAccess(SymbolEnv &symbolEnv, in BuildPathAccess() argument 112 curr = &Flatten(symbolEnv, *curr); in BuildPathAccess() 154 SymbolEnv &symbolEnv, in ConvertStructState() argument 161 symbolEnv(symbolEnv), in ConvertStructState() 163 symbolTable(symbolEnv.symbolTable()), in ConvertStructState() 193 symbolEnv.markAsReference(originalParam, AddressSpace::Thread); in publish() 194 symbolEnv.markAsReference(modifiedParam, config.externalAddressSpace); in publish() 231 OriginalAccess *original = &BuildPathAccess(symbolEnv, originalParam, info.pathItems); in publish() [all …]
|
D | ToposortStructs.cpp | 31 void BuildGraphImpl(SymbolEnv &symbolEnv, Graph<const TStructure *> &g, const TStructure *s) in BuildGraphImpl() argument 43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl() 46 BuildGraphImpl(symbolEnv, g, z); in BuildGraphImpl() 53 Graph<const TStructure *> BuildGraph(SymbolEnv &symbolEnv, in BuildGraph() argument 59 BuildGraphImpl(symbolEnv, g, s); in BuildGraph() 211 bool GetAsDeclaredStructure(SymbolEnv &symbolEnv, in GetAsDeclaredStructure() argument 226 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure() 250 FindStructEqualityUse(SymbolEnv &symbolEnv) in FindStructEqualityUse() argument 251 : TIntermTraverser(false, false, true), mSymbolEnv(symbolEnv) in FindStructEqualityUse() 301 SymbolEnv &symbolEnv, in ToposortStructs() argument [all …]
|
D | AddExplicitTypeCasts.cpp | 22 Rewriter(TCompiler &compiler, SymbolEnv &symbolEnv, bool needsExplicitBoolCasts) in Rewriter() argument 24 mSymbolEnv(symbolEnv), in Rewriter() 95 SymbolEnv &symbolEnv, in AddExplicitTypeCasts() argument 98 Rewriter rewriter(compiler, symbolEnv, needsExplicitBoolCasts); in AddExplicitTypeCasts()
|
D | RewritePipelines.cpp | 89 SymbolEnv &symbolEnv, in Exec() argument 92 GeneratePipelineStruct self(compiler, idGen, pipeline, symbolEnv, variableInfos); in Exec() 105 SymbolEnv &symbolEnv, in GeneratePipelineStruct() argument 109 mSymbolEnv(symbolEnv), in GeneratePipelineStruct() 353 SymbolEnv &symbolEnv, in PipelineFunctionEnv() argument 360 mSymbolEnv(symbolEnv), in PipelineFunctionEnv() 361 mSymbolTable(symbolEnv.symbolTable()), in PipelineFunctionEnv() 562 SymbolEnv &symbolEnv, in ThreadPipeline() argument 567 pipelineMainLocalVar, idGen, symbolEnv, funcOriginalToModified, in ThreadPipeline() 583 SymbolEnv &symbolEnv, in UpdatePipelineFunctions() argument [all …]
|
D | RewriteOutArgs.cpp | 90 Rewriter(TCompiler &compiler, SymbolEnv &symbolEnv) in Rewriter() argument 91 : TIntermRebuild(compiler, false, true), mSymbolEnv(symbolEnv) in Rewriter() 213 bool sh::RewriteOutArgs(TCompiler &compiler, TIntermBlock &root, SymbolEnv &symbolEnv) in RewriteOutArgs() argument 215 Rewriter rewriter(compiler, symbolEnv); in RewriteOutArgs()
|
D | RewriteUnaddressableReferences.cpp | 259 Rewriter2(TCompiler &compiler, SymbolEnv &symbolEnv) in Rewriter2() argument 260 : TIntermRebuild(compiler, true, true), mSymbolEnv(symbolEnv) in Rewriter2() 364 SymbolEnv &symbolEnv) in RewriteUnaddressableReferences() argument 370 if (!Rewriter2(compiler, symbolEnv).rebuildRoot(root)) in RewriteUnaddressableReferences()
|
D | RewriteUnaddressableReferences.h | 27 SymbolEnv &symbolEnv);
|
D | RewriteOutArgs.h | 29 ANGLE_NO_DISCARD bool RewriteOutArgs(TCompiler &compiler, TIntermBlock &root, SymbolEnv &symbolEnv);
|
D | AddExplicitTypeCasts.h | 20 SymbolEnv &symbolEnv,
|
D | ToposortStructs.h | 21 SymbolEnv &symbolEnv,
|
D | SeparateCompoundExpressions.h | 41 SymbolEnv &symbolEnv,
|
D | EmitMetal.h | 25 SymbolEnv &symbolEnv,
|
D | RewritePipelines.h | 40 SymbolEnv &symbolEnv,
|
D | FixTypeConstructors.cpp | 93 bool sh::FixTypeConstructors(TCompiler &compiler, SymbolEnv &symbolEnv, TIntermBlock &root) in FixTypeConstructors() argument
|
D | ModifyStruct.h | 128 SymbolEnv &symbolEnv,
|
D | SeparateCompoundExpressions.cpp | 134 Separator(TCompiler &compiler, SymbolEnv &symbolEnv, IdGen &idGen) in Separator() argument 634 SymbolEnv &symbolEnv, in SeparateCompoundExpressions() argument 653 if (!Separator(compiler, symbolEnv, idGen).rebuildRoot(root)) in SeparateCompoundExpressions()
|
D | AstHelpers.h | 155 TIntermTyped &AsType(SymbolEnv &symbolEnv, const TType &toType, TIntermTyped &fromNode);
|
D | AstHelpers.cpp | 505 TIntermTyped &sh::AsType(SymbolEnv &symbolEnv, const TType &toType, TIntermTyped &fromNode) in AsType() argument 519 return symbolEnv.callFunctionOverload(Name("as_type", SymbolType::BuiltIn), toType, in AsType()
|
D | EmitMetal.cpp | 85 SymbolEnv &symbolEnv, 214 SymbolEnv &symbolEnv, in GenMetalTraverser() argument 220 mSymbolEnv(symbolEnv), in GenMetalTraverser() 2442 SymbolEnv &symbolEnv, in EmitMetal() argument 2501 GenMetalTraverser gen(compiler, outWrapper, idGen, pipelineStructs, symbolEnv, symbolTable); in EmitMetal()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorMetalDirect.cpp | 822 SymbolEnv symbolEnv(*this, *root); in translateImpl() local 973 if (!AppendVertexShaderTransformFeedbackOutputToMain(*this, symbolEnv, *root)) in translateImpl() 1067 if (!AddExplicitTypeCasts(*this, *root, symbolEnv, needsExplicitBoolCasts)) in translateImpl() 1072 if (!SeparateCompoundExpressions(*this, symbolEnv, idGen, *root)) in translateImpl() 1119 *driverUniforms, symbolEnv, pipelineStructs)) in translateImpl() 1137 if (!RewriteUnaddressableReferences(*this, *root, symbolEnv)) in translateImpl() 1142 if (!RewriteOutArgs(*this, *root, symbolEnv)) in translateImpl() 1146 if (!FixTypeConstructors(*this, symbolEnv, *root)) in translateImpl() 1150 if (!ToposortStructs(*this, symbolEnv, *root, ppc)) in translateImpl() 1154 if (!EmitMetal(*this, *root, idGen, pipelineStructs, symbolEnv, ppc, &getSymbolTable())) in translateImpl()
|