GPU: Improve detection of intels UHD graphics
authorClément Foucault <foucault.clem@gmail.com>
Wed, 5 Dec 2018 03:22:32 +0000 (04:22 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 5 Dec 2018 03:22:32 +0000 (04:22 +0100)
source/blender/gpu/intern/gpu_extensions.c

index 8d2fbb4fd73a442c878005e26383290ed0592cc9..29ca8017035a5f0be9c2cf7f1d3bfbf7b917e028 100644 (file)
@@ -299,7 +299,9 @@ void gpu_extensions_init(void)
                GG.device = GPU_DEVICE_INTEL;
                GG.driver = GPU_DRIVER_OFFICIAL;
 
-               if (strstr(renderer, "UHD Graphics")) {
+               if (strstr(renderer, "UHD Graphics") ||
+                   strstr(renderer, "Kaby Lake GT2"))
+               {
                        GG.device |= GPU_DEVICE_INTEL_UHD;
                }
        }