Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-06-28 16:51:09 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2020-07-13 18:13:17 +0300
commit592e306236defaf5f84bb6aa2638013e95b02fac (patch)
treefce258dacc6acfe7b126fdb0e6a3233da40cdbcc
parentd0c986b74843bce66d759e7eb0c2e2bd48f3f966 (diff)
Fix T74024 Faces missing, weird faces added
Workaround by adding a special case for that driver in gpu_extensions.c
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index c5c0de89768..19b4ea5bf4b 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -288,6 +288,13 @@ void gpu_extensions_init(void)
}
}
+ if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) &&
+ strstr(renderer, "AMD VERDE")) {
+ /* We have issues with this specific renderer. (see T74024) */
+ GG.unused_fb_slot_workaround = true;
+ 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")) {