summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-07-31 16:04:53 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-07-31 16:43:54 +0200
commit1bf402c061d24c9b4e1f7769aee60b84098a3779 (patch)
tree58850d2e24cfd597cf257902bd62718bf4ba8b46
parent20d46c5b9ede7bfb9001d341ac20d8a30f49cba5 (diff)
Use title case instead of uppercase for Vulkan Intel GPU detection
This matches how the vendor name is displayed in most places. The Apple GPU vendor was also added for the M1.
-rw-r--r--drivers/vulkan/vulkan_context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vulkan/vulkan_context.cpp b/drivers/vulkan/vulkan_context.cpp
index d35c519320..2620ffbcf1 100644
--- a/drivers/vulkan/vulkan_context.cpp
+++ b/drivers/vulkan/vulkan_context.cpp
@@ -737,10 +737,11 @@ Error VulkanContext::_create_physical_device() {
} vendor_names[] = {
{ 0x1002, "AMD" },
{ 0x1010, "ImgTec" },
+ { 0x106B, "Apple" },
{ 0x10DE, "NVIDIA" },
{ 0x13B5, "ARM" },
{ 0x5143, "Qualcomm" },
- { 0x8086, "INTEL" },
+ { 0x8086, "Intel" },
{ 0, nullptr },
};
device_name = gpu_props.deviceName;