Fix T74024 Faces missing, weird faces added

Workaround by adding a special case for that driver in gpu_extensions.c
This commit is contained in:
Clément Foucault 2020-06-28 15:51:09 +02:00
parent 340130719f
commit 6d8b6aec18
Notes: blender-bot 2023-02-13 23:25:12 +01:00
Referenced by issue #78390, Assign Materials on Faces of an object
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
Referenced by issue #74024, Faces missing, weird faces added
1 changed files with 7 additions and 0 deletions

View File

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