| 52 | } |
| 53 | |
| 54 | void Device::waitEventQuery(IEventQuery* _query) |
| 55 | { |
| 56 | EventQuery* query = checked_cast<EventQuery*>(_query); |
| 57 | |
| 58 | if (query->commandListID == 0) |
| 59 | return; |
| 60 | |
| 61 | auto& queue = *m_Queues[uint32_t(query->queue)]; |
| 62 | |
| 63 | bool success = queue.waitCommandList(query->commandListID, ~0ull); |
| 64 | assert(success); |
| 65 | (void)success; |
| 66 | } |
| 67 | |
| 68 | void Device::resetEventQuery(IEventQuery* _query) |
| 69 | { |
nothing calls this directly
no test coverage detected