Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-12-05 06:22:32 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-12-05 06:22:32 +0300
commita7712e8594337af4ed378894679cec592e348ba4 (patch)
treedb8354d2cff1c27b4f6108bea4a204a81bbfdd8f /source/blender/gpu/intern/gpu_extensions.c
parent4d4f0dbd8d7a8f04d116a38ecb6708a6beaa1702 (diff)
GPU: Improve detection of intels UHD graphics
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c4
1 files changed, 3 insertions, 1 deletions
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;
}
}