/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 27 TIntermSymbol *GetValueFromNeighbor(TSymbolTable *symbolTable, in GetValueFromNeighbor() 36 TIntermSymbol *neighbor = new TIntermSymbol(CreateTempVariable(symbolTable, variableType)); in GetValueFromNeighbor() 46 TIntermSymbol *GetDiffWithNeighbor(TSymbolTable *symbolTable, in GetDiffWithNeighbor() 56 TIntermSymbol *neighbor = new TIntermSymbol(CreateTempVariable(symbolTable, variableType)); in GetDiffWithNeighbor() 63 TIntermSymbol *IsNeighborNonHelper(TSymbolTable *symbolTable, in IsNeighborNonHelper() 73 TIntermSymbol *diffWithNeighbor = in IsNeighborNonHelper() 78 TIntermSymbol *isNeighborNonHelper = in IsNeighborNonHelper() 79 new TIntermSymbol(CreateTempVariable(symbolTable, boolType)); in IsNeighborNonHelper() 96 TIntermSymbol *gl_HelperInvocation = new TIntermSymbol(gl_HelperInvocationVar); in GetLayerFromNonHelperInvocation() 101 TIntermSymbol *lH; in GetLayerFromNonHelperInvocation() [all …]
|
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 48 glInstanceIDSymbolCastArguments->push_back(new TIntermSymbol(BuiltInVariable::gl_InstanceID())); in InitializeViewIDAndInstanceID() 64 new TIntermBinary(EOpAssign, new TIntermSymbol(instanceID), normalizedInstanceIDAsInt); in InitializeViewIDAndInstanceID() 73 new TIntermBinary(EOpAssign, new TIntermSymbol(viewID), normalizedViewID); in InitializeViewIDAndInstanceID() 86 viewIDSymbolCastArguments->push_back(new TIntermSymbol(viewID)); in SelectViewIndexInVertexShader() 91 TIntermSymbol *viewportIndexSymbol = new TIntermSymbol(BuiltInVariable::gl_ViewportIndex()); in SelectViewIndexInVertexShader() 99 TIntermSymbol *layerSymbol = new TIntermSymbol(BuiltInVariable::gl_LayerVS()); in SelectViewIndexInVertexShader() 103 EOpAdd, viewIDAsInt->deepCopy(), new TIntermSymbol(multiviewBaseViewLayerIndex)); in SelectViewIndexInVertexShader() 112 new TIntermBinary(EOpLessThan, new TIntermSymbol(multiviewBaseViewLayerIndex), in SelectViewIndexInVertexShader()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | ReplaceClipCullDistanceVariable.cpp | 32 TIntermSymbol *left, 33 TIntermSymbol *right, 55 GLClipCullDistanceReferenceTraverser(const TIntermSymbol **redeclaredSymOut, in GLClipCullDistanceReferenceTraverser() 83 TIntermSymbol *variable = sequence.front()->getAsSymbolNode(); in visitDeclaration() 111 TIntermSymbol *clipCullDistance = left->getAsSymbolNode(); in visitBinary() 157 const TIntermSymbol **mRedeclaredSym; 175 const TIntermSymbol *exception) in ReplaceVariableExceptOneTraverser() 182 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 192 const TIntermSymbol *const mException; 197 TIntermSymbol *leftSymbol, in simpleAssignFunc() [all …]
|
D | RewriteSampleMaskVariable.cpp | 35 GLSampleMaskRelatedReferenceTraverser(const TIntermSymbol **redeclaredSymOut, in GLSampleMaskRelatedReferenceTraverser() 55 TIntermSymbol *symbol = variable->getAsSymbolNode(); in visitDeclaration() 73 TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); in visitBinary() 99 const TIntermSymbol **mRedeclaredSym; 110 const TIntermSymbol *redeclaredGLSampleMask = nullptr; in RewriteSampleMask() 143 TIntermSymbol *glSampleMaskSymbol = new TIntermSymbol(glSampleMaskVar); in RewriteSampleMask() 171 const TIntermSymbol *redeclaredGLSampleMaskIn = nullptr; in RewriteSampleMaskIn()
|
D | SpecializationConstant.h | 18 class TIntermSymbol; variable 31 TIntermSymbol *getLineRasterEmulation(); 52 TIntermSymbol *getFlipRotation(); 54 TIntermSymbol *getDrawableWidth(); 55 TIntermSymbol *getDrawableHeight();
|
D | ReplaceArrayOfMatrixVarying.cpp | 62 TIntermSymbol *variableSymbol = variableType->getAsSymbolNode(); in visitDeclaration() 108 TIntermSymbol *varyingReplaceDeclarator = new TIntermSymbol(varyingReplaceVar); in ReplaceArrayOfMatrixVarying() 115 TIntermSymbol *tempReplaceSymbol = new TIntermSymbol(tempReplaceVar); in ReplaceArrayOfMatrixVarying() 116 TIntermSymbol *varyingReplaceSymbol = new TIntermSymbol(varyingReplaceVar); in ReplaceArrayOfMatrixVarying()
|
D | FindSymbolNode.cpp | 28 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 37 const TIntermSymbol *getNode() const { return mNodeFound; } in getNode() 41 TIntermSymbol *mNodeFound; 46 const TIntermSymbol *FindSymbolNode(TIntermNode *root, const ImmutableString &symbolName) in FindSymbolNode()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 239 TIntermSymbol *samplerVariable = variable->getAsSymbolNode(); in visitDeclaration() 296 sampler2DArrayDecl->appendDeclarator(new TIntermSymbol(sampler2DArrayVar)); in declareSampler2DArray() 417 TIntermSymbol *p = new TIntermSymbol(pVar); in declareCoordTranslationFunction() 418 TIntermSymbol *dPdx = new TIntermSymbol(dPdxVar); in declareCoordTranslationFunction() 419 TIntermSymbol *dPdy = new TIntermSymbol(dPdyVar); in declareCoordTranslationFunction() 420 TIntermSymbol *dUVdx = new TIntermSymbol(dUVdxVar); in declareCoordTranslationFunction() 421 TIntermSymbol *dUVdy = new TIntermSymbol(dUVdyVar); in declareCoordTranslationFunction() 438 TIntermSymbol *absX = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 439 TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 440 TIntermSymbol *absZ = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() [all …]
|
D | EmulateMultiDrawShaderBuiltins.cpp | 43 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 61 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 66 TIntermSymbol *baseVertexRef = new TIntermSymbol(BuiltInVariable::gl_BaseVertex()); in visitSymbol() 84 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 106 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 134 const TIntermSymbol *drawIDSymbol = new TIntermSymbol(drawID); in EmulateGLDrawID() 195 const TIntermSymbol *baseVertexSymbol = new TIntermSymbol(baseVertex); in EmulateGLBaseVertexBaseInstance() 230 const TIntermSymbol *baseInstanceSymbol = new TIntermSymbol(baseInstance); in EmulateGLBaseVertexBaseInstance()
|
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 49 glInstanceIDSymbolCastArguments.push_back(new TIntermSymbol(BuiltInVariable::gl_InstanceID())); in InitializeViewIDAndInstanceID() 65 new TIntermBinary(EOpAssign, new TIntermSymbol(instanceID), normalizedInstanceIDAsInt); in InitializeViewIDAndInstanceID() 74 new TIntermBinary(EOpAssign, new TIntermSymbol(viewID), normalizedViewID); in InitializeViewIDAndInstanceID() 87 viewIDSymbolCastArguments.push_back(new TIntermSymbol(viewID)); in SelectViewIndexInVertexShader() 92 TIntermSymbol *viewportIndexSymbol = new TIntermSymbol(BuiltInVariable::gl_ViewportIndex()); in SelectViewIndexInVertexShader() 100 TIntermSymbol *layerSymbol = new TIntermSymbol(BuiltInVariable::gl_LayerVS()); in SelectViewIndexInVertexShader() 104 EOpAdd, viewIDAsInt->deepCopy(), new TIntermSymbol(multiviewBaseViewLayerIndex)); in SelectViewIndexInVertexShader() 113 new TIntermBinary(EOpLessThan, new TIntermSymbol(multiviewBaseViewLayerIndex), in SelectViewIndexInVertexShader()
|
D | ConvertUnsupportedConstructorsToFunctionCalls.cpp | 19 void AppendMatrixElementArgument(TIntermSymbol *parameter, in AppendMatrixElementArgument() 37 TIntermSymbol *arg0 = new TIntermSymbol(var); in AppendScalarFromNonScalarArguments() 64 TIntermSymbol *v = new TIntermSymbol(var); in AppendVectorFromScalarArgument() 86 TIntermSymbol *parameter = new TIntermSymbol(p); in AppendValuesFromMultipleArguments() 126 TIntermSymbol *v = new TIntermSymbol(var); in AppendMatrixFromScalarArgument() 153 TIntermSymbol *v = new TIntermSymbol(var); in AppendMatrixFromMatrixArgument()
|
D | SeparateStructFromUniformDeclarations.cpp | 50 void visitSymbol(TIntermSymbol *symbol) override in visitSymbol() 74 TIntermSymbol *structDeclarator = new TIntermSymbol(structVariable); in doReplacement() 82 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement() 92 TIntermSymbol *newSymbol = new TIntermSymbol(newVar); in doReplacement()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | BuiltinsWorkaroundGLSL.cpp | 27 void visitSymbol(TIntermSymbol *node) override; 43 void TBuiltinsWorkaroundGLSL::visitSymbol(TIntermSymbol *node) in visitSymbol() 49 TIntermSymbol *instanceIndexRef = in visitSymbol() 50 new TIntermSymbol(BuiltInVariable::gl_InstanceIndex()); in visitSymbol() 54 TIntermSymbol *baseInstanceRef = in visitSymbol() 55 new TIntermSymbol(BuiltInVariable::angle_BaseInstance()); in visitSymbol() 68 TIntermSymbol *vertexIndexRef = new TIntermSymbol(BuiltInVariable::gl_VertexIndex()); in visitSymbol() 81 TIntermSymbol *variable = variableNode->getAsSymbolNode(); in visitDeclaration()
|
D | TranslatorVulkan.cpp | 102 void visitSymbol(TIntermSymbol *symbol) override in visitSymbol() 140 TIntermSymbol *symbol = sequence.front()->getAsSymbolNode(); in DeclareDefaultUniforms() 177 variableMap[variable] = new TIntermSymbol(replacementVariable); in DeclareDefaultUniforms() 199 TIntermSymbol *builtinRef = new TIntermSymbol(builtin); in RotateAndFlipBuiltinVariable() 212 TIntermSymbol *flippedBuiltinRef = new TIntermSymbol(replacementVar); in RotateAndFlipBuiltinVariable() 315 TIntermSymbol *varyingDeclarator = new TIntermSymbol(varyingVar); in AddANGLEPositionVaryingDeclaration() 342 TIntermSymbol *glPos = new TIntermSymbol(BuiltInVariable::gl_Position()); in AddBresenhamEmulationVS() 386 TIntermSymbol *varyingRef = new TIntermSymbol(anglePosition); in AddBresenhamEmulationVS() 427 TIntermSymbol *stridesSymbol = new TIntermSymbol(stridesVar); in AddXfbEmulationSupport() 431 TIntermSymbol *vertexIndex = new TIntermSymbol(BuiltInVariable::gl_VertexIndex()); in AddXfbEmulationSupport() [all …]
|
D | TranslatorMetal.cpp | 58 TIntermSymbol *positionRef = new TIntermSymbol(position); in AppendVertexShaderPositionYCorrectionToMain() 91 const TIntermSymbol *symbol = FindSymbolNode(root, var.name); in InitializeUnusedOutputs() 195 TIntermSymbol *positionRef = new TIntermSymbol(position); in transformDepthBeforeCorrection() 272 TIntermSymbol *coverageMaskEnabled = new TIntermSymbol(coverageMaskEnabledVar); in insertSampleMaskWritingLogic() 305 TIntermSymbol *positionRef = new TIntermSymbol(position); in insertRasterizerDiscardLogic() 324 TIntermSymbol *discardEnabled = new TIntermSymbol(discardEnabledVar); in insertRasterizerDiscardLogic()
|
D | ValidateClipCullDistance.cpp | 23 void error(const TIntermSymbol &symbol, const char *reason, TDiagnostics *diagnostics) in error() 44 const TIntermSymbol *mClipDistance; 45 const TIntermSymbol *mCullDistance; 67 const TIntermSymbol *symbol = sequence.front()->getAsSymbolNode(); in visitDeclaration() 95 TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); in visitBinary() 176 const TIntermSymbol *greaterSymbol = in validate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | ReplaceForShaderFramebufferFetch.cpp | 35 InputAttachmentReferenceTraverser(std::map<unsigned int, TIntermSymbol *> *declaredSymOut, in InputAttachmentReferenceTraverser() 57 std::map<unsigned int, TIntermSymbol *> *mDeclaredSym; 76 void visitSymbol(TIntermSymbol *node) override; 94 TIntermSymbol *symbol = sequence.front()->getAsSymbolNode(); in visitDeclaration() 131 TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); in visitBinary() 193 TIntermSymbol *symbol = nodeType->getAsSymbolNode(); in visitDeclaration() 212 void ReplaceVariableTraverser::visitSymbol(TIntermSymbol *node) in visitSymbol() 237 TBasicType GetBasicTypeForSubpassInput(const TIntermSymbol *originSymbol) in GetBasicTypeForSubpassInput() 263 const std::map<unsigned int, TIntermSymbol *> &declaredVarVec) in ReplaceSubpassInputUtils() 286 TIntermSymbol *dataLoadVarDeclarator = in declareVariablesForFetch() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | NameEmbeddedUniformStructsMetal.cpp | 24 std::unordered_map<int, TIntermSymbol *> replacements; 55 void visitSymbol(TIntermSymbol *decl) override in visitSymbol() 77 TIntermSymbol *structDeclarator = new TIntermSymbol(structVariable); in doReplacement() 85 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement() 94 TIntermSymbol *newSymbol = new TIntermSymbol(newVar); in doReplacement()
|
D | ReduceInterfaceBlocks.cpp | 40 if (TIntermSymbol *symbolNode = node.getAsSymbolNode()) 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() 90 PreResult visitSymbolPre(TIntermSymbol &symbolNode) override in visitSymbolPre() 97 return *new TIntermSymbol(it->second); in visitSymbolPre()
|
D | MapSymbols.cpp | 20 std::function<TIntermNode &(const TFunction *, TIntermSymbol &)> mMap; 24 std::function<TIntermNode &(const TFunction *, TIntermSymbol &)> map) in Rewriter() 28 PostResult visitSymbolPost(TIntermSymbol &symbolNode) override in visitSymbolPost() 38 std::function<TIntermNode &(const TFunction *, TIntermSymbol &)> map) in MapSymbols()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorVulkan.cpp | 67 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in visitDeclaration() 138 void visitSymbol(TIntermSymbol *symbol) override in visitSymbol() 198 TIntermSymbol *angleUniformsRef = new TIntermSymbol(driverUniforms); in CreateDriverUniformRef() 216 TIntermSymbol *builtinRef = new TIntermSymbol(builtin); in FlipBuiltinVariable() 228 TIntermSymbol *flippedBuiltinRef = new TIntermSymbol(replacementVar); in FlipBuiltinVariable() 288 TIntermSymbol *positionRef = new TIntermSymbol(position); in AppendVertexShaderDepthCorrectionToMain() 319 RunAtTheEndOfShader(root, new TIntermSymbol(xfbPlaceholder), symbolTable); in AppendVertexShaderTransformFeedbackOutputToMain() 430 TIntermSymbol *varyingDeclarator = new TIntermSymbol(varyingVar); in AddANGLEPositionVaryingDeclaration() 450 TIntermSymbol *varyingRef = new TIntermSymbol(anglePosition); in AddANGLEPositionVarying() 452 new TIntermBinary(EOpAssign, varyingRef, new TIntermSymbol(position)); in AddANGLEPositionVarying() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | QualificationOrderESSL31_test.cpp | 29 const TIntermSymbol *findSymbolInAST(const ImmutableString &symbolName) in findSymbolInAST() 51 const TIntermSymbol *node = findSymbolInAST(ImmutableString("something")); in TEST_F() 74 const TIntermSymbol *node = findSymbolInAST(ImmutableString("something")); in TEST_F() 99 const TIntermSymbol *node = findSymbolInAST(ImmutableString("something")); in TEST_F() 126 const TIntermSymbol *node = findSymbolInAST(ImmutableString("MyInterfaceName")); in TEST_F() 154 const TIntermSymbol *node = findSymbolInAST(ImmutableString("MyInterfaceName")); in TEST_F()
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | QualificationOrderESSL31_test.cpp | 28 const TIntermSymbol *findSymbolInAST(const ImmutableString &symbolName) in findSymbolInAST() 50 const TIntermSymbol *node = findSymbolInAST(ImmutableString("something")); in TEST_F() 73 const TIntermSymbol *node = findSymbolInAST(ImmutableString("something")); in TEST_F() 98 const TIntermSymbol *node = findSymbolInAST(ImmutableString("something")); in TEST_F() 125 const TIntermSymbol *node = findSymbolInAST(ImmutableString("MyInterfaceName")); in TEST_F() 153 const TIntermSymbol *node = findSymbolInAST(ImmutableString("MyInterfaceName")); in TEST_F()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | FindSymbolNode.cpp | 28 void visitSymbol(TIntermSymbol *node) in visitSymbol() 37 const TIntermSymbol *getNode() const { return mNodeFound; } in getNode() 41 TIntermSymbol *mNodeFound; 46 const TIntermSymbol *FindSymbolNode(TIntermNode *root, const ImmutableString &symbolName) in FindSymbolNode()
|
D | IntermNode_util.cpp | 163 TIntermSymbol *CreateTempSymbolNode(const TVariable *tempVariable) in CreateTempSymbolNode() 169 return new TIntermSymbol(tempVariable); in CreateTempSymbolNode() 183 TIntermSymbol *tempSymbol = CreateTempSymbolNode(tempVariable); in CreateTempInitDeclarationNode() 193 TIntermSymbol *tempSymbol = CreateTempSymbolNode(tempVariable); in CreateTempAssignmentNode() 243 TIntermSymbol *interfaceBlockDeclarator = new TIntermSymbol(interfaceBlockVar); in DeclareInterfaceBlock() 270 TIntermSymbol *ReferenceGlobalVariable(const ImmutableString &name, const TSymbolTable &symbolTable) in ReferenceGlobalVariable() 274 return new TIntermSymbol(var); in ReferenceGlobalVariable() 277 TIntermSymbol *ReferenceBuiltInVariable(const ImmutableString &name, in ReferenceBuiltInVariable() 284 return new TIntermSymbol(var); in ReferenceBuiltInVariable()
|