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:
authorJeroen Bakker <jeroen@blender.org>2020-01-06 14:57:14 +0300
committerJeroen Bakker <jeroen@blender.org>2020-01-06 14:57:14 +0300
commitb7acb8690a4d189868c6e0b57057b6fcd8a5a96d (patch)
treede70e03e5c4b161c9c2d09a81380d1d4e728fa83 /source/blender/gpu
parent7f3e121926fdd985d37ce8371647d79e09e37917 (diff)
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
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_platform.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}