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

Function SourceString

SPIRV/doc.cpp:79–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77//
78
79const char* SourceString(int source)
80{
81 switch (source) {
82 case 0: return "Unknown";
83 case 1: return "ESSL";
84 case 2: return "GLSL";
85 case 3: return "OpenCL_C";
86 case 4: return "OpenCL_CPP";
87 case 5: return "HLSL";
88
89 default: return "Bad";
90 }
91}
92
93const char* ExecutionModelString(int model)
94{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected