diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-12-09 14:10:32 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-12-09 14:10:32 +0300 |
commit | 55d14210cccc7a3dae98787200a6dc3649462bba (patch) | |
tree | 3cdb883645daa6cff64df008800396dfe856d140 /source/blender/gpu/opengl/gl_backend.cc | |
parent | 3a23f18e02ebe09414a04c399a7294c8e719a72a (diff) |
Raised AMD CEDAR on Linux from unsupported to limited support
There is a workaround available by setting the environment variable `R600_DEBUG=nosb`.
Diffstat (limited to 'source/blender/gpu/opengl/gl_backend.cc')
-rw-r--r-- | source/blender/gpu/opengl/gl_backend.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_backend.cc b/source/blender/gpu/opengl/gl_backend.cc index 7e948149a7f..8f3d1ffabaa 100644 --- a/source/blender/gpu/opengl/gl_backend.cc +++ b/source/blender/gpu/opengl/gl_backend.cc @@ -152,8 +152,10 @@ void GLBackend::platform_init() } } if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_ANY)) { + /* Platform seems to work when SB backend is disabled. This can be done + * by adding the environment variable `R600_DEBUG=nosb`. */ if (strstr(renderer, "AMD CEDAR")) { - GPG.support_level = GPU_SUPPORT_LEVEL_UNSUPPORTED; + GPG.support_level = GPU_SUPPORT_LEVEL_LIMITED; } } } |