MCPcopy Create free account
hub / github.com/csyonghe/Spire / ExecutionModelToString

Function ExecutionModelToString

Source/SpireCore/SpirVCodeGen.cpp:30–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 };
29
30 String ExecutionModelToString(ExecutionModel em)
31 {
32 switch (em)
33 {
34 case ExecutionModel::Invalid:
35 return "invalid";
36 case ExecutionModel::Vertex:
37 return "Vertex";
38 case ExecutionModel::TessellationControl:
39 return "TessellationContro";
40 case ExecutionModel::TessellationEvaluation:
41 return "TessellationEvaluation";
42 case ExecutionModel::Geometry:
43 return "Geometry";
44 case ExecutionModel::Fragment:
45 return "Fragment";
46 case ExecutionModel::GLCompute:
47 return "GLCompute";
48 case ExecutionModel::Kernel:
49 return "Kerne";
50 default:
51 throw NotImplementedException("unknown ExecutionMode");
52 }
53 }
54
55 enum class ExecutionMode
56 {

Callers 1

OpEntryPointMethod · 0.85

Calls 1

Tested by

no test coverage detected