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

Method WaitEvent2

tests/framework/binding.cpp:2222–2227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2220}
2221
2222void CommandBuffer::WaitEvent2(const Event& event, const VkMemoryBarrier2& memory_barrier) {
2223 VkDependencyInfo dep_info = vku::InitStructHelper();
2224 dep_info.memoryBarrierCount = 1;
2225 dep_info.pMemoryBarriers = &memory_barrier;
2226 vk::CmdWaitEvents2(handle(), 1, &event.handle(), &dep_info);
2227}
2228
2229void CommandBuffer::Copy(const Buffer& src, const Buffer& dst) {
2230 assert(src.CreateInfo().size == dst.CreateInfo().size);

Callers 2

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 2

CmdWaitEvents2Function · 0.85
handleMethod · 0.45

Tested by

no test coverage detected