| 201 | |
| 202 | |
| 203 | const char* ShaderStageToString(ShaderType stage) |
| 204 | { |
| 205 | switch (stage) |
| 206 | { |
| 207 | case ShaderType::None: return "None"; |
| 208 | case ShaderType::Compute: return "Compute"; |
| 209 | case ShaderType::Vertex: return "Vertex"; |
| 210 | case ShaderType::Hull: return "Hull"; |
| 211 | case ShaderType::Domain: return "Domain"; |
| 212 | case ShaderType::Geometry: return "Geometry"; |
| 213 | case ShaderType::Pixel: return "Pixel"; |
| 214 | case ShaderType::Amplification: return "Amplification"; |
| 215 | case ShaderType::Mesh: return "Mesh"; |
| 216 | case ShaderType::AllGraphics: return "AllGraphics"; |
| 217 | case ShaderType::RayGeneration: return "RayGeneration"; |
| 218 | case ShaderType::AnyHit: return "AnyHit"; |
| 219 | case ShaderType::ClosestHit: return "ClosestHit"; |
| 220 | case ShaderType::Miss: return "Miss"; |
| 221 | case ShaderType::Intersection: return "Intersection"; |
| 222 | case ShaderType::Callable: return "Callable"; |
| 223 | case ShaderType::AllRayTracing: return "AllRayTracing"; |
| 224 | case ShaderType::All: return "All"; |
| 225 | default: return "<INVALID>"; |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | const char* ResourceTypeToString(ResourceType type) |
| 230 | { |
no outgoing calls
no test coverage detected