MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / HeapFlagsToStr

Function HeapFlagsToStr

src/VulkanSample.cpp:1609–1617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1607}
1608
1609static std::wstring HeapFlagsToStr(VkMemoryHeapFlags flags)
1610{
1611 std::wstring result;
1612 if(flags & VK_MEMORY_HEAP_DEVICE_LOCAL_BIT)
1613 AddFlagToStr(result, L"DEVICE_LOCAL");
1614 if(flags & VK_MEMORY_HEAP_MULTI_INSTANCE_BIT)
1615 AddFlagToStr(result, L"MULTI_INSTANCE");
1616 return result;
1617}
1618
1619static std::wstring PropertyFlagsToStr(VkMemoryPropertyFlags flags)
1620{

Callers 1

PrintMemoryTypesFunction · 0.85

Calls 1

AddFlagToStrFunction · 0.85

Tested by

no test coverage detected