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

Method waitEventQuery

src/vulkan/vulkan-queries.cpp:54–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

waitCommandListMethod · 0.80

Tested by

no test coverage detected