MCPcopy Create free account
hub / github.com/PancakeTAS/lsfg-vk / getDeviceUUID

Method getDeviceUUID

src/utils/utils.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57uint64_t Utils::getDeviceUUID(VkPhysicalDevice physicalDevice) {
58 VkPhysicalDeviceProperties properties{};
59 Layer::ovkGetPhysicalDeviceProperties(physicalDevice, &properties);
60
61 return static_cast<uint64_t>(properties.vendorID) << 32 | properties.deviceID;
62}
63
64uint32_t Utils::getMaxImageCount(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface) {
65 VkSurfaceCapabilitiesKHR capabilities{};

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected