MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / queue_bits_to_string

Function queue_bits_to_string

src/utils/impl_task_graph.hpp:80–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 inline auto queue_bits_to_string(u32 queue_bits) -> std::string
81 {
82 std::string ret = {};
83 u32 iter = queue_bits;
84 while(iter)
85 {
86 u32 queue_index = queue_bits_to_first_queue_index(iter);
87 iter &= ~(1u << queue_index);
88
89 Queue queue = queue_index_to_queue(queue_index);
90
91 ret += to_string(queue);
92 if (iter)
93 {
94 ret += ", ";
95 }
96 }
97 return ret;
98 }
99
100 struct ImplTask;
101

Callers

nothing calls this directly

Calls 3

queue_index_to_queueFunction · 0.85
to_stringFunction · 0.70

Tested by

no test coverage detected