[Bf-blender-cvs] [a7712e85943] blender2.8: GPU: Improve detection of intels UHD graphics

Clément Foucault noreply at git.blender.org
Wed Dec 5 04:24:56 CET 2018


Commit: a7712e8594337af4ed378894679cec592e348ba4
Author: Clément Foucault
Date:   Wed Dec 5 04:22:32 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBa7712e8594337af4ed378894679cec592e348ba4

GPU: Improve detection of intels UHD graphics

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

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

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

diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 8d2fbb4fd73..29ca8017035 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -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;
 		}
 	}



More information about the Bf-blender-cvs mailing list