MCPcopy Create free account
hub / github.com/defold/defold / VkVendorIdToStr

Function VkVendorIdToStr

engine/graphics/src/vulkan/graphics_vulkan.cpp:133–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 static const char* VkVendorIdToStr(uint32_t vendor_id)
134 {
135 switch (vendor_id)
136 {
137 case 0x1002: return "AMD";
138 case 0x1010: return "Imagination Technologies";
139 case 0x10DE: return "NVIDIA";
140 case 0x13B5: return "ARM";
141 case 0x5143: return "Qualcomm";
142 case 0x8086: return "Intel";
143 default: return "Unknown";
144 }
145 }
146
147 static void VulkanPrintDeviceInfo(HContext _context)
148 {

Callers 1

VulkanPrintDeviceInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected