MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / WaitKHR

Method WaitKHR

tests/framework/binding.cpp:998–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

996}
997
998VkResult Semaphore::WaitKHR(uint64_t value, uint64_t timeout) {
999 VkSemaphoreWaitInfoKHR wait_info = vku::InitStructHelper();
1000 wait_info.semaphoreCount = 1;
1001 wait_info.pSemaphores = &handle();
1002 wait_info.pValues = &value;
1003 VkResult result = vk::WaitSemaphoresKHR(device(), &wait_info, timeout);
1004 return result;
1005}
1006
1007VkResult Semaphore::Signal(uint64_t value) {
1008 VkSemaphoreSignalInfo signal_info = vku::InitStructHelper();

Callers 3

TEST_FFunction · 0.80
ThreadFuncMethod · 0.80
RunMethod · 0.80

Calls 1

WaitSemaphoresKHRFunction · 0.85

Tested by

no test coverage detected