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

Method Map

tests/framework/binding.cpp:884–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882}
883
884const void* DeviceMemory::Map(VkFlags flags) const {
885 void* data;
886 VkResult result = vk::MapMemory(device(), handle(), 0, VK_WHOLE_SIZE, flags, &data);
887 EXPECT_EQ(VK_SUCCESS, result);
888 if (result != VK_SUCCESS) data = NULL;
889 return data;
890}
891
892void* DeviceMemory::Map(VkFlags flags) {
893 void* data;

Calls 1

MapMemoryFunction · 0.85

Tested by

no test coverage detected