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

Function LoopControlString

SPIRV/doc.cpp:773–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771const int LoopControlCeiling = (int)LoopControlShift::PartialCount + 1;
772
773const char* LoopControlString(int cont)
774{
775 switch (cont) {
776 case (int)LoopControlShift::Unroll: return "Unroll";
777 case (int)LoopControlShift::DontUnroll: return "DontUnroll";
778 case (int)LoopControlShift::DependencyInfinite: return "DependencyInfinite";
779 case (int)LoopControlShift::DependencyLength: return "DependencyLength";
780 case (int)LoopControlShift::MinIterations: return "MinIterations";
781 case (int)LoopControlShift::MaxIterations: return "MaxIterations";
782 case (int)LoopControlShift::IterationMultiple: return "IterationMultiple";
783 case (int)LoopControlShift::PeelCount: return "PeelCount";
784 case (int)LoopControlShift::PartialCount: return "PartialCount";
785
786 case LoopControlCeiling:
787 default: return "Bad";
788 }
789}
790
791const int FunctionControlCeiling = 4;
792

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected