| 91 | } |
| 92 | |
| 93 | const char* ExecutionModelString(int model) |
| 94 | { |
| 95 | switch (model) { |
| 96 | case 0: return "Vertex"; |
| 97 | case 1: return "TessellationControl"; |
| 98 | case 2: return "TessellationEvaluation"; |
| 99 | case 3: return "Geometry"; |
| 100 | case 4: return "Fragment"; |
| 101 | case 5: return "GLCompute"; |
| 102 | case 6: return "Kernel"; |
| 103 | case (int)ExecutionModel::TaskNV: return "TaskNV"; |
| 104 | case (int)ExecutionModel::MeshNV: return "MeshNV"; |
| 105 | case (int)ExecutionModel::TaskEXT: return "TaskEXT"; |
| 106 | case (int)ExecutionModel::MeshEXT: return "MeshEXT"; |
| 107 | |
| 108 | default: return "Bad"; |
| 109 | |
| 110 | case (int)ExecutionModel::RayGenerationKHR: return "RayGenerationKHR"; |
| 111 | case (int)ExecutionModel::IntersectionKHR: return "IntersectionKHR"; |
| 112 | case (int)ExecutionModel::AnyHitKHR: return "AnyHitKHR"; |
| 113 | case (int)ExecutionModel::ClosestHitKHR: return "ClosestHitKHR"; |
| 114 | case (int)ExecutionModel::MissKHR: return "MissKHR"; |
| 115 | case (int)ExecutionModel::CallableKHR: return "CallableKHR"; |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | const char* AddressingString(int addr) |
| 120 | { |
nothing calls this directly
no outgoing calls
no test coverage detected