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

Method Copy

tests/framework/binding.cpp:2229–2233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2227}
2228
2229void CommandBuffer::Copy(const Buffer& src, const Buffer& dst) {
2230 assert(src.CreateInfo().size == dst.CreateInfo().size);
2231 const VkBufferCopy region = {0, 0, src.CreateInfo().size};
2232 vk::CmdCopyBuffer(handle(), src, dst, 1, &region);
2233}
2234
2235void CommandBuffer::ExecuteCommands(const CommandBuffer& secondary) { vk::CmdExecuteCommands(handle(), 1, &secondary.handle()); }
2236

Callers 8

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 2

CmdCopyBufferFunction · 0.85
CreateInfoMethod · 0.60

Tested by

no test coverage detected