[Bf-blender-cvs] [ee0c3081b08] master: Fixed issue in previous commit.

Jeroen Bakker noreply at git.blender.org
Tue Jun 29 09:09:30 CEST 2021


Commit: ee0c3081b08ab2c97dd86215cb9e444d16c2e19a
Author: Jeroen Bakker
Date:   Tue Jun 29 09:08:33 2021 +0200
Branches: master
https://developer.blender.org/rBee0c3081b08ab2c97dd86215cb9e444d16c2e19a

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 feda59b1639..1ae68d6813c 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()
    * `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