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

Function TestGetAllocatorInfo

src/Tests.cpp:3183–3192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3181}
3182
3183static void TestGetAllocatorInfo()
3184{
3185 wprintf(L"Test vmaGetAllocatorInfo\n");
3186
3187 VmaAllocatorInfo allocInfo = {};
3188 vmaGetAllocatorInfo(g_hAllocator, &allocInfo);
3189 TEST(allocInfo.instance == g_hVulkanInstance);
3190 TEST(allocInfo.physicalDevice == g_hPhysicalDevice);
3191 TEST(allocInfo.device == g_hDevice);
3192}
3193
3194static void TestBasics()
3195{

Callers 1

TestBasicsFunction · 0.85

Calls 2

vmaGetAllocatorInfoFunction · 0.85
TESTEnum · 0.85

Tested by

no test coverage detected