[Bf-blender-cvs] [aeb47920447] master: Fix T77641 Sculpt mode performance regression in 2.83
Clément Foucault
noreply at git.blender.org
Wed Jul 1 02:12:03 CEST 2020
Commit: aeb47920447da116b776f08379d5029c052fbc9c
Author: Clément Foucault
Date: Wed Jul 1 02:10:10 2020 +0200
Branches: master
https://developer.blender.org/rBaeb47920447da116b776f08379d5029c052fbc9c
Fix T77641 Sculpt mode performance regression in 2.83
===================================================================
M source/blender/gpu/intern/gpu_extensions.c
===================================================================
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")) {
More information about the Bf-blender-cvs
mailing list