MCPcopy Create free account
hub / github.com/NVIDIA-RTX/NVRHI / ShaderStageToString

Function ShaderStageToString

src/common/utils.cpp:203–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 2

validateShaderTypeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected