| 21 | std::unordered_set<uint64_t> s_pipelines; |
| 22 | |
| 23 | inline auto to_string(shader_stage value) |
| 24 | { |
| 25 | switch (value) |
| 26 | { |
| 27 | case shader_stage::vertex: |
| 28 | return "vertex"; |
| 29 | case shader_stage::hull: |
| 30 | return "hull"; |
| 31 | case shader_stage::domain: |
| 32 | return "domain"; |
| 33 | case shader_stage::geometry: |
| 34 | return "geometry"; |
| 35 | case shader_stage::pixel: |
| 36 | return "pixel"; |
| 37 | case shader_stage::compute: |
| 38 | return "compute"; |
| 39 | case shader_stage::amplification: |
| 40 | return "amplification"; |
| 41 | case shader_stage::mesh: |
| 42 | return "mesh"; |
| 43 | case shader_stage::raygen: |
| 44 | return "raygen"; |
| 45 | case shader_stage::any_hit: |
| 46 | return "any_hit"; |
| 47 | case shader_stage::closest_hit: |
| 48 | return "closest_hit"; |
| 49 | case shader_stage::miss: |
| 50 | return "miss"; |
| 51 | case shader_stage::intersection: |
| 52 | return "intersection"; |
| 53 | case shader_stage::callable: |
| 54 | return "callable"; |
| 55 | case shader_stage::all: |
| 56 | return "all"; |
| 57 | case shader_stage::all_graphics: |
| 58 | return "all_graphics"; |
| 59 | case shader_stage::all_ray_tracing: |
| 60 | return "all_raytracing"; |
| 61 | default: |
| 62 | return "unknown"; |
| 63 | } |
| 64 | } |
| 65 | inline auto to_string(pipeline_stage value) |
| 66 | { |
| 67 | switch (value) |
no outgoing calls
no test coverage detected