diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-01-06 14:57:14 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-01-06 14:57:14 +0300 |
commit | b7acb8690a4d189868c6e0b57057b6fcd8a5a96d (patch) | |
tree | de70e03e5c4b161c9c2d09a81380d1d4e728fa83 /source/blender/gpu | |
parent | 7f3e121926fdd985d37ce8371647d79e09e37917 (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.c | 3 |
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; } } |