/external/angle/src/compiler/translator/tree_util/ |
D | ReplaceClipCullDistanceVariable.cpp | 30 TIntermSymbol *left, 31 TIntermSymbol *right, 53 GLClipCullDistanceReferenceTraverser(const TIntermSymbol **redeclaredSymOut, in GLClipCullDistanceReferenceTraverser() 109 TIntermSymbol *clipCullDistance = left->getAsSymbolNode(); in visitBinary() 155 const TIntermSymbol **mRedeclaredSym; 173 const TIntermSymbol *exception) in ReplaceVariableExceptOneTraverser() 180 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 190 const TIntermSymbol *const mException; 195 TIntermSymbol *leftSymbol, in simpleAssignFunc() 196 TIntermSymbol *rightSymbol, in simpleAssignFunc() [all …]
|
D | RewriteSampleMaskVariable.cpp | 34 GLSampleMaskRelatedReferenceTraverser(const TIntermSymbol **redeclaredSymOut, in GLSampleMaskRelatedReferenceTraverser() 54 TIntermSymbol *symbol = variable->getAsSymbolNode(); in visitDeclaration() 72 TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); in visitBinary() 98 const TIntermSymbol **mRedeclaredSym; 109 const TIntermSymbol *redeclaredGLSampleMask = nullptr; in RewriteSampleMask() 142 TIntermSymbol *glSampleMaskSymbol = new TIntermSymbol(glSampleMaskVar); in RewriteSampleMask() 170 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() 113 TIntermSymbol *varyingReplaceDeclarator = new TIntermSymbol(varyingReplaceVar); in ReplaceArrayOfMatrixVarying() 120 TIntermSymbol *tempReplaceSymbol = new TIntermSymbol(tempReplaceVar); in ReplaceArrayOfMatrixVarying() 121 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()
|
D | IntermNode_util.cpp | 172 TIntermSymbol *CreateTempSymbolNode(const TVariable *tempVariable) in CreateTempSymbolNode() 178 return new TIntermSymbol(tempVariable); in CreateTempSymbolNode() 192 TIntermSymbol *tempSymbol = CreateTempSymbolNode(tempVariable); in CreateTempInitDeclarationNode() 202 TIntermSymbol *tempSymbol = CreateTempSymbolNode(tempVariable); in CreateTempAssignmentNode() 297 TIntermSymbol *interfaceBlockDeclarator = new TIntermSymbol(interfaceBlockVar); in DeclareInterfaceBlock() 324 TIntermSymbol *ReferenceGlobalVariable(const ImmutableString &name, const TSymbolTable &symbolTable) in ReferenceGlobalVariable() 328 return new TIntermSymbol(var); in ReferenceGlobalVariable() 331 TIntermSymbol *ReferenceBuiltInVariable(const ImmutableString &name, in ReferenceBuiltInVariable() 338 return new TIntermSymbol(var); in ReferenceBuiltInVariable()
|
D | ReplaceVariable.cpp | 30 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 50 void visitSymbol(TIntermSymbol *node) override in visitSymbol() 77 TIntermSymbol *asSymbol = decl->getAsSymbolNode(); in visitDeclaration() 94 (*mVariableMap)[&variable] = new TIntermSymbol(replacementVariable); in visitDeclaration() 112 ReplaceVariableTraverser traverser(toBeReplaced, new TIntermSymbol(replacement)); in ReplaceVariable()
|
/external/angle/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 | ScalarizeVecAndMatConstructorArgs.cpp | 29 TIntermBinary *ConstructVectorIndexBinaryNode(TIntermSymbol *symbolNode, int index) in ConstructVectorIndexBinaryNode() 34 TIntermBinary *ConstructMatrixIndexBinaryNode(TIntermSymbol *symbolNode, int colIndex, int rowIndex) in ConstructMatrixIndexBinaryNode() 146 TIntermSymbol *symbolNode = CreateTempSymbolNode(argVariable); in scalarizeArgs() 153 TIntermSymbol *symbolNode = CreateTempSymbolNode(argVariable); in scalarizeArgs() 168 TIntermSymbol *symbolNode = CreateTempSymbolNode(argVariable); in scalarizeArgs() 183 TIntermSymbol *symbolNode = CreateTempSymbolNode(argVariable); in scalarizeArgs()
|
/external/angle/src/compiler/translator/ |
D | BuiltinsWorkaroundGLSL.cpp | 28 void visitSymbol(TIntermSymbol *node) override; 44 void TBuiltinsWorkaroundGLSL::visitSymbol(TIntermSymbol *node) in visitSymbol() 50 TIntermSymbol *instanceIndexRef = in visitSymbol() 51 new TIntermSymbol(BuiltInVariable::gl_InstanceIndex()); in visitSymbol() 55 TIntermSymbol *baseInstanceRef = in visitSymbol() 56 new TIntermSymbol(BuiltInVariable::angle_BaseInstance()); in visitSymbol() 69 TIntermSymbol *vertexIndexRef = new TIntermSymbol(BuiltInVariable::gl_VertexIndex()); in visitSymbol() 82 TIntermSymbol *variable = variableNode->getAsSymbolNode(); in visitDeclaration()
|
D | TranslatorVulkan.cpp | 101 void visitSymbol(TIntermSymbol *symbol) override in visitSymbol() 139 TIntermSymbol *symbol = sequence.front()->getAsSymbolNode(); in DeclareDefaultUniforms() 178 variableMap[variable] = new TIntermSymbol(replacementVariable); in DeclareDefaultUniforms() 200 TIntermSymbol *builtinRef = new TIntermSymbol(builtin); in RotateAndFlipBuiltinVariable() 212 TIntermSymbol *flippedBuiltinRef = new TIntermSymbol(replacementVar); in RotateAndFlipBuiltinVariable() 285 TIntermSymbol *varyingDeclarator = new TIntermSymbol(varyingVar); in AddANGLEPositionVaryingDeclaration() 312 TIntermSymbol *glPos = new TIntermSymbol(BuiltInVariable::gl_Position()); in AddBresenhamEmulationVS() 354 TIntermSymbol *varyingRef = new TIntermSymbol(anglePosition); in AddBresenhamEmulationVS() 398 TIntermSymbol *stridesSymbol = new TIntermSymbol(stridesVar); in AddXfbEmulationSupport() 402 TIntermSymbol *vertexIndex = new TIntermSymbol(BuiltInVariable::gl_VertexIndex()); in AddXfbEmulationSupport() [all …]
|
D | TranslatorMetal.cpp | 63 TIntermSymbol *positionRef = new TIntermSymbol(position); in AppendVertexShaderPositionYCorrectionToMain() 96 const TIntermSymbol *symbol = FindSymbolNode(root, var.name); in InitializeUnusedOutputs() 259 TIntermSymbol *positionRef = new TIntermSymbol(position); in transformDepthBeforeCorrection() 334 TIntermSymbol *coverageMaskEnabled = new TIntermSymbol(coverageMaskEnabledVar); in insertSampleMaskWritingLogic() 367 TIntermSymbol *positionRef = new TIntermSymbol(position); in insertRasterizerDiscardLogic() 386 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()
|
D | TranslatorMetalDirect.cpp | 100 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in visitDeclaration() 173 void visitSymbol(TIntermSymbol *symbol) override in visitSymbol() 232 TIntermSymbol *glPos = new TIntermSymbol(BuiltInVariable::gl_Position()); in AppendPreRotation() 259 TIntermSymbol *builtinRef = new TIntermSymbol(builtin); in RotateAndFlipBuiltinVariable() 271 TIntermSymbol *flippedBuiltinRef = new TIntermSymbol(replacementVar); in RotateAndFlipBuiltinVariable() 368 const TIntermSymbol *glFragDepthExt = FindSymbolNode(&root, ImmutableString("gl_FragDepthEXT")); in AddFragDepthEXTDeclaration() 417 const TIntermSymbol *originalGLFragData = FindSymbolNode(&root, ImmutableString("gl_FragData")); in AddFragDataDeclaration() 430 TIntermTyped *glFragDataSlot = new TIntermSymbol(glFragDataSlots[i]); in AddFragDataDeclaration() 431 TIntermTyped *glFragDataGlobalSymbol = new TIntermSymbol(glFragDataGlobal); in AddFragDataDeclaration() 460 TIntermSymbol *positionRef = new TIntermSymbol(position); in AppendVertexShaderPositionYCorrectionToMain() [all …]
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | ReplaceForShaderFramebufferFetch.cpp | 50 InputAttachmentReferenceTraverser(std::map<unsigned int, TIntermSymbol *> *declaredSymOut, in InputAttachmentReferenceTraverser() 72 std::map<unsigned int, TIntermSymbol *> *mDeclaredSym; 91 void visitSymbol(TIntermSymbol *node) override; 114 TIntermSymbol *symbol = variable->getAsSymbolNode(); in visitDeclaration() 151 TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); in visitBinary() 213 TIntermSymbol *symbol = nodeType->getAsSymbolNode(); in visitDeclaration() 232 void ReplaceVariableTraverser::visitSymbol(TIntermSymbol *node) in visitSymbol() 301 TBasicType GetBasicTypeForSubpassInput(const TIntermSymbol *originSymbol) in GetBasicTypeForSubpassInput() 383 const std::map<unsigned int, TIntermSymbol *> &declaredVarVec) in ReplaceSubpassInputUtils() 407 TIntermSymbol *dataLoadVarDeclarator = in declareVariablesForFetch() [all …]
|
D | SeparateStructFromUniformDeclarations.cpp | 51 void visitSymbol(TIntermSymbol *symbol) override in visitSymbol() 75 TIntermSymbol *structDeclarator = new TIntermSymbol(structVariable); in doReplacement() 83 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement() 93 TIntermSymbol *newSymbol = new TIntermSymbol(newVar); in doReplacement()
|
/external/angle/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 | 39 if (TIntermSymbol *symbolNode = node.getAsSymbolNode()) in visitDeclarationPre() 60 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre() 61 new TIntermDeclaration{new TIntermSymbol(&instanceVar)}}; in visitDeclarationPre() 79 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre() 80 new TIntermDeclaration{new TIntermSymbol(&instanceVar)}}; in visitDeclarationPre() 89 PreResult visitSymbolPre(TIntermSymbol &symbolNode) override in visitSymbolPre() 96 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()
|
D | SeparateCompoundStructDeclarations.cpp | 24 std::unordered_map<int, TIntermSymbol *> replacementMap; 63 replacements.push_back(new TIntermSymbol(structVar)); in visitDeclaration() 65 TIntermSymbol *instanceSymbol = new TIntermSymbol(instanceVar); in visitDeclaration() 82 void visitSymbol(TIntermSymbol *decl) override in visitSymbol()
|
/external/angle/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()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | RewriteExpressionsWithShaderStorageBlock.cpp | 126 TIntermSymbol *insertInitStatementAndReturnTempSymbol(TIntermTyped *node, 137 TIntermSymbol * 193 TIntermSymbol *tempSymbol = in visitBinary() 293 TIntermSymbol *argumentCopy = in visitAggregate() 323 TIntermSymbol *tempSymbol = insertInitStatementAndReturnTempSymbol(node, &insertions); in visitAggregate() 366 TIntermSymbol *temp1 = in visitUnary() 369 TIntermSymbol *temp2 = insertInitStatementAndReturnTempSymbol(newUnary, &insertions); in visitUnary() 385 TIntermSymbol *temp = in visitUnary()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | ValidateLimitations.cpp | 21 bool IsLoopIndex(const TIntermSymbol* symbol, const TLoopStack& stack) { in IsLoopIndex() 29 void MarkLoopForUnroll(const TIntermSymbol* symbol, TLoopStack& stack) { in MarkLoopForUnroll() 57 virtual void visitSymbol(TIntermSymbol* symbol) { in visitSymbol() 84 virtual void visitSymbol(TIntermSymbol* symbol) { in visitSymbol() 193 bool ValidateLimitations::isLoopIndex(const TIntermSymbol* symbol) const in isLoopIndex() 258 TIntermSymbol* symbol = declInit->getLeft()->getAsSymbolNode(); in validateForLoopInit() 300 TIntermSymbol* symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond() 358 TIntermSymbol* symbol = nullptr; in validateForLoopExpr() 421 TIntermSymbol* symbol = params[i]->getAsSymbolNode(); in validateFunctionCall() 456 const TIntermSymbol* symbol = operand->getAsSymbolNode(); in validateOperation()
|