diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-12-02 17:28:58 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-12-02 17:30:00 +0300 |
commit | 13c3ad7e766f8bc4eef432e2aa2e4d78d5f7eb83 (patch) | |
tree | a8e966278f0613bb7bd460d51adb5b477e9bf550 /source/blender/gpu/opengl | |
parent | f8d1378b8457faffbe85c773592a1337c8dcd6f2 (diff) |
GPU: Show Limited support message for polaris + 20.11.2 drivers.
See T82856 for details.
Diffstat (limited to 'source/blender/gpu/opengl')
-rw-r--r-- | source/blender/gpu/opengl/gl_backend.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_backend.cc b/source/blender/gpu/opengl/gl_backend.cc index 3d00630bf10..7e948149a7f 100644 --- a/source/blender/gpu/opengl/gl_backend.cc +++ b/source/blender/gpu/opengl/gl_backend.cc @@ -139,6 +139,18 @@ void GLBackend::platform_init() GPG.support_level = GPU_SUPPORT_LEVEL_UNSUPPORTED; } } + /* Driver 20.11.2 fixes a lot of issues for the Navi cards, but introduces new ones + * for Polaris based cards cards. The viewport has glitches but doesn't crash. + * See T82856 */ + if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) && + strstr(version, " 20.11.2 ")) { + if (strstr(renderer, "Radeon RX 460 ") || strstr(renderer, "Radeon RX 470 ") || + strstr(renderer, "Radeon RX 480 ") || strstr(renderer, "Radeon RX 490 ") || + strstr(renderer, "Radeon RX 560 ") || strstr(renderer, "Radeon RX 570 ") || + strstr(renderer, "Radeon RX 580 ") || strstr(renderer, "Radeon RX 590 ")) { + GPG.support_level = GPU_SUPPORT_LEVEL_LIMITED; + } + } if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_ANY)) { if (strstr(renderer, "AMD CEDAR")) { GPG.support_level = GPU_SUPPORT_LEVEL_UNSUPPORTED; |