diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-01 03:10:10 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-01 03:11:58 +0300 |
commit | aeb47920447da116b776f08379d5029c052fbc9c (patch) | |
tree | 9ce7f8cb15efb9395b418dff0f06896cb2b3fb7c /source/blender/gpu/intern | |
parent | a3e6b7c2ce06b937c0444d8761f8351c9f9e2f59 (diff) |
Fix T77641 Sculpt mode performance regression in 2.83
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 310bc911250..fbeb2edc266 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -295,6 +295,12 @@ void gpu_extensions_init(void) GG.broken_amd_driver = true; } + if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) && + strstr(version, "Mesa 19.3.4")) { + /* Fix slowdown on this particular driver. (see T77641) */ + GG.broken_amd_driver = true; + } + if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_MAC, GPU_DRIVER_OFFICIAL)) { if (strstr(renderer, "AMD Radeon Pro") || strstr(renderer, "AMD Radeon R9") || strstr(renderer, "AMD Radeon RX")) { |