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

Method SetEvent2

tests/framework/binding.cpp:2215–2220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2213}
2214
2215void CommandBuffer::SetEvent2(const Event& event, const VkMemoryBarrier2& memory_barrier) {
2216 VkDependencyInfo dep_info = vku::InitStructHelper();
2217 dep_info.memoryBarrierCount = 1;
2218 dep_info.pMemoryBarriers = &memory_barrier;
2219 vk::CmdSetEvent2(handle(), event, &dep_info);
2220}
2221
2222void CommandBuffer::WaitEvent2(const Event& event, const VkMemoryBarrier2& memory_barrier) {
2223 VkDependencyInfo dep_info = vku::InitStructHelper();

Callers 2

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

CmdSetEvent2Function · 0.85

Tested by

no test coverage detected