Home
last modified time | relevance | path

Searched refs:currentFunction (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/compiler/translator/
DCompiler.cpp1681 int currentFunction = static_cast<int>(i); in checkCallDepth() local
1684 while (currentFunction != -1) in checkCallDepth()
1688 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth()
1691 for (const int &calleeIndex : mCallDag.getRecordFromIndex(currentFunction).callees) in checkCallDepth()
1700 currentFunction = nextFunction; in checkCallDepth()
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp44 Function::ID currentFunction; local
224 ASSERT(currentFunction != 0);
228 functions[currentFunction].blocks[currentBlock] = Block(blockStart, blockEnd);
458 …ASSERT_MSG(currentFunction == 0, "Functions %d and %d overlap", currentFunction.value(), functionI…
459 currentFunction = functionId;
472 ASSERT_MSG(function.entry != 0, "Function<%d> has no label", currentFunction.value());
477 currentFunction = 0;
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp247 spv::Function* currentFunction; member in __anonabbe36e80111::TGlslangToSpvTraverser
1533 shaderEntry(nullptr), currentFunction(nullptr), in TGlslangToSpvTraverser()
2994 currentFunction = shaderEntry; in visitAggregate()
3002 currentFunction->setDebugLineInfo(sourceFileId, loc.line, loc.column); in visitAggregate()
4413 if (builder.getTypeId(returnId) != currentFunction->getReturnType() || in visitBranch()
4414 … TranslatePrecisionDecoration(glslangReturnType) != currentFunction->getReturnPrecision()) { in visitBranch()
4416 spv::Id copyId = builder.createVariable(currentFunction->getReturnPrecision(), in visitBranch()
4417 spv::StorageClassFunction, currentFunction->getReturnType()); in visitBranch()
4420 returnId = builder.createLoad(copyId, currentFunction->getReturnPrecision()); in visitBranch()
5876 currentFunction = functionMap[node->getName().c_str()]; in handleFunctionEntry()
[all …]
/external/angle/third_party/glslang/src/SPIRV/
DGlslangToSpv.cpp247 spv::Function* currentFunction; member in __anon03c2831c0111::TGlslangToSpvTraverser
1570 shaderEntry(nullptr), currentFunction(nullptr), in TGlslangToSpvTraverser()
3043 currentFunction = shaderEntry; in visitAggregate()
3051 currentFunction->setDebugLineInfo(sourceFileId, loc.line, loc.column); in visitAggregate()
4730 if (builder.getTypeId(returnId) != currentFunction->getReturnType() || in visitBranch()
4731 … TranslatePrecisionDecoration(glslangReturnType) != currentFunction->getReturnPrecision()) { in visitBranch()
4733 spv::Id copyId = builder.createVariable(currentFunction->getReturnPrecision(), in visitBranch()
4734 spv::StorageClassFunction, currentFunction->getReturnType()); in visitBranch()
4737 returnId = builder.createLoad(copyId, currentFunction->getReturnPrecision()); in visitBranch()
6208 currentFunction = functionMap[node->getName().c_str()]; in handleFunctionEntry()
[all …]