MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / interfaceName

Function interfaceName

gtests/GlslMapIO.FromFile.cpp:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56template<class T>
57std::string interfaceName(T symbol) {
58 return symbol.getType()->getBasicType() == glslang::EbtBlock ? std::string(symbol.getType()->getTypeName().c_str()) : symbol.name;
59}
60
61bool verifyIOMapping(std::string& linkingError, glslang::TProgram& program) {
62 bool success = true;

Callers 1

verifyIOMappingFunction · 0.70

Calls 3

getTypeMethod · 0.80
c_strMethod · 0.80
getBasicTypeMethod · 0.45

Tested by

no test coverage detected