| 80 | } |
| 81 | |
| 82 | std::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 | |
| 92 | std::string format_device_support_string(VkFormatFeatureFlags format_features) { |
| 93 | if (format_features == 0) return std::string("does not support it"); |