diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-02 03:57:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-02 03:57:30 +0300 |
commit | 40d0374411e28f8d1409303743e71b8b6b8aab2c (patch) | |
tree | 19decde9ea31386e510196a89c91eb1bcd86967b /source/blender/gpu/GPU_extensions.h | |
parent | 8c620c8e2b3bf1f154f5d04e31e056bfc66d28df (diff) |
Fix T57455: Laggy, freezing UI with Linux and Intel UHD 620
Seems like a driver bug but doing glFlush() before these calls fixes it.
Diffstat (limited to 'source/blender/gpu/GPU_extensions.h')
-rw-r--r-- | source/blender/gpu/GPU_extensions.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_extensions.h b/source/blender/gpu/GPU_extensions.h index 07d8a5f8c8b..12a640747da 100644 --- a/source/blender/gpu/GPU_extensions.h +++ b/source/blender/gpu/GPU_extensions.h @@ -66,8 +66,9 @@ typedef enum GPUDeviceType { GPU_DEVICE_NVIDIA = (1 << 0), GPU_DEVICE_ATI = (1 << 1), GPU_DEVICE_INTEL = (1 << 2), - GPU_DEVICE_SOFTWARE = (1 << 3), - GPU_DEVICE_UNKNOWN = (1 << 4), + GPU_DEVICE_INTEL_UHD = (1 << 3), + GPU_DEVICE_SOFTWARE = (1 << 4), + GPU_DEVICE_UNKNOWN = (1 << 5), GPU_DEVICE_ANY = (0xff) } GPUDeviceType; |