MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Profiles / GetUUIDString

Function GetUUIDString

layer/profiles_util.cpp:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82std::string GetUUIDString(const uint8_t deviceUUID[VK_UUID_SIZE]) {
83 std::string result;
84
85 for (std::size_t i = 0, n = VK_UUID_SIZE; i < n; ++i) {
86 result += format("%02X", deviceUUID[i]);
87 }
88
89 return result;
90}
91
92std::string format_device_support_string(VkFormatFeatureFlags format_features) {
93 if (format_features == 0) return std::string("does not support it");

Callers

nothing calls this directly

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected