[Bf-blender-cvs] [b7acb8690a4] master: Fix T72902: Whiskey Lake support

Jeroen Bakker noreply at git.blender.org
Mon Jan 6 13:01:14 CET 2020


Commit: b7acb8690a4d189868c6e0b57057b6fcd8a5a96d
Author: Jeroen Bakker
Date:   Mon Jan 6 12:57:14 2020 +0100
Branches: master
https://developer.blender.org/rBb7acb8690a4d189868c6e0b57057b6fcd8a5a96d

Fix T72902: Whiskey Lake support

Users reported that Whiskey lake has the same issue as other intel
platforms where an extra glFlush is needed. This change will
add Whiskey Lake to that exception.

Patch provided by Philip Luk

===================================================================

M	source/blender/gpu/intern/gpu_platform.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_platform.c b/source/blender/gpu/intern/gpu_platform.c
index 871052bb070..a758787466f 100644
--- a/source/blender/gpu/intern/gpu_platform.c
+++ b/source/blender/gpu/intern/gpu_platform.c
@@ -158,7 +158,8 @@ void gpu_platform_init(void)
 
     if (strstr(renderer, "UHD Graphics") ||
         /* Not UHD but affected by the same bugs. */
-        strstr(renderer, "HD Graphics 530") || strstr(renderer, "Kaby Lake GT2")) {
+        strstr(renderer, "HD Graphics 530") || strstr(renderer, "Kaby Lake GT2") ||
+        strstr(renderer, "Whiskey Lake")) {
       GPG.device |= GPU_DEVICE_INTEL_UHD;
     }
   }



More information about the Bf-blender-cvs mailing list