diff options
Diffstat (limited to 'www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp')
-rw-r--r-- | www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp b/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp index 9445ea98988a..1ab26752d412 100644 --- a/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp +++ b/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp @@ -1,6 +1,6 @@ ---- third_party/angle/src/gpu_info_util/SystemInfo_linux.cpp.orig 2021-04-14 18:42:58 UTC +--- third_party/angle/src/gpu_info_util/SystemInfo_linux.cpp.orig 2021-07-19 18:47:19 UTC +++ third_party/angle/src/gpu_info_util/SystemInfo_linux.cpp -@@ -71,10 +71,18 @@ bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo +@@ -71,6 +71,15 @@ bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo bool GetSystemInfo(SystemInfo *info) { @@ -8,12 +8,17 @@ + if (!CollectMesaCardInfo(&(info->gpus))) + { + if (!GetPCIDevicesFreeBSD(&(info->gpus))) -+ return false; ++ { ++ return GetSystemInfoVulkan(info); ++ } + } +#else if (!GetPCIDevicesWithLibPCI(&(info->gpus))) { + #if defined(ANGLE_HAS_VULKAN_SYSTEM_INFO) +@@ -80,6 +89,7 @@ bool GetSystemInfo(SystemInfo *info) return false; + #endif // defined(ANGLE_HAS_VULKAN_SYSTEM_INFO) } +#endif |