| 118 | #undef DM_VK_RESULT_TO_STR_CASE |
| 119 | |
| 120 | static const char* VkPhysicalDeviceTypeToStr(VkPhysicalDeviceType device_type) |
| 121 | { |
| 122 | switch (device_type) |
| 123 | { |
| 124 | case VK_PHYSICAL_DEVICE_TYPE_OTHER: return "other"; |
| 125 | case VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU: return "integrated_gpu"; |
| 126 | case VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU: return "discrete_gpu"; |
| 127 | case VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU: return "virtual_gpu"; |
| 128 | case VK_PHYSICAL_DEVICE_TYPE_CPU: return "cpu"; |
| 129 | default: return "unknown"; |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | static const char* VkVendorIdToStr(uint32_t vendor_id) |
| 134 | { |
no outgoing calls
no test coverage detected