[Bf-blender-cvs] [3b7a520d886] blender-v2.93-release: Fixed issue in previous commit.

Jeroen Bakker noreply at git.blender.org
Wed Jun 30 09:30:19 CEST 2021


Commit: 3b7a520d8861a8769d29735f692f0bc87d95bc39
Author: Jeroen Bakker
Date:   Tue Jun 29 09:08:33 2021 +0200
Branches: blender-v2.93-release
https://developer.blender.org/rB3b7a520d8861a8769d29735f692f0bc87d95bc39

Fixed issue in previous commit.

During development a test was disabled. Enabling it again.

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

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 e1814ec239a..a1f2fced0f3 100644
--- a/source/blender/gpu/opengl/gl_backend.cc
+++ b/source/blender/gpu/opengl/gl_backend.cc
@@ -292,7 +292,7 @@ static void detect_workarounds()
    * `GL_INT_2_10_10_10_REV` data type correctly. This data type is used to pack normals and flags.
    * The work around uses `GPU_RGBA16I`.
    */
-  if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_ANY, GPU_DRIVER_ANY)) {
+  if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_ANY, GPU_DRIVER_OFFICIAL)) {
     const Vector<std::string> matches = {"RX 460",
                                          "RX 470",
                                          "RX 480",



More information about the Bf-blender-cvs mailing list