MCPcopy Create free account
hub / github.com/Tencent/tgfx / getProcessorIndex

Method getProcessorIndex

src/gpu/ProgramInfo.cpp:96–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96int ProgramInfo::getProcessorIndex(const Processor* processor) const {
97 auto result = processorIndices.find(processor);
98 if (result == processorIndices.end()) {
99 return -1;
100 }
101 return result->second;
102}
103
104std::string ProgramInfo::getMangledSuffix(const Processor* processor) const {
105 auto processorIndex = getProcessorIndex(processor);

Callers 4

emitAndInstallGeoProcMethod · 0.80
internalEmitChildMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected