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

Function FunctionControlString

SPIRV/doc.cpp:793–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791const int FunctionControlCeiling = 4;
792
793const char* FunctionControlString(int cont)
794{
795 switch (cont) {
796 case 0: return "Inline";
797 case 1: return "DontInline";
798 case 2: return "Pure";
799 case 3: return "Const";
800
801 case FunctionControlCeiling:
802 default: return "Bad";
803 }
804}
805
806const char* MemorySemanticsString(int mem)
807{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected