Fix T77641 Sculpt mode performance regression in 2.83

This commit is contained in:
Clément Foucault 2020-07-01 02:10:10 +02:00 committed by Jeroen Bakker
parent 592e306236
commit 2087b87807
Notes: blender-bot 2023-02-14 08:29:54 +01:00
Referenced by issue #77641, sculpt mode performance regression in 2.83.
1 changed files with 6 additions and 0 deletions

View File

@ -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")) {