[Bf-blender-cvs] [603d3c90a5c] blender-v3.2-release: GPU: Fix issue that negated HQ normals workaround.

Jeroen Bakker noreply at git.blender.org
Wed May 25 08:01:35 CEST 2022


Commit: 603d3c90a5cbbc8455019c02af275207af207fff
Author: Jeroen Bakker
Date:   Wed May 25 08:00:53 2022 +0200
Branches: blender-v3.2-release
https://developer.blender.org/rB603d3c90a5cbbc8455019c02af275207af207fff

GPU: Fix issue that negated HQ normals workaround.

Thanks Germano for pointing it out.

===================================================================

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 8e60533481f..f24dc86a0a7 100644
--- a/source/blender/gpu/opengl/gl_backend.cc
+++ b/source/blender/gpu/opengl/gl_backend.cc
@@ -298,7 +298,7 @@ static void detect_workarounds()
         "RX550/550", "(TM) 520", "(TM) 530", "(TM) 535", "R5", "R7", "R9"};
 
     if (match_renderer(renderer, matches)) {
-      GCaps.use_hq_normals_workaround = false;
+      GCaps.use_hq_normals_workaround = true;
     }
   }
   /* There is an issue with the #glBlitFramebuffer on MacOS with radeon pro graphics.



More information about the Bf-blender-cvs mailing list