[Bf-blender-cvs] [ccf4103c1a5] soc-2021-uv-editor-improvements: Fix transparent faces on certain AMD cards
Gavin Li
noreply at git.blender.org
Mon Aug 9 03:24:40 CEST 2021
Commit: ccf4103c1a57b50d9e3d40bae7db2981ebce39f5
Author: Gavin Li
Date: Wed Aug 4 13:18:23 2021 +0200
Branches: soc-2021-uv-editor-improvements
https://developer.blender.org/rBccf4103c1a57b50d9e3d40bae7db2981ebce39f5
Fix transparent faces on certain AMD cards
This patch fixes an issue with missing faces when assigning a material slot other than the first to faces on AMD TAHITI cards. Refer to T78390 and T74024 for a description of this issue.
This patch also incorporates fix from T78390 for KAVERI.
{F9029258}
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D9305
===================================================================
M source/blender/gpu/opengl/gl_backend.cc
===================================================================
diff --git a/source/blender/gpu/opengl/gl_backend.cc b/source/blender/gpu/opengl/gl_backend.cc
index 42b85da1f93..772fc19d919 100644
--- a/source/blender/gpu/opengl/gl_backend.cc
+++ b/source/blender/gpu/opengl/gl_backend.cc
@@ -283,7 +283,8 @@ static void detect_workarounds()
}
/* We have issues with this specific renderer. (see T74024) */
if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) &&
- strstr(renderer, "AMD VERDE")) {
+ (strstr(renderer, "AMD VERDE") || strstr(renderer, "AMD KAVERI") ||
+ strstr(renderer, "AMD TAHITI"))) {
GLContext::unused_fb_slot_workaround = true;
GCaps.shader_image_load_store_support = false;
GCaps.broken_amd_driver = true;
More information about the Bf-blender-cvs
mailing list