Home
last modified time | relevance | path

Searched refs:asSymbol (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DNameEmbeddedUniformStructsMetal.cpp85 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement() local
86 if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) in doReplacement()
92 TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, in doReplacement()
93 asSymbol->variable().symbolType()); in doReplacement()
95 replacements[asSymbol->uniqueId().get()] = newSymbol; in doReplacement()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DSeparateStructFromUniformDeclarations.cpp83 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement() local
84 ASSERT(asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty); in doReplacement()
91 TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, in doReplacement()
92 asSymbol->variable().symbolType()); in doReplacement()
98 mVariableMap[&asSymbol->variable()] = newSymbol; in doReplacement()
DMonomorphizeUnsupportedFunctionsInVulkanGLSL.cpp96 TIntermSymbol *asSymbol = node->getAsSymbolNode(); in GetBaseUniform() local
97 ASSERT(asSymbol); in GetBaseUniform()
99 return &asSymbol->variable(); in GetBaseUniform()
/external/angle/src/compiler/translator/
DValidateTypeSizeLimitations.cpp48 TIntermSymbol *asSymbol = variableNode->getAsSymbolNode(); in visitDeclaration() local
54 asSymbol = asBinary->getLeft()->getAsSymbolNode(); in visitDeclaration()
57 ASSERT(asSymbol); in visitDeclaration()
59 const TVariable &variable = asSymbol->variable(); in visitDeclaration()
66 const TType &variableType = asSymbol->getType(); in visitDeclaration()
83 error(asSymbol->getLine(), in visitDeclaration()
85 asSymbol->getName()); in visitDeclaration()
/external/angle/src/compiler/translator/tree_ops/
DRemoveInactiveInterfaceVariables.cpp82 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in visitDeclaration() local
83 if (!asSymbol) in visitDeclaration()
116 removeDeclaration = !IsVariableActive(mUniforms, asSymbol->getName()); in visitDeclaration()
120 removeDeclaration = !IsVariableActive(mAttributes, asSymbol->getName()); in visitDeclaration()
124 removeDeclaration = !IsVariableActive(mInputVaryings, asSymbol->getName()); in visitDeclaration()
128 removeDeclaration = !IsVariableActive(mOutputVariables, asSymbol->getName()); in visitDeclaration()
DRewriteStructSamplers.cpp380 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in visitDeclaration() local
381 ASSERT(asSymbol); in visitDeclaration()
382 const TVariable &variable = asSymbol->variable(); in visitDeclaration()
DRewriteCubeMapSamplersAs2DArray.cpp726 TIntermSymbol *asSymbol = samplerCubeExpression->getAsSymbolNode(); in getMappedSamplerExpression() local
733 asSymbol = asBinary->getLeft()->getAsSymbolNode(); in getMappedSamplerExpression()
737 ASSERT(asSymbol != nullptr); in getMappedSamplerExpression()
738 const TVariable *samplerCubeVar = &asSymbol->variable(); in getMappedSamplerExpression()
/external/angle/src/compiler/translator/tree_util/
DReplaceVariable.cpp77 TIntermSymbol *asSymbol = decl->getAsSymbolNode(); in visitDeclaration() local
83 asSymbol = asBinary->getLeft()->getAsSymbolNode(); in visitDeclaration()
86 ASSERT(asSymbol); in visitDeclaration()
87 const TVariable &variable = asSymbol->variable(); in visitDeclaration()
/external/turbine/java/com/google/turbine/processing/
DTurbineElements.java67 private static Symbol asSymbol(Element element) { in asSymbol() method in TurbineElements
157 Symbol sym = asSymbol(element); in getPackageOf()
170 ClassSymbol s = (ClassSymbol) asSymbol(type); in getAllMembers()
185 Symbol sym = asSymbol(el); in getAllMembers()
310 packageSymbol(asSymbol(overrider)), in overrides()
311 packageSymbol(asSymbol(overridden)), in overrides()